Jose wrote: > Here is the first version of the tv/favorites plug-in. It took more > effort than I initially thought was necessary, and it is still not > finished. But with this version you can view your favorites and remove > them.
Thanks. I will look into it later. Please read below for some changes I already made. > Stuff like changing the channels and days of a favorite will be > available in a next release... Cool. And changing times please. > I am aware of one problem. When you remove an favorite the removed > favorite is still in the list. I have applied the same mechanisme as in > removing scheduled recordings, but some how it doesn't work. > Maybe you can have a quick look, Dischi? I will do tomorrow. > The changes: > * tvserver: > * favorite.py: I had a problem that a channel with a space > (' ') in the name was wrong read back from the > recordserver.fxd. When read back it returned 2 channels > iso. 1! So I replaced the space with a comma (',') That only shifts the problem to channels with comma in the name. To avoid future problems I changed it into using subnodes. So it is now | <channels> | <channel>Channel 1</channel> | <channel>Another Channel</channel> | </channel> And while I was changing stuff I did the same with times. It is now | <times> | <start>20:00-21:00</start> | <start>22:00-23:00</start> | </times> And again while I was working on it I changed the filename recordserver.fxd to tvschedule.fxd. So copy your recordserver.fxd to tvschedule.fxd and do the changes in channels and times. > * server.py: Added an event, which report back when > favorites are changed/updated. Also added the favorite > remove function to be able to remove favorites from the > tvserver. > * core/ipc: > * tvserver.py: Added the favorite remove function. > Implemented receiving the 'changed favorites' event and > update the favorites accordingly. A few changes made to > the add favorite function. > * ui/tv: > * program.py: Changed the favorite menu item and the > favorite creation. > * favorite.py: More or less completely changed this. > * plugin/favorites.py: New plugin. I will do that tomorrow. Dischi -- Life can only be understood backwards but it must be lived forwards.
pgpoGsn1AKz4B.pgp
Description: PGP signature
------------------------------------------------------------------------- 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.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel