Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18318
Modified Files:
playlist.py
Log Message:
Small bugfix for repeat handling.
Index: playlist.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/playlist.py,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** playlist.py 16 Jul 2005 09:48:20 -0000 1.95
--- playlist.py 26 Jul 2005 12:56:09 -0000 1.96
***************
*** 421,425 ****
pos = self.playlist.index(self.__current)
pos = (pos+1) % len(self.playlist)
! if pos or REPEAT_PLAYLIST:
self.__next = self.playlist[pos]
else:
--- 421,425 ----
pos = self.playlist.index(self.__current)
pos = (pos+1) % len(self.playlist)
! if pos or self.repeat == REPEAT_PLAYLIST:
self.__next = self.playlist[pos]
else:
***************
*** 463,467 ****
pos = self.playlist.index(self.__current)
pos = (pos+1) % len(self.playlist)
! if pos or REPEAT_PLAYLIST:
self.__next = self.playlist[pos]
# cache next item (imageviewer)
--- 463,467 ----
pos = self.playlist.index(self.__current)
pos = (pos+1) % len(self.playlist)
! if pos or self.repeat == REPEAT_PLAYLIST:
self.__next = self.playlist[pos]
# cache next item (imageviewer)
-------------------------------------------------------
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