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

Modified Files:
        xawtv.py 
Log Message:
make start channel work and messages display fully

Index: xawtv.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/xawtv.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** xawtv.py    21 Mar 2004 21:21:54 -0000      1.1
--- xawtv.py    21 Mar 2004 22:58:16 -0000      1.2
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.2  2004/03/21 22:58:16  mikeruelle
+ # make start channel work and messages display fully
+ #
  # Revision 1.1  2004/03/21 21:21:54  mikeruelle
  # start of an xawtv plugin. it works sorta
***************
*** 185,188 ****
--- 188,192 ----
  
        if tuner_channel:
+           time.sleep(0.5)
            self.app.sendcmd('setstation %s' % tuner_channel)
          #XXX use remote to change the input we want
***************
*** 222,226 ****
          if event == em.STOP or event == em.PLAY_END:
              self.app.sendcmd('quit')
!             time.sleep(2)
              self.Stop()
              rc.post_event(em.PLAY_END)
--- 226,230 ----
          if event == em.STOP or event == em.PLAY_END:
              self.app.sendcmd('quit')
!             time.sleep(1)
              self.Stop()
              rc.post_event(em.PLAY_END)
***************
*** 242,250 ****
          elif event == em.TOGGLE_OSD:
            #try to send channel name
!             self.app.sendcmd('msg %s' % self.TunerGetChannel())
              return True
          
          elif event == em.OSD_MESSAGE:
!             self.app.sendcmd('msg %s' % event.arg)
              return True
         
--- 246,254 ----
          elif event == em.TOGGLE_OSD:
            #try to send channel name
!             self.app.sendcmd('msg \'%s\'' % self.TunerGetChannel())
              return True
          
          elif event == em.OSD_MESSAGE:
!             self.app.sendcmd('msg \'%s\'' % event.arg)
              return True
         



-------------------------------------------------------
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