Re: [Freevo-users] stationlist.xml
Hii have tried to put the file stationlist.xml read only but it comes equally rewritten. I have tried to put the directory /root/.tvtime read only and freevo crash. :( I am deprived of hope... Thank you very much. 2007/7/17, Elizabeth Dodd [EMAIL PROTECTED]: On Tuesday 17 July 2007 18:24, F V wrote: Hi. I never managed to resolved this issue. I use tvtime as tv plugin; I use PAL and I'm living in italy. Normally my stationlist.xml use the Custom band, defined with mhz like 663.50mhz; this file contains two frequencies, one for tvtime stand alone and one for tvtime freevo when launched from freevo. the problem is that freevo sometimes overwrites that file specifing band=us-cable for every channels and then nothing works; I've ever to change the file with a backup copy. there is any solution? thanks yes a hack, I made the directory with the stationlist.xml read only -- A programmer is a person who passes as an exacting expert on the basis of being able to turn out, after innumerable punching, an infinite series of incomprehensible answers calculated with micrometric precisions from vague assumptions based on debatable figures taken from inconclusive documents and carried out on instruments of problematical accuracy by persons of dubious reliability and questionable mentality for the avowed purpose of annoying and confounding a hopelessly defenseless department that was unfortunate enough to ask for the information in the first place. -- IEEE Grid newsmagazine - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users -- Francesco Visani Registered Linux User #398980 Non permettere che controllino il tuo pc http://www.no1984.org/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] stationlist.xml
On Wednesday 18 July 2007 19:10, F V wrote: Hii have tried to put the file stationlist.xml read only but it comes equally rewritten. I have tried to put the directory /root/.tvtime read only and freevo crash. :( I am deprived of hope... Thank you very much. among other hacks we tried was a cron job to keep rewriting the 'good' backup over the 'bad' file -- Given enough time and money, eventually Microsoft will re-invent UNIX. -- From a Slashdot.org post - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] stationlist.xml
Thank you for your helpbut i can't donwload the attachment: tvtime.py Can you send it to me by mail ? Can i use it instead of my tvtime.py ? How ? thanks 2007/7/17, John Molohan [EMAIL PROTECTED]: Elizabeth Dodd wrote: On Tuesday 17 July 2007 18:24, F V wrote: Hi. I never managed to resolved this issue. I use tvtime as tv plugin; I use PAL and I'm living in italy. Normally my stationlist.xml use the Custom band, defined with mhz like 663.50mhz; this file contains two frequencies, one for tvtime stand alone and one for tvtime freevo when launched from freevo. the problem is that freevo sometimes overwrites that file specifing band=us-cable for every channels and then nothing works; I've ever to change the file with a backup copy. there is any solution? thanks yes a hack, I made the directory with the stationlist.xml read only The post '(old) tvtime hack attached' might help? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users -- Francesco Visani Registered Linux User #398980 Non permettere che controllino il tuo pc http://www.no1984.org/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] stationlist.xml
F V wrote: Thank you for your helpbut i can't donwload the attachment: tvtime.py Can you send it to me by mail ? Can i use it instead of my tvtime.py ? How ? thanks snip Hi, I've attached it again to this email. You might be able to just replace your tvtime.py but as I mentioned my version is quite old, from freevo-1.5.1 maybe so depending on what version you are running there could be issues. Back up your tvtime.py and try out this one. To use it I guess you'll have to at least change the line 'if config.CHANLIST ==ireland:' That will have to match whatever you have in your /etc/freevo/freevo.conf file from what I remember. John # -*- coding: iso-8859-1 -*- # --- # tvtime.py - implementation of a TV function using tvtime # --- # $Id: tvtime.py,v 1.38 2004/07/10 12:33:42 dischi Exp $ # # Notes: # Todo: # # --- # $Log: tvtime.py,v $ # Revision 1.38 2004/07/10 12:33:42 dischi # header cleanup # # Revision 1.37 2004/07/08 12:44:40 rshortt # Add directfb as a display option. # # Revision 1.36 2004/06/06 17:15:10 mikeruelle # removed some old bad code. mplayer debug has been superceded by childapp debug. # the kill method is just plain bad. # # Revision 1.35 2004/05/29 23:01:03 mikeruelle # make better use of freevo channels. getting better video group support slowly # # --- # Freevo - A Home Theater PC framework # Copyright (C) 2002 Krister Lagerstrom, et al. # Please see the file freevo/Docs/CREDITS for a complete list of authors. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MER- # CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # --- */ # Configuration file. Determines where to look for AVI/MP3 files, etc import config import time, os import string import threading import signal import cgi import re import popen2 from xml.dom.ext.reader import Sax2 from xml.dom.ext import PrettyPrint from cStringIO import StringIO import util# Various utilities import osd import rc # The RemoteControl class. import childapp # Handle child applications import tv.epg_xmltv as epg # The Electronic Program Guide import event as em from tv.channels import FreevoChannels import plugin # Set to 1 for debug output DEBUG = config.DEBUG # Create the OSD object osd = osd.get_singleton() class PluginInterface(plugin.Plugin): Plugin to watch tv with tvtime. def __init__(self): plugin.Plugin.__init__(self) # get config locations and mod times so we can check if we need # to regen xml config files (because they changed) self.mylocalconf = self.findLocalConf() self.myfconfig = os.environ['FREEVO_CONFIG'] self.tvtimecache = os.path.join(config.FREEVO_CACHEDIR, 'tvtimecache') self.mylocalconf_t = os.path.getmtime(self.mylocalconf) self.myfconfig_t = os.path.getmtime(self.myfconfig) self.xmltv_supported = self.isXmltvSupported() #check/create the stationlist.xml and tvtime.xml self.createTVTimeConfig() # create the tvtime object and register it plugin.register(TVTime(), plugin.TV) def isXmltvSupported(self): helpcmd = '%s --help' % config.TVTIME_CMD has_xmltv=False child = popen2.Popen3( helpcmd, 1, 100) data = child.childerr.readline() # Just need the first line if data: data = re.search( ^(tvtime: )?Running tvtime (?Pmajor\d+).(?Pminor\d+).(?Pversion\d+)., data ) if data: _debug_(major is: %s % data.group( major )) _debug_(minor is: %s % data.group( minor )) _debug_(version is: %s % data.group( version )) major = int(data.group( major )) minor = int(data.group( minor )) ver = int(data.group( version )) if major 0: has_xmltv=True elif major == 0 and minor == 9 and ver = 10: has_xmltv=True child.wait() return has_xmltv def findLocalConf(self): cfgfilepath = [ '.',
Re: [Freevo-users] stationlist.xml
On Tuesday 17 July 2007 18:24, F V wrote: Hi. I never managed to resolved this issue. I use tvtime as tv plugin; I use PAL and I'm living in italy. Normally my stationlist.xml use the Custom band, defined with mhz like 663.50mhz; this file contains two frequencies, one for tvtime stand alone and one for tvtime freevo when launched from freevo. the problem is that freevo sometimes overwrites that file specifing band=us-cable for every channels and then nothing works; I've ever to change the file with a backup copy. there is any solution? thanks yes a hack, I made the directory with the stationlist.xml read only -- A programmer is a person who passes as an exacting expert on the basis of being able to turn out, after innumerable punching, an infinite series of incomprehensible answers calculated with micrometric precisions from vague assumptions based on debatable figures taken from inconclusive documents and carried out on instruments of problematical accuracy by persons of dubious reliability and questionable mentality for the avowed purpose of annoying and confounding a hopelessly defenseless department that was unfortunate enough to ask for the information in the first place. -- IEEE Grid newsmagazine - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] stationlist.xml
Elizabeth Dodd wrote: On Tuesday 17 July 2007 18:24, F V wrote: Hi. I never managed to resolved this issue. I use tvtime as tv plugin; I use PAL and I'm living in italy. Normally my stationlist.xml use the Custom band, defined with mhz like 663.50mhz; this file contains two frequencies, one for tvtime stand alone and one for tvtime freevo when launched from freevo. the problem is that freevo sometimes overwrites that file specifing band=us-cable for every channels and then nothing works; I've ever to change the file with a backup copy. there is any solution? thanks yes a hack, I made the directory with the stationlist.xml read only The post '(old) tvtime hack attached' might help? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] stationlist.xml
On Tuesday 18 July 2006 09:22, [EMAIL PROTECTED] wrote: There is an unanswered post from january Hi. I never managed to resolved this issue. I use tvtime as tv plugin; I use PAL and I'm living in italy. Normally my stationlist.xml use the Custom band, defined with mhz like 663.50mhz; this file contains two frequencies, one for tvtime stand alone and one for tvtime freevo when launched from freevo. the problem is that freevo sometimes overwrites that file specifing band=us-cable for every channels and then nothing works; I've ever to change the file with a backup copy. there is any solution? thanks I've got the same problem. My immediate solution was to make the file read only but this wasn't 100% effective, as a persistent piece of code will delete and rewrite the file, which is then read-write again, and freevo gives me 'no signal' again when I want to watch tv; so now I've made /home/tv/.tvtime directory read only. I found in the changelog Release 1.4.0-rc2 (2003-11-02): --- * Added a playlist plugin * TvTime plugin redo: use new childthread writes tvtime.xml to keep in sync with freevo channels writes stationlist.xml to keep in sync with freevo channels merges stationlist.xml and tvtime.xml if they exist already set tvtime xml parameters if you have 0.9.10 or newer added support for custom tuned channels using FREQUENCY_TABLE but I don't know what this was intended to fix it certainly breaks my tv tuning which uses custom frequency table in tvtime; setting it to USCable, and removing the frequencies set, putting in channel numbers. my tvtime.xml doesn't contain these numbers, nor US-Cable so I don't know from where these numbers come Coming back to this, this worked for 'machine A' but this hack does not work for 'machine B' ostensibly running the same freevo version, but a gentoo ebuild rather than debian. Can anyone point me to somewhere I can remove this functionality? I don't want my tvtime/stationlist.xml overwritten because it sets the stations to 0,1,2,3 instead of 9,11, 28,31 and this simply results in no signal. And even setting the owner of the ./tvtime directory to root and removing write access won't stop the writing of a new stationlist.xml file. Liz -- There is not a man in the country that can't make a living for himself and family. But he can't make a living for them *and* his government, too, the way his government is living. What the government has got to do is live as cheap as the people. -- The Best of Will Rogers - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users