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

Modified Files:
        channels.py 
Log Message:
Only call setChannel on an external tuner plugin if we really have one.


Index: channels.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/channels.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** channels.py 23 Feb 2004 05:40:35 -0000      1.16
--- channels.py 5 Mar 2004 04:04:10 -0000       1.17
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.17  2004/03/05 04:04:10  rshortt
+ # Only call setChannel on an external tuner plugin if we really have one.
+ #
  # Revision 1.16  2004/02/23 05:40:35  gsbarbieri
  # BUGFIX: fix bug printing strings with 'chan', a unicode object.
***************
*** 152,156 ****
          if vg.tuner_type == 'external':
              tuner = plugin.getbyname('EXTERNAL_TUNER')
!             tuner.setChannel(new_chan)
  
              if vg.input_type == 'tuner' and vg.tuner_chan:
--- 155,160 ----
          if vg.tuner_type == 'external':
              tuner = plugin.getbyname('EXTERNAL_TUNER')
!             if tuner:
!                 tuner.setChannel(new_chan)
  
              if vg.input_type == 'tuner' and vg.tuner_chan:



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to