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

Modified Files:
        tvtime.py xawtv.py 
Log Message:
adjust to new event interface

Index: tvtime.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/tvtime.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** tvtime.py   25 Jun 2005 08:52:28 -0000      1.45
--- tvtime.py   16 Jul 2005 09:48:24 -0000      1.46
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.46  2005/07/16 09:48:24  dischi
+ # adjust to new event interface
+ #
  # Revision 1.45  2005/06/25 08:52:28  dischi
  # switch to new style python classes
***************
*** 520,524 ****
          if event == em.STOP or event == em.PLAY_END:
              self.Stop()
!             eventhandler.post(em.PLAY_END)
              return True
          
--- 523,527 ----
          if event == em.STOP or event == em.PLAY_END:
              self.Stop()
!             em.PLAY_END.post()
              return True
          
***************
*** 596,600 ****
                     'Escape' : em.STOP,
                     'd' : em.TOGGLE_OSD,
!                    '_' : em.Event(em.BUTTON, arg='PREV_CHAN'),
                     '0' : em.INPUT_0,
                     '1' : em.INPUT_1,
--- 599,603 ----
                     'Escape' : em.STOP,
                     'd' : em.TOGGLE_OSD,
!                    '_' : em.Event(em.BUTTON, 'PREV_CHAN'),
                     '0' : em.INPUT_0,
                     '1' : em.INPUT_1,
***************
*** 622,626 ****
              event = events.get(line, None)
              if event is not None:
!                 eventhandler.post(event)
                  log.info('posted translated tvtime event "%s"' % event)
              else:
--- 625,629 ----
              event = events.get(line, None)
              if event is not None:
!                 event.post()
                  log.info('posted translated tvtime event "%s"' % event)
              else:

Index: xawtv.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/xawtv.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** xawtv.py    25 Jun 2005 08:52:29 -0000      1.11
--- xawtv.py    16 Jul 2005 09:48:24 -0000      1.12
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.12  2005/07/16 09:48:24  dischi
+ # adjust to new event interface
+ #
  # Revision 1.11  2005/06/25 08:52:29  dischi
  # switch to new style python classes
***************
*** 257,261 ****
              time.sleep(1)
              self.Stop()
!             eventhandler.post(em.PLAY_END)
              return True
          
--- 260,264 ----
              time.sleep(1)
              self.Stop()
!             em.PLAY_END.post()
              return True
          



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to