Update of /cvsroot/freevo/freevo/src/video In directory sc8-pr-cvs1:/tmp/cvs-serv12972
Modified Files: videoitem.py Log Message: add play with max cache for network streams Index: videoitem.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** videoitem.py 20 Sep 2003 17:02:09 -0000 1.87 --- videoitem.py 20 Sep 2003 17:31:00 -0000 1.88 *************** *** 11,14 **** --- 11,17 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.88 2003/09/20 17:31:00 dischi + # add play with max cache for network streams + # # Revision 1.87 2003/09/20 17:02:09 dischi # make it possible to deactivate mmpython for an item *************** *** 302,306 **** items += configure.get_items(self) ! if self.variants and len(self.variants) > 1: items = [ (self.show_variants, 'Show variants') ] + items --- 305,311 ---- items += configure.get_items(self) ! if self.mode == 'file' and self.filename.find('://') > 0: ! items.append((self.play_max_cache, _('Play with maximum cache'))) ! if self.variants and len(self.variants) > 1: items = [ (self.show_variants, 'Show variants') ] + items *************** *** 317,320 **** --- 322,328 ---- + def play_max_cache(self, arg=None, menuw=None): + self.play(menuw=menuw, arg='-cache 65536') + def play(self, arg=None, menuw=None): """ ------------------------------------------------------- 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