Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17975/src/tv
Modified Files:
program.py
Log Message:
-Compare Unicode() results.
-Hook up watch_channel().
Index: program.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/program.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** program.py 11 Dec 2004 12:01:46 -0000 1.5
--- program.py 13 Dec 2004 02:31:35 -0000 1.6
***************
*** 41,44 ****
--- 41,45 ----
import config
import menu
+ import plugin
from item import Item
from gui import AlertBox
***************
*** 104,111 ****
return 1
! return self.title != other.title or \
self.start != other.start or \
self.stop != other.stop or \
! self.channel != other.channel
--- 105,112 ----
return 1
! return Unicode(self.title) != Unicode(other.title) or \
self.start != other.start or \
self.stop != other.stop or \
! Unicode(self.channel) != Unicode(other.channel)
***************
*** 213,217 ****
def watch_channel(self, arg=None, menuw=None):
! AlertBox(text='Not implemented yet').show()
--- 214,221 ----
def watch_channel(self, arg=None, menuw=None):
! p = self.channel.player(self.channel)
! if p:
! app, device, uri = p
! app.play(self.channel.id, device, uri)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog