Update of /cvsroot/freevo/freevo/src/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22527

Modified Files:
        channels.py 
Log Message:
fix when uri contains a : but not a complete device

Index: channels.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config/channels.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** channels.py 22 Dec 2004 19:23:51 -0000      1.9
--- channels.py 2 Jan 2005 14:58:55 -0000       1.10
***************
*** 79,84 ****
              for s in config.TV_CARDS:
                  if s.find(uri[:uri.find(':')]) == 0:
!                     add_uri(channel, '%s:%s' % (s, uri))
              return
          channel.access_id = uri.split(':')[1]
          channel.uri.append(uri)
--- 79,85 ----
              for s in config.TV_CARDS:
                  if s.find(uri[:uri.find(':')]) == 0:
!                     add_uri(channel, '%s:%s' % (s, uri[uri.find(':')+1:]))
              return
+         print uri
          channel.access_id = uri.split(':')[1]
          channel.uri.append(uri)



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to