Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv13580/src

Modified Files:
        event.py childapp.py 
Log Message:
My autocolor plugin which allows me to run a system command before plaaying
video. It doesn't have to be a color command, you can change mixer settings
or anything else you can do in a shell script.


Index: event.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/event.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** event.py    21 Sep 2003 13:17:20 -0000      1.22
--- event.py    25 Sep 2003 14:07:02 -0000      1.23
***************
*** 10,13 ****
--- 10,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.23  2003/09/25 14:07:02  outlyer
+ # My autocolor plugin which allows me to run a system command before plaaying
+ # video. It doesn't have to be a color command, you can change mixer settings
+ # or anything else you can do in a shell script.
+ #
  # Revision 1.22  2003/09/21 13:17:20  dischi
  # add OSD_MESSAGE and DIRECTORY_CHANGE_DISPLAY_TYPE (not on any key)
***************
*** 491,492 ****
--- 496,499 ----
  OSD_MESSAGE     = Event('OSD_MESSAGE')
  
+ VIDEO_START     = Event('VIDEO_START')
+ VIDEO_END       = Event('VIDEO_END')

Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/childapp.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** childapp.py 25 Sep 2003 09:39:27 -0000      1.19
--- childapp.py 25 Sep 2003 14:07:02 -0000      1.20
***************
*** 10,13 ****
--- 10,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.20  2003/09/25 14:07:02  outlyer
+ # My autocolor plugin which allows me to run a system command before plaaying
+ # video. It doesn't have to be a color command, you can change mixer settings
+ # or anything else you can do in a shell script.
+ #
  # Revision 1.19  2003/09/25 09:39:27  dischi
  # fix childapp killing problem
***************
*** 364,368 ****
                  if hasattr(self.app, 'item'):
                      rc.post_event(Event(PLAY_START, arg=self.app.item))
!                 
                  while self.mode == 'play' and self.app.isAlive():
                      time.sleep(0.1)
--- 369,376 ----
                  if hasattr(self.app, 'item'):
                      rc.post_event(Event(PLAY_START, arg=self.app.item))
!                
!                 if self.stop_osd:       # Implies a video file
!                     rc.post_event(Event(VIDEO_START))
! 
                  while self.mode == 'play' and self.app.isAlive():
                      time.sleep(0.1)
***************
*** 377,380 ****
--- 385,391 ----
                  if self.stop_osd and config.STOP_OSD_WHEN_PLAYING:
                      osd.restart()
+ 
+                 if self.stop_osd:       # Implies a video file
+                     rc.post_event(Event(VIDEO_END))
  
                  # send mode to idle




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to