[Freevo-users] Remote control
Hi- Does anyone have recommendations for pre-built IR receivers to use with Freevo? I'm looking for something that would be compatible with existing universal remotes (i.e. a generic IR receiver, not one paired with its own remote). Thanks, --Quentin - 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] Problem with cdrom/dvd
> Hi there, > > The last freevo 1.x from svn is spiting this on log after inserting a dvd: > > Exception in thread Thread-2: > Traceback (most recent call last): > File "threading.py", line 442, in __bootstrap > self.run() > File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", > line 738, in run > self.check_all() > File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", > line 697, in check_all > self.identify(media) > File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", > line 476, in identify > if media.id in video.fxd_database['id']: > KeyError: 'id' > > After inserting the DVD does not appear in menu anymore. The DVD is a > DVD-r with movies in AVI, one per folder, and with fxd files. What does mminfo /dvd/dvd (the path to the dvd drive) say? The id is a rather important key field in the fxd file. Duncan - 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
[Freevo-users] Problem with cdrom/dvd
Hi there, The last freevo 1.x from svn is spiting this on log after inserting a dvd: Exception in thread Thread-2: Traceback (most recent call last): File "threading.py", line 442, in __bootstrap self.run() File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", line 738, in run self.check_all() File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", line 697, in check_all self.identify(media) File "/usr/lib/python2.4/site-packages/freevo/plugins/rom_drives.py", line 476, in identify if media.id in video.fxd_database['id']: KeyError: 'id' After inserting the DVD does not appear in menu anymore. The DVD is a DVD-r with movies in AVI, one per folder, and with fxd files. -- Christian Lyra PoP-PR/RNP - 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] TV Guide Error in 1.7.0 on Debian Etch
FYI - the 1.6.3 freevo package that is on geole.info is different than the old one and also doesn't install properly. I had to grab a copy of freevo and freevo-media from another box to make them all work properly. If needed I can post them up on my webserver, however I'm not sure how to setup a debian repository. Regards, Michael On 5/8/07, Duncan Webb <[EMAIL PROTECTED]> wrote: > Duncan, I would be happy to file a bug report, but I didn't think this > was affecting anyone else. Where do I file bug reports? I can confirm that it is a bug, as I quite often record consecutive programs but don't watch them, and just notice that the second one hasn't been recorded. Here: http://sourceforge.net/tracker/?func=add&group_id=46652&atid=446895 Duncan > On 5/7/07, Duncan Webb <[EMAIL PROTECTED]> wrote: >> Josh Vickery wrote: >> > Well, I think my problems go deeper than the TV guide display. Last >> > night I found out that my Freevo install will not record two >> > consecutive shows. From /tmp/freevo/recordserver-1000.log: >> >> It looks as if the record server is not recording two consecutive shows, >> which is odd, as it was working. I will look into the problem, in the >> meantime will you raise a bug report. >> >> > 2007/05/06 22:36 EDT [HTTPChannel,4,127.0.0.1] prog=Sun 2007-05-06 >> > 22:30->23:00 (22:30) I35781.labs.zap2it.com Joanne Weir's Cooking >> > Class >> > 2007/05/06 22:36 EDT [HTTPChannel,4,127.0.0.1] channel: C90.4 >> > 2007/05/06 22:36 EDT [*RecordServer*] received event RECORD_START >> > 2007/05/06 22:36 EDT [*RecordServer*] popen /usr/bin/mplayer >> > -dumpstream -dumpfile >> > /home/vickeryj/tv/05-06_22_30_Joanne_Weir_s_Cooking_Class_-_Tuscan.ts >> > "dvb://C90.4" >> > 2007/05/06 22:36 EDT [HTTPChannel,6,127.0.0.1] config.LOCALE=latin-1 >> > 2007/05/06 22:36 EDT [HTTPChannel,6,127.0.0.1] prog=Sun 2007-05-06 >> > 23:00->23:30 (23:00) I35781.labs.zap2it.com Rick Steves' Europe >> > 2007/05/06 22:36 EDT [HTTPChannel,8,127.0.0.1] config.LOCALE=latin-1 >> > 2007/05/06 22:36 EDT [HTTPChannel,8,127.0.0.1] prog=Sun 2007-05-06 >> > 23:35->00:35 (23:35) I21103.labs.zap2it.com Alias >> > 2007/05/06 23:00 EDT [*RecordServer*] channel: C90.4 >> > 2007/05/06 23:00 EDT [*RecordServer*] killing pid 31610 with sig 15 >> > 2007/05/06 23:00 EDT [*RecordServer*] recorderver: After wait() >> > 2007/05/06 23:00 EDT [*RecordServer*] waiting on pid 31610 >> > 2007/05/06 23:00 EDT [*RecordServer*] received event RECORD_STOP >> > 2007/05/06 23:00 EDT [*RecordServer*] no imagefile found >> > 2007/05/06 23:00 EDT [*RecordServer*] >> > /home/vickeryj/.freevo/vfs/home/vickeryj/tv/05-06_23_00_Rick_Steves_Europe_-_Travel_Skills.ts.raw.tmp >> > 2007/05/06 23:35 EDT [*RecordServer*] channel: C113.1 >> > 2007/05/06 23:35 EDT [*RecordServer*] received event RECORD_START >> > 2007/05/06 23:35 EDT [*RecordServer*] popen /usr/bin/mplayer >> > -dumpstream -dumpfile >> > /home/vickeryj/tv/05-06_23_35_Alias_-_Authorized_Personnel_Only.ts >> > "dvb://C113.1" >> > >> > At 22:36 I schedules three consecutive shows for recording. From the >> > log, you can see that the first show (which was already in progress) >> > started recording just fine. However, when it ended at 23:00 it >> > stopped ok, but the next show did not begin recording. What happened >> > instead was this line: >> > 2007/05/06 23:00 EDT [*RecordServer*] >> > /home/vickeryj/.freevo/vfs/home/vickeryj/tv/05-06_23_00_Rick_Steves_Europe_-_Travel_Skills.ts.raw.tmp >> > >> > That's the name of the show that should have started recording, but >> > that is the line that usually prints after a show is done recording. >> > >> > Then at 23:35, the scheduled show started recording and completed >> correctly. >> > >> > Finally, later in the log, I found this: >> > 2007/05/07 06:29 EDT [HTTPChannel,80,127.0.0.1] prog.isRecording: >> > TvProgram instance has no attribute 'isRecording' >> > >> > This was repeated several times, followed by messages about my nightly >> > tv_grab update. >> > >> > My theory is that the 1.7.1 package from >> > http://www.geole.info/Repository-for-deb-packages-deb.9.0.html?&l=1 >> > is incomplete, so my plan, for now, is to uninstall that and >> re-install 1.6.3. >> > >> > Alternately, I would be happy to help troubleshoot this package, >> > though I have next to zero knowledge about the codebase. I am, >> > however able to use subversion, diff and can more or less read Python. >> > >> > Josh >> > >> > On 5/6/07, Josh Vickery <[EMAIL PROTECTED]> wrote: >> >> I was using blurr (just switch to panorama since you got me thinking >> >> about skins) and the file /usr/share/freevo/skins/main/basic.fxd at >> >> line 529 has >> >> >> >> This is strange, I have no idea why overlap/past/current are not working >> for you. May be I've said this before, the overlap shows when two or >> more programmes are scheduled to record at the same time by setting the >> background to orange. The past flag shows when a programme is finished >> by setting the
Re: [Freevo-users] weather pluging (again, now the map url)
> It might be a good idea to have a couple of URLs from the freevo > domain, like > > http://freevo.org/weather/map?location=%s > http://freevo.org/weather/data?location=%s,language=%s,units=%s > > those could be redirected to a suitable external source so that if > the external source is broken, the link could be replaced in the > redirect without having to change the freevo source already deployed > by users... just a suggestion... > Maybe just make the URL a variable in local_conf.py. -- Christian Lyra POP-PR - RNP http://lyra.soueu.com.br Does a good farmer neglect a crop he has planted? Does a good teacher overlook even the most humble student? Does a good father allow a single child to starve? Does a good programmer refuse to maintain his code? The Tao Of Programing - 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
[Freevo-users] weather pluging (again, now the map url)
It seems that after the weather forecast URL has been fixed, now the radar map URL is broken. "http://w3.weather.com/weather/map/%s?from=LAPmaps";; is weather.py does not seems to be a valid URL for the radar map anymore. Any suggestion what should the right URL to replace the above? It might be a good idea to have a couple of URLs from the freevo domain, like http://freevo.org/weather/map?location=%s http://freevo.org/weather/data?location=%s,language=%s,units=%s those could be redirected to a suitable external source so that if the external source is broken, the link could be replaced in the redirect without having to change the freevo source already deployed by users... just a suggestion... -- Paolo - 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
[Freevo-users] Movie DVD's don't use Xine
Freevo 1.7.1 Kaa from CVS, freevo cache updated and xine working from the CLI. OS: Xubuntu Feisty Fawn DVD's start up with the mplayer interface Some parameters from /etc/freevo/local_conf.py VIDEO_XINE_SUFFIX = [ 'avi', 'mpg', 'mpeg', 'rm', 'divx', 'ogm', 'asf', 'm2v', 'm2p', 'mp4', 'mov', 'cue' ] XINE_VO_DEV = 'xv' XINE_COMMAND = '%s --hide-gui -pq -g -B --geometry %sx%s+0+0 --no-splash' % \ XINE_ARGS_DEF = '--no-lirc --post=pp:quality=10,expand' XINE_AO_DEV = 'alsa' # alsa or oss VIDEO_PREFERED_PLAYER = 'xine' # Stop the osd before playing a movie with xine or mplayer. Some output # You need xine-ui version greater 0.9.21 to use the all the features # of the xine plugin (CONF.xine, CONF.width, CONF.height) From /etc/freevo/freevo.conf fbxine = /usr/bin/fbxine xine = /usr/bin/xine The version of xine [EMAIL PROTECTED]:/etc/freevo$ xine -v This is xine (X11 gui) - a free video player v0.99.5cvs. (c) 2000-2006 The xine Team. The main-0.log file rom_drives.py (535): Double check without success rom_drives.py (549): identifymedia: mplayer = "[]" mediainfo.py (108): load cache /var/cache/freevo/vfs/media/freevo.cache rom_drives.py (700): MEDIA: Status=4 rom_drives.py (701): Posting IDENTIFY_MEDIA event Anyone has a usefull idea? Personaly I suspect a wrong detected version numbering or something with xine.py Geert Malek's Law: Any simple idea will be worded in the most complicated way. - 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] freevo vs mythmusic: some questions
Andrew Flegg wrote: > On 5/8/07, John Molohan <[EMAIL PROTECTED]> wrote: > >> Yeah freevo will read folder.jpg or cover.jpg and display that as the >> album artwork. There's also the amazon plugin which will fetch covers >> for you as long as you have the album info in the tags. >> > > Oddly since the 1.7.1 release *some* of my cover.jpgs have stopped > working, but others do. > > Any suggestions on where to start debugging it? Could a cache rebuild help? > > Cheers, > > Andrew > > Removing the cache and rebuilding would be the first place to start, keep an eye on the output of the rebuild for any tracebacks. After that turn up the debug level and see if there's anything. John - 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] Re: cannot import name ImageFile
Hi: I have downloaded Twisted-2.4.0 and use "setup.py install -f" to recover the previous Twisted-2.5.0. I type "twistd --version" and below is the result: twistd (the Twisted daemon) 2.4.0 Copyright (c) 2001-2006 Twisted Matrix Laboratories. See LICENSE for details. sh-3.1# But the error messages are still there. Does that mean I have successfully install Twisted-2.4.0 by seeing the messages above? And if it really means so, is there something I should try to fix this error? Ps: the error messages come from after my typing "freevo", should I activate some demons before typing "freevo", since I coincidence found "twistd" is a demon. Appreciate your help, cckuo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Webb Sent: Tuesday, May 08, 2007 11:43 PM To: freevo-users@lists.sourceforge.net Subject: Re: [Freevo-users] cannot import name ImageFile cckuo wrote: > Dear all: > Recently I try to install freevo by hand but I encounter the error messages > list below > > Traceback (most recent call last): > > File "/usr/lib/python2.4/site-packages/freevo/skins/main/skin_utils.py", > line 34, in ? > import ImageFile > File "/usr/lib/python2.4/site-packages/ImageFile.py", line 20, in ? > from App.ImageFile import ImageFile > File "/usr/lib/python2.4/site-packages/App/ImageFile.py", line 22, in ? > from Globals import package_home > File "/usr/lib/python2.4/site-packages/Globals/__init__.py", line 36, in ? > from App.ImageFile import ImageFile > ImportError: cannot import name ImageFile > > I found the same question at > http://www.mail-archive.com/freevo-users@lists.sourceforge.net/msg09480.html > and I roughly study the function stack and it seems the problem comes from > Zope. > Does that mean I should install some other modules or set some environmental > parameters? Or I use the wrong version of Zope? Wrong version of Twisted is my guess, you should use Twisted-2.4.0 as Twisted-2.5.0 is not yet supported. Duncan - 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 - 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
[Freevo-users] xine and bookmark
Hi, I've modified bookmarker.py and xine.py for freevo work with xine and bookmark. You need to have in you localconf.py : VIDEO_PREFERED_PLAYER = 'xine' I have tested only in file mode not on DVD mode The patchs are below : patch for bookmarker.py : -- bookmarker.py.orig2007-05-03 17:15:23.0 +0200 +++ bookmarker.py.new2007-05-04 10:46:42.079220963 +0200 @@ -48,6 +48,7 @@ import util import menu import rc +import glob from event import * @@ -58,6 +59,7 @@ def actions(self, item): self.item = item items = [] + if item['autobookmark_resume']: items.append((self.resume, _('Resume playback'))) if item.type == 'dir' or item.type == 'playlist': @@ -68,22 +70,38 @@ return items - def resume(self, arg=None, menuw=None): """ resume playback """ t= max(0, self.item['autobookmark_resume'] - 10) info = mmpython.parse(self.item.filename) -if hasattr(info, 'seek') and t: -arg='-sb %s' % info.seek(t) -else: -arg='-ss %s' % t -if menuw: -menuw.back_one_menu() -self.item.play(menuw=menuw, arg=arg) - - +#Modif +if (config.VIDEO_PREFERED_PLAYER == 'xine'): +self.write_playlist(t) +arg = ("--playlist %s/playlist_xine_%s.tox" % (config.FREEVO_CACHEDIR, t)) +else: +if hasattr(info, 'seek') and t: +arg='-sb %s' % info.seek(t) +else: +arg='-ss %s' % t +if menuw: +menuw.back_one_menu() +self.item.play(menuw=menuw, arg=arg) + +def write_playlist(self,time): +t = time +name = '%s/playlist_xine_%s.tox' % (config.FREEVO_CACHEDIR,t) +playlist = open(name,'w') +playlist.write ("# toxine playlist\n") +playlist.write ("entry {\n") +playlist.write ("identifier = %s;\n" % self.item.filename) +playlist.write ("mrl = %s;\n" % self.item.filename) +playlist.write ("start = %s\n" % t) +playlist.write ("};\n") +playlist.write ("# END\n") +playlist.close() + def bookmark_menu(self,arg=None, menuw=None): """ Bookmark list @@ -106,22 +124,32 @@ if not self.item.mplayer_options: self.item.mplayer_options = '' -file.mplayer_options = str(self.item.mplayer_options) + ' -ss %s' % time -items.append(file) +if (config.VIDEO_PREFERED_PLAYER == 'xine'): +self.write_playlist(int(line)) +cmd = ' --playlist %s/playlist_xine_%s.tox' % (config.FREEVO_CACHEDIR,int(line)) +file.mplayer_options = (cmd) +else: +file.mplayer_options = str(self.item.mplayer_options) + ' -ss %s' % time +items.append(file) if items: moviemenu = menu.Menu(self.item.name, items, fxd_file=self.item.skin_fxd) menuw.pushmenu(moviemenu) -return +return def eventhandler(self, item, event, menuw): if event in (STOP, USER_END): -if item.mode == 'file' and not item.variants and \ +# effacer tous les fichiers repondant a la condition +playlist_remove = ("%s/playlist_xine*.tox" % config.FREEVO_CACHEDIR) +for filename in glob.glob(playlist_remove): +os.remove(filename) + +if item.mode == 'file' and not item.variants and \ not item.subitems and item.elapsed: -item.store_info('autobookmark_resume', item.elapsed) -else: -_debug_('auto-bookmark not supported for this item') +item.store_info('autobookmark_resume', item.elapsed) +else: +_debug_('auto-bookmark not supported for this item') if event == PLAY_END: item.delete_info('autobookmark_resume') @@ -129,14 +157,23 @@ # Bookmark the current time into a file if event == STORE_BOOKMARK: -bookmarkfile = util.get_bookmarkfile(item.filename) +#Get time elapsed for xine video +videoplayer = config.VIDEO_PREFERED_PLAYER +if (videoplayer == 'xine'): +command = ("%s -S get_time" % config.CONF.xine) +handle = os.popen(command,'r') +position = handle.read(); +handle.close() +item.elapsed = int(position) + +bookmarkfile = util.get_bookmarkfile(item.filename) -handle = open(bookmarkfile,'a+') -handle.write(str(item.elapsed)) -handle.write('\n') -handle.close() -rc.post_event(Event(OSD_MESSAGE, arg='Added Bookmark')) -return True +handle = open(bookmarkfile,'a+') +handle.write(str(item.elapsed)) +handle.write('\n') +handle.close() +rc.post_event(Event(OSD_MESSAGE, arg='Added Bookmark')) +return True return False and for xine.py : --- xine.py.orig
Re: [Freevo-users] freevo vs mythmusic: some questions
On 5/8/07, John Molohan <[EMAIL PROTECTED]> wrote: > > Yeah freevo will read folder.jpg or cover.jpg and display that as the > album artwork. There's also the amazon plugin which will fetch covers > for you as long as you have the album info in the tags. Oddly since the 1.7.1 release *some* of my cover.jpgs have stopped working, but others do. Any suggestions on where to start debugging it? Could a cache rebuild help? Cheers, Andrew -- Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.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