Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8052/src
Modified Files:
event.py playlist.py
Log Message:
add event to toggle playlist repeat
Index: event.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/event.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** event.py 6 Feb 2004 01:10:23 -0000 1.39
--- event.py 13 Feb 2004 18:32:57 -0000 1.40
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.40 2004/02/13 18:32:57 dischi
+ # add event to toggle playlist repeat
+ #
# Revision 1.39 2004/02/06 01:10:23 mikeruelle
# it is nice to have zero in tvtime
***************
*** 158,161 ****
--- 161,165 ----
PLAYLIST_NEXT = Event('PLAYLIST_NEXT')
PLAYLIST_PREV = Event('PLAYLIST_PREV')
+ PLAYLIST_TOGGLE_REPEAT = Event('PLAYLIST_TOGGLE_REPEAT')
EJECT = Event('EJECT')
Index: playlist.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/playlist.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** playlist.py 8 Feb 2004 17:39:39 -0000 1.63
--- playlist.py 13 Feb 2004 18:32:57 -0000 1.64
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.64 2004/02/13 18:32:57 dischi
+ # add event to toggle playlist repeat
+ #
# Revision 1.63 2004/02/08 17:39:39 dischi
# small cosmetic fixes
***************
*** 495,499 ****
if not menuw:
menuw = self.menuw
!
if event in ( PLAYLIST_NEXT, PLAY_END, USER_END) \
and self.current_item and self.playlist:
--- 498,509 ----
if not menuw:
menuw = self.menuw
!
! if event == PLAYLIST_TOGGLE_REPEAT:
! self.repeat = not self.repeat
! if self.repeat:
! rc.post_event(Event(OSD_MESSAGE, arg=_('playlist repeat on')))
! else:
! rc.post_event(Event(OSD_MESSAGE, arg=_('playlist repeat off')))
!
if event in ( PLAYLIST_NEXT, PLAY_END, USER_END) \
and self.current_item and self.playlist:
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog