Update of /cvsroot/freevo/freevo/src/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7667/src/config
Modified Files:
channels.py
Log Message:
Bugfix for unexpected results.
Index: channels.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config/channels.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** channels.py 2 Jan 2005 15:10:29 -0000 1.11
--- channels.py 1 Apr 2005 17:56:49 -0000 1.12
***************
*** 101,110 ****
def player(channel):
for u in channel.uri:
- device, uri = u.split(':')
# try all internal URIs
! for p in plugin.getbyname(plugin.TV, True):
# FIXME: better handling for rate == 1 or 2
if p.rate(channel, device, uri):
return p, device, uri
return None
--- 101,116 ----
def player(channel):
for u in channel.uri:
# try all internal URIs
! device, uri = u.split(':')
!
! tvp = plugin.getbyname(plugin.TV, True)
! if not tvp or len(tvp) == 0:
! return None
!
! for p in tvp:
# FIXME: better handling for rate == 1 or 2
if p.rate(channel, device, uri):
return p, device, uri
+
return None
-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog