Re: [Freevo-users] Traceback on shutdown with rel-1
John Molohan wrote: > Duncan Webb wrote: > >> John Molohan wrote: >> >> >>> Duncan Webb wrote: >>> >>> John Molohan wrote: > 2007-11-08 21:24:28,198 DEBUGautoshutdown.py (773): Executing > syscall: ps -eo cmd | egrep -v "grep" | egrep > "(/|[[:space:]]|^)(urpm|urpmi|transcode|cdrecord|mplayer|xine|mencoder)($|[[:space:]])" > 2007-11-08 21:24:28,241 DEBUGautoshutdown.py (756): no external > process(es) running > 2007-11-08 21:24:28,243 DEBUGautoshutdown.py (385): Shutdown issued > by autoshutdown timer! > 2007-11-08 21:24:28,244 DEBUGautoshutdown.py (492): shutdown wakeup > 2007-11-08 21:24:31,801 DEBUGautoshutdown.py (454): No more > recordings available > 2007-11-08 21:24:31,802 DEBUGautoshutdown.py (732): Default wakeup > at Fri Nov 9 13:00:00 2007 > 2007-11-08 21:24:31,803 DEBUGautoshutdown.py (478): Picked wakeup at > Fri Nov 9 13:00:00 2007 > 2007-11-08 21:24:31,804 DEBUGautoshutdown.py (549): Wakeup-command > /usr/local/bin/set_acpi.sh "2007-11-09 12:57" > 2007-11-08 21:24:31,805 DEBUGautoshutdown.py (773): Executing > syscall: /usr/local/bin/set_acpi.sh "2007-11-09 12:57" > 2007-11-08 21:24:32,856 DEBUGautoshutdown.py (502): shutdown system > 2007-11-08 21:24:33,895 ERRORremoved timer 1 > Traceback (most recent call last): > File > "/usr/lib/python2.5/site-packages/kaa/notifier/pynotifier/nf_generic.py", > line 153, in step > if not timer[ CALLBACK ](): > File "/usr/lib/python2.5/site-packages/kaa/notifier/timer.py", line > 90, in __call__ > return super(Timer, self).__call__(*args, **kwargs) > File "/usr/lib/python2.5/site-packages/kaa/notifier/nf_wrapper.py", > line 96, in __call__ > ret = super(NotifierCallback, self).__call__(*args, **kwargs) > File "/usr/lib/python2.5/site-packages/kaa/notifier/callback.py", line > 168, in __call__ > result = cb(*cb_args, **cb_kwargs) > File "/usr/lib/python2.5/site-packages/freevo/rc.py", line 624, in poll > c[0](*c[4]) > File "/usr/lib/python2.5/site-packages/freevo/plugin.py", line 155, in > poll_wrapper > self.real_poll() > File > "/usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py", line > 386, in poll > shutdown_action(action=Shutdown.SHUTDOWN_WAKEUP) > File > "/usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py", line > 503, in shutdown_action > __cleanup_freevo() > File > "/usr/lib/python2.5/site-packages/freevo/plugins/autoshutdown.py", line > 619, in __cleanup_freevo > plugin.shutdown() > File "/usr/lib/python2.5/site-packages/freevo/plugin.py", line 352, in > shutdown > p.shutdown() > File "/usr/lib/python2.5/site-packages/freevo/www/__init__.py", line > 57, in shutdown > print 'Stopping webserver plugin.' > File "/usr/lib/python2.5/site-packages/freevo/config.py", line 129, in > write > sys.__stdout__.flush() > IOError: [Errno 5] Input/output error > > > This is a bit strange, looks as if stdout is already closed. What happens when the webserver is not started as a plug-in but as a daemon. This could, but I suspect doesn't, have anything to do with the kaa.notifier changes. Duncan >>> Hi Duncan, >>> >>> I haven't been able to reproduce that error yet but got a different one >>> on shutdown tonight. Freevo had been started by freevo -fs & from a ssh >>> session and this was on the console: >>> >>> Unhandled exception in thread started by >> Identify_Thread.__bootstrap of > >>> Traceback (most recent call last): >>> File "/usr/lib/python2.5/threading.py", line 482, in __bootstrap >>> " (most likely raised during interpreter shutdown):") >>> File "/usr/lib/python2.5/site-packages/freevo/config.py", line 124, in >>> write >>> lock.acquire() >>> AttributeError: 'NoneType' object has no attribute 'acquire' >>> >>> >> This is a strange error from config as lock is a global object that is >> set at the beginning, the idea is to ensure that debug messages don't >> overlap from the main thread and other threads. >> >> Just in case I've added a test for lock. >> >> Duncan >> >> >> >> >>> Freevo shut down but the PC didn't power off as it should. As mentioned >>> in the feature request I think this could be due to the audioscrobbler >>> plugin, I had disabled it over the last few days and had no problem. I >>> re-enabled it today. /var/log/freevo/main-0.log shows: >>> >>> 2007-11-14 21:04:08,500 DEBUGchildapp.py (171): sending >>> "SeekRelative+15" to pid 19250 >>> 2007-11-14 21:56:13,105 DEBUGchildapp.py (442): stderr: no data, >>> closing log
Re: [Freevo-users] Please post your podcast feeds
http://twit.libsyn.com/rss http://revision3.com/diggnation/feed/xvid-large http://revision3.com/ctrlaltchicken/feed/xvid-large http://revision3.com/indigital/feed/xvid-large http://revision3.com/mose/feed/xvid-large http://revision3.com/systm/feed/xvid-large http://revision3.com/thebroken/feed/xvid-large On Nov 17, 2007 12:58 PM, John Molohan <[EMAIL PROTECTED]> wrote: > Hi all, > > With the release of 1.7.4 with the video podcast viewer I'm looking for > you to post your postcast feeds here so we can build up a large > selection for everyone. If you just want to copy paste them that's fine > but if you want to categorise them in some way (country, genre etc.) > that'd be great. > > John > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Is it a bug in rssserver? (freevo-1.7.4)
I'm trying to use rssserver. The first run worked fine, after a reboot I receive this error: Freevo 1.7.4 r10133 started at Sat Nov 17 22:41:10 2007 2007-11-17 22:41:10,614 INFO config.py (477): logdir: /var/log /var/log/freevo 2007-11-17 22:41:10,615 INFO config.py (478): staticdir: /var/lib /var/lib/freevo 2007-11-17 22:41:10,617 INFO config.py (479): cachedir: /var/cache /var/cache/freevo 2007-11-17 22:41:10,619 INFO config.py (498): Loading freevo configuration file "/etc/freevo/freevo.conf" 2007-11-17 22:41:10,849 INFO config.py (585): Loading local configuration file "/etc/freevo/local_conf.py" 2007-11-17 22:41:10,886 INFO config.py (983): overlaydir: /var/cache/freevo/vfs 2007-11-17 22:41:10,909 INFO new process watcher instance Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/freevo/helpers/rssserver.py", line 91, in ? t = threading.Thread(rssperiodic.checkForUpdates()) File "/usr/lib/python2.4/site-packages/freevo/rssperiodic.py", line 238, in checkForUpdates for item in rssfeed.Feed(feedSource).items: File "/usr/lib/python2.4/site-packages/freevo/rssfeed.py", line 42, in __init__ self.parseFeed(inputSource) File "/usr/lib/python2.4/site-packages/freevo/rssfeed.py", line 109, in parseFeed newItem.type = getType(re.split('"',re.split("\.",newItem.url)[-1])[0]) File "/usr/lib/python2.4/sre.py", line 157, in split return _compile(pattern, 0).split(string, maxsplit) TypeError: expected string or buffer - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Please post your podcast feeds
I download several of the podcasts on this page: http://www.g4tv.com/podcasts/index.html They are video game, tech, and anime related, as well as some other random stuff. I haven't tried the 1.7.4 podcast plugin yet, so I'm curious if these will work out of the box or if the plugin will need some work to get them to work properly. The podcast plugin is a great idea, looking forward to getting it (waiting for deb packages of 1.7.4). My current method of getting these is to use podget and just store the downloaded videos in a directory freevo has access to. Podget is just a bash script, so maybe looking at that source code would be a good way to improve the way freevo's plugin handles some podcasts (although I haven't tried it on the ones mentioned in a previous post). Buckley - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Auto Thumbnail feature.
Duncan Webb wrote: > Evan Hisey wrote: > >> duncan- >> >> >>> Hmm, found that cache already does this: >>> >>> freevo cache --thumbnail --recursive /path/to/videofiles >>> >>> >> I wonder how long that feature has been there. It has been an often >> asked question on the mailing list over the years. Time to add it the >> wiki of tips and tricks. >> Done :) > > Didn't know it was there either, just found it when starting to write a > new helper and was searching for videothumb. > > Duncan > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Scripting IMDB Plugin
Francisco Eduardo Álvarez Solano wrote: > Hi, > > This script works for me: > > #!/bin/sh > COD=`freevo imdb -s "$1" | tail -n1 - | grep -o "[0-9]* "` > freevo imdb $COD "$1" "$1.avi" > > Regards Thanks, added to tips and tricks on the wiki. John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Please post your podcast feeds
Hi all, With the release of 1.7.4 with the video podcast viewer I'm looking for you to post your postcast feeds here so we can build up a large selection for everyone. If you just want to copy paste them that's fine but if you want to categorise them in some way (country, genre etc.) that'd be great. John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] vpodcast
hello, thank you to all devs for the new freevo version! it looks pretty good! and i really like the video-podcast plugin. but it seems that it works only for feeds that have the video link directly on the page (like here: http://podcast.rickygervais.com/podcast.xml). is the link not on the page (here: http://podcast.wdr.de/quarks.xml) freevo crashes. here's the main.log: -- Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in eventhandler app.eventhandler(event) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 708, in eventhandler action( arg=arg, menuw=self ) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 92, in select self.function(arg=self.arg, menuw=menuw) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/video/plugins/vpodcast.py", line 231, in create_podcast_submenu File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/video/plugins/vpodcast.py", line 365, in rss_item AttributeError: podcast instance has no attribute 'link' Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in eventhandler app.eventhandler(event) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 708, in eventhandler action( arg=arg, menuw=self ) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 92, in select self.function(arg=self.arg, menuw=menuw) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/video/plugins/vpodcast.py", line 231, in create_podcast_submenu File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/video/plugins/vpodcast.py", line 365, in rss_item AttributeError: podcast instance has no attribute 'link' -- i've also tried the feeds which are provided in the plugin script. youtube worked, but metacafe and cnn also crashed: main.log: -- Error rss_title Error rss_description No image in RSS 2007-11-17 08:15:03,181 WARNING osd.py (645): Bitmap file "/home/vlad/.freevo/vpodcast/Metacafe - Music/cover.jpg" doesn't exist! 2007-11-17 08:15:03,185 INFO skin_utils.py (115): [Errno 2] No such file or directory: '/home/vlad/.freevo/vpodcast/Metacafe - Music/cover.jpg' Error rss_title Error rss_description Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in eventhandler app.eventhandler(event) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 708, in eventhandler action( arg=arg, menuw=self ) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 92, in select self.function(arg=self.arg, menuw=menuw) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/video/plugins/vpodcast.py", line 254, in create_podcast_submenu NameError: global name 'menwu' is not defined Error rss_title Error rss_description Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in eventhandler app.eventhandler(event) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 708, in eventhandler action( arg=arg, menuw=self ) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 92, in select self.function(arg=self.arg, menuw=menuw) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/video/plugins/vpodcast.py", line 254, in create_podcast_submenu NameError: global name 'menwu' is not defined Error rss_title Error rss_description Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/freevo/main.py", line 288, in eventhandler app.eventhandler(event) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 708, in eventhandler action( arg=arg, menuw=self ) File "/home/vlad/apps/arch/yaourt-tmp-vlad/aur-freevo/freevo/pkg/usr/lib/python2.5/site-packages/freevo/menu.py", line 92, in select self.function(arg=self.a
Re: [Freevo-users] Auto Thumbnail feature.
Evan Hisey wrote: > duncan- > >> Hmm, found that cache already does this: >> >> freevo cache --thumbnail --recursive /path/to/videofiles >> > I wonder how long that feature has been there. It has been an often > asked question on the mailing list over the years. Time to add it the > wiki of tips and tricks. Didn't know it was there either, just found it when starting to write a new helper and was searching for videothumb. Duncan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Auto Thumbnail feature.
duncan- > > Hmm, found that cache already does this: > > freevo cache --thumbnail --recursive /path/to/videofiles > I wonder how long that feature has been there. It has been an often asked question on the mailing list over the years. Time to add it the wiki of tips and tricks. Evan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Conflicts between usbmount, remote control, nvram, udev
Thorsten Pferdekämper wrote: > On Saturday 17 November 2007 10:11, Duncan Webb wrote: > >> Thorsten Pferdekämper wrote: >> >>> So I have installed usbmount, which also installed udev. After >>> that, /dev/nvram vanished. I could solve this by re-inserting nvram using >>> modconf. >>> Now, sometimes (not always...) after rebooting, the remote control did >>> not work any more. It uses /dev/input/eventX via lirc. I know about the >>> problem that lirc needs to know the correct event-number and I have >>> checked this. >>> >>> Only after removing usbmount, everything worked smoothly again. (Except >>> of automounting the usb devices...) >>> >>> Can someone give me a hint? >>> >> You should be able to use autofs for usb devices with the sync option >> set. This way the device can be unplugged safely. >> >> > > Thanks, Duncan. > I've just discovered that it was wrong to suspect usbmount. The problems with > the remote control just returned. I have now also deinstalled udev (which I > just needed for usbmount) and it seems to work now (as it did before...). > ...but I am still searching for the reason why the remote control sometimes > did not work. > If i were you, i'd go for using udev. It's just a matter to be sure that the required modules are inserted properly. udev will create the appropriate devices. > I have also discovered that there are also sometimes problems with the sound > (oss on /dev/dsp). This is also only since I've experimented with the > udev/usb stuff. > Again .. i'd say that the required modules aren't being inserted properly. > About autofs: I thought that the problem with the unsafe unplug is because > the > vfat filesystem does not really implement sync'ed mounting. Does this make a > difference with autofs compared to usbmount? > > The problem is not with the mount, but rather with the umount.. and that is not a problem exclusive to vfat. What usbmount does is as simple a mounting usb volumes when they are inserted and (forcing) umount them when they are removed. This type of operation doesn't assure you any kind of filesystem safety since you might not get data synced before the device removal. Autofs, although not bullet proof, with the appropriate configuration will minimize this kind of problem since it will only mount the devices when the system tries to access them. They will also be mounted only for a short period of time after they are used. The data sync is handled by the mount/umount process, so if the device is not being actively accessed, you're home free. Currently i'm using a package that configures autofs in this kind of way. It's called mounttero and you can get it here http://myy.helia.fi/~karte/mounttero.html Regards, Hugo Monteiro. -- ci.fct.unl.pt:~# cat .signature Hugo Monteiro Email: [EMAIL PROTECTED] Telefone : +351 212948300 Ext.15307 Centro de Informática Faculdade de Ciências e Tecnologia da Universidade Nova de Lisboa Quinta da Torre 2829-516 Caparica Portugal Telefone: +351 212948596 Fax: +351 212948548 www.ci.fct.unl.pt [EMAIL PROTECTED] ci.fct.unl.pt:~# _ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Conflicts between usbmount, remote control, nvram, udev
On Saturday 17 November 2007 10:11, Duncan Webb wrote: > Thorsten Pferdekämper wrote: > > So I have installed usbmount, which also installed udev. After > > that, /dev/nvram vanished. I could solve this by re-inserting nvram using > > modconf. > > Now, sometimes (not always...) after rebooting, the remote control did > > not work any more. It uses /dev/input/eventX via lirc. I know about the > > problem that lirc needs to know the correct event-number and I have > > checked this. > > > > Only after removing usbmount, everything worked smoothly again. (Except > > of automounting the usb devices...) > > > > Can someone give me a hint? > > You should be able to use autofs for usb devices with the sync option > set. This way the device can be unplugged safely. > Thanks, Duncan. I've just discovered that it was wrong to suspect usbmount. The problems with the remote control just returned. I have now also deinstalled udev (which I just needed for usbmount) and it seems to work now (as it did before...). ...but I am still searching for the reason why the remote control sometimes did not work. I have also discovered that there are also sometimes problems with the sound (oss on /dev/dsp). This is also only since I've experimented with the udev/usb stuff. About autofs: I thought that the problem with the unsafe unplug is because the vfat filesystem does not really implement sync'ed mounting. Does this make a difference with autofs compared to usbmount? Cheers, Thorsten - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] ITV was: Freevo-1.7.4 has been released
Hi Forget my stupid answer. I just discovered that you mean itv not ivtv. Sorry! But I still think the code is not belonging in VideoItem but in mplayer.py. I will investigate this further... Regards Tanja Tanja schrieb: > > Senufo schrieb: >>> >> In the 1.7.4 is missing the http mode in videoitem.py >> You can try this patch below for itv plugin work : >> >> --- videoitem.py.orig2007-11-16 09:32:25.0 +0100 >> +++ videoitem.py2007-11-16 09:57:48.0 +0100 >> @@ -448,8 +448,8 @@ >> """ >> play the item. >> """ >> - >> -if not self.player or self.player_rating < 10: >> + >> +if not self.player : >> AlertBox(text=_('No player for this item found')).show() >> return >> >> @@ -533,7 +533,18 @@ >> ConfirmBox(text=(_('No media found for "%s".\nPlease >> insert the media "%s".')) % \ >> (self.media_id, self.url), handler=self.play).show() >> return >> - >> +elif self.mode in ('http') and not self.filename and not self.media: >> +self.player_rating, self.player = self.possible_player[0] >> +self.player_rating = 20 >> +for p in plugin.getbyname(plugin.VIDEO_PLAYER, True): >> + rating = p.rate(self) * 10 >> + if p.name == 'mplayer': >> +self.player = p >> + >> +if self.player_rating < 10: >> +AlertBox(text=_('No player for this item found')).show() >> +return >> >> mplayer_options = self.mplayer_options.split(' ') >> if not mplayer_options: >> >> I have deposed this patch on the freevo tracher bug at : >> >> >> http://sourceforge.net/tracker/index.php?func=detail&aid=1833018&group_id=46652&atid=446895 >> >> Regards >> > > > This code has been moved to mplayer.py on purpose, as the rating should be > done by the player not in > VideoItem. That is how it is done for all other players and sources! > > The question is why that is not working with itv. I do not have a itv card > for testing, > thus I do not know about its details. > > Why is the mode 'http' for a itv card? I thought this code it for the video > pod cast plugin? > > > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] ITV was: Freevo-1.7.4 has been released
Senufo schrieb: >> >> > In the 1.7.4 is missing the http mode in videoitem.py > You can try this patch below for itv plugin work : > > --- videoitem.py.orig2007-11-16 09:32:25.0 +0100 > +++ videoitem.py2007-11-16 09:57:48.0 +0100 > @@ -448,8 +448,8 @@ > """ > play the item. > """ > - > -if not self.player or self.player_rating < 10: > + > +if not self.player : > AlertBox(text=_('No player for this item found')).show() > return > > @@ -533,7 +533,18 @@ > ConfirmBox(text=(_('No media found for "%s".\nPlease > insert the media "%s".')) % \ > (self.media_id, self.url), handler=self.play).show() > return > - > +elif self.mode in ('http') and not self.filename and not self.media: > +self.player_rating, self.player = self.possible_player[0] > +self.player_rating = 20 > +for p in plugin.getbyname(plugin.VIDEO_PLAYER, True): > + rating = p.rate(self) * 10 > + if p.name == 'mplayer': > +self.player = p > + > +if self.player_rating < 10: > +AlertBox(text=_('No player for this item found')).show() > +return > > mplayer_options = self.mplayer_options.split(' ') > if not mplayer_options: > > I have deposed this patch on the freevo tracher bug at : > > > http://sourceforge.net/tracker/index.php?func=detail&aid=1833018&group_id=46652&atid=446895 > > Regards > This code has been moved to mplayer.py on purpose, as the rating should be done by the player not in VideoItem. That is how it is done for all other players and sources! The question is why that is not working with itv. I do not have a itv card for testing, thus I do not know about its details. Why is the mode 'http' for a itv card? I thought this code it for the video pod cast plugin? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Conflicts between usbmount, remote control, nvram, udev
Thorsten Pferdekämper wrote: > Hi folks, > > I know that this is not a freevo question in the first place, but I believe > that combinations like this are somewhat typical with a freevo setup. > I'd like to mount usb devices automatically. I do not really believe that the > usb plugins really help me here, because the auto-mounting is the step I am > missing... > So I have installes usbmount, which also installed udev. After > that, /dev/nvram vanished. I could solve this by re-inserting nvram using > modconf. > Now, sometimes (not always...) after rebooting, the remote control did not > work any more. It uses /dev/input/eventX via lirc. I know about the problem > that lirc needs to know the correct event-number and I have checked this. > > Only after removing usbmount, everything worked smoothly again. (Except of > automounting the usb devices...) > > Can someone give me a hint? You should be able to use autofs for usb devices with the sync option set. This way the device can be unplugged safely. HTH Duncan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Auto Thumbnail feature.
Evan Hisey wrote: > Hey- > I found a new feature, or at least new to me, in the configure > directory settings of the freevo UI. Directory Autobuild Thumbnails. > IT is set by default to "auto" which does not seem to really do > anything as far as I can tell. on the other hand if I set it to one it > goes and makes thumbnails for all the files that do not have one in > the directory. The question then is, what exactly is the setting to > make this teh defaul behavior for freevo. I add a lot Anime videos to > a network share that I use with freevo and the thumbnails are nice, > but doing it by hand for a 100+ files sucks. Hmm, found that cache already does this: freevo cache --thumbnail --recursive /path/to/videofiles Duncan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
[Freevo-users] Conflicts between usbmount, remote control, nvram, udev
Hi folks, I know that this is not a freevo question in the first place, but I believe that combinations like this are somewhat typical with a freevo setup. I'd like to mount usb devices automatically. I do not really believe that the usb plugins really help me here, because the auto-mounting is the step I am missing... So I have installes usbmount, which also installed udev. After that, /dev/nvram vanished. I could solve this by re-inserting nvram using modconf. Now, sometimes (not always...) after rebooting, the remote control did not work any more. It uses /dev/input/eventX via lirc. I know about the problem that lirc needs to know the correct event-number and I have checked this. Only after removing usbmount, everything worked smoothly again. (Except of automounting the usb devices...) Can someone give me a hint? Thanks&Regards, Thorsten - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Auto Thumbnail feature.
Evan Hisey wrote: > Hey- > I found a new feature, or at least new to me, in the configure > directory settings of the freevo UI. Directory Autobuild Thumbnails. > IT is set by default to "auto" which does not seem to really do > anything as far as I can tell. on the other hand if I set it to one it > goes and makes thumbnails for all the files that do not have one in > the directory. The question then is, what exactly is the setting to > make this teh defaul behavior for freevo. I add a lot Anime videos to > a network share that I use with freevo and the thumbnails are nice, > but doing it by hand for a 100+ files sucks. It is possible to set the " Directory Autobuild Thumbnails" to on, i.e, add to local_conf.py: VIDEO_DIRECTORY_AUTOBUILD_THUMBNAILS=True Then when you enter this directory freevo builds the Thumbnails. A helper to recursively scan the video items is something that we need to develop. Basically freevo runs: /usr/bin/freevo execute /usr/lib/python2.5/site-packages/freevo/util/videothumb.pyc /usr/local/bin/mplayer /freevo/record/20071113_2105_Kassensturz.mp4 /var/lib/freevo/overlay/freevo/record/20071113_2105_Kassensturz.mp4.raw.tmp This may not be too difficult to write. HTH Duncan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users