Update of /cvsroot/freevo/freevo/src In directory sc8-pr-cvs1:/tmp/cvs-serv29152
Modified Files: event.py playlist.py Log Message: TRUE/True/FALSE/False changes Index: event.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/event.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** event.py 10 Sep 2003 19:05:05 -0000 1.20 --- event.py 19 Sep 2003 22:07:14 -0000 1.21 *************** *** 10,25 **** # ----------------------------------------------------------------------- # $Log$ # Revision 1.20 2003/09/10 19:05:05 dischi # move osd keybindings into the config file - # - # Revision 1.19 2003/09/01 16:40:53 dischi - # add PLAY_START - # - # Revision 1.18 2003/08/28 03:46:13 outlyer - # Support for Chapter-by-chapter navigation in DVDs using the CH+ and CH- keys. - # - # Revision 1.17 2003/08/23 12:51:41 dischi - # removed some old CVS log messages - # # # ----------------------------------------------------------------------- --- 10,18 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.21 2003/09/19 22:07:14 dischi + # TRUE/True/FALSE/False changes + # # Revision 1.20 2003/09/10 19:05:05 dischi # move osd keybindings into the config file # # ----------------------------------------------------------------------- Index: playlist.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/playlist.py,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** playlist.py 14 Sep 2003 20:09:36 -0000 1.24 --- playlist.py 19 Sep 2003 22:07:15 -0000 1.25 *************** *** 10,23 **** # ----------------------------------------------------------------------- # $Log$ # Revision 1.24 2003/09/14 20:09:36 dischi # removed some TRUE=1 and FALSE=0 add changed some debugs to _debug_ # - # Revision 1.23 2003/09/13 10:08:21 dischi - # i18n support - # - # Revision 1.22 2003/08/23 12:51:41 dischi - # removed some old CVS log messages - # - # # ----------------------------------------------------------------------- # Freevo - A Home Theater PC framework --- 10,19 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.25 2003/09/19 22:07:15 dischi + # TRUE/True/FALSE/False changes + # # Revision 1.24 2003/09/14 20:09:36 dischi # removed some TRUE=1 and FALSE=0 add changed some debugs to _debug_ # # ----------------------------------------------------------------------- # Freevo - A Home Theater PC framework *************** *** 181,185 **** self.current_item = None self.playlist = [] ! self.autoplay = FALSE if isinstance(file, list): # file is a playlist --- 177,181 ---- self.current_item = None self.playlist = [] ! self.autoplay = False if isinstance(file, list): # file is a playlist *************** *** 257,261 **** if not self.playlist: print 'empty playlist' ! return FALSE if not arg or arg != 'next': --- 253,257 ---- if not self.playlist: print 'empty playlist' ! return False if not arg or arg != 'next': *************** *** 273,277 **** # no repeat self.current_item = None ! return TRUE self.current_item.actions()[0][0](menuw=menuw) --- 269,273 ---- # no repeat self.current_item = None ! return True self.current_item.actions()[0][0](menuw=menuw) *************** *** 286,290 **** def eventhandler(self, event, menuw=None): - if not menuw: menuw = self.menuw --- 282,285 ---- *************** *** 300,304 **** self.current_item = self.playlist[pos] self.play(menuw=menuw, arg='next') ! return TRUE # end and no next item --- 295,299 ---- self.current_item = self.playlist[pos] self.play(menuw=menuw, arg='next') ! return True # end and no next item *************** *** 307,311 **** if menuw: menuw.show() ! return TRUE --- 302,306 ---- if menuw: menuw.show() ! return True *************** *** 318,322 **** self.current_item = self.playlist[pos] self.play(menuw=menuw, arg='next') ! return TRUE # give the event to the next eventhandler in the list --- 313,317 ---- self.current_item = self.playlist[pos] self.play(menuw=menuw, arg='next') ! return True # give the event to the next eventhandler in the list *************** *** 335,339 **** self.current_item = None self.playlist = [] ! self.autoplay = TRUE self.unplayed = playlist --- 330,334 ---- self.current_item = None self.playlist = [] ! self.autoplay = True self.unplayed = playlist *************** *** 355,359 **** if not play_items: print 'FIXME: this should never happen' ! return FALSE element = play_items[0] --- 350,354 ---- if not play_items: print 'FIXME: this should never happen' ! return False element = play_items[0] *************** *** 363,367 **** element.parent = self element(menuw=menuw) ! return TRUE --- 358,362 ---- element.parent = self element(menuw=menuw) ! return True *************** *** 378,382 **** if self.unplayed: return self.play_next(arg=arg, menuw=menuw) ! return FALSE --- 373,377 ---- if self.unplayed: return self.play_next(arg=arg, menuw=menuw) ! return False *************** *** 403,407 **** if menuw: menuw.show() ! return TRUE if event == em.PLAYLIST_PREV: --- 398,402 ---- if menuw: menuw.show() ! return True if event == em.PLAYLIST_PREV: ------------------------------------------------------- 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