Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1:/tmp/cvs-serv31466
Modified Files:
videoitem.py
Log Message:
Title menu is now the default action for DVD/VCD. Autoplay is done by
pressing PLAY and not SELECT. This file is also prepared for the use of
mmpython.
Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** videoitem.py 7 Jun 2003 11:32:17 -0000 1.52
--- videoitem.py 20 Jun 2003 17:48:01 -0000 1.53
***************
*** 10,13 ****
--- 10,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.53 2003/06/20 17:48:01 dischi
+ # Title menu is now the default action for DVD/VCD. Autoplay is done by
+ # pressing PLAY and not SELECT. This file is also prepared for the use of
+ # mmpython.
+ #
# Revision 1.52 2003/06/07 11:32:17 dischi
# added id to find the item if it changes
***************
*** 261,264 ****
--- 266,270 ----
self.id = obj.id
+
def sort(self, mode=None):
"""
***************
*** 301,307 ****
if self.mode == 'dvd':
items += [( self.dvdnav, 'DVD Menu (experimental)' )]
! items += [( self.dvd_vcd_title_menu, 'DVD title list' )]
if self.mode == 'vcd':
! items += [( self.dvd_vcd_title_menu, 'VCD title list' )]
for m in self.subitems:
# Allow user to watch one of the subitems instead of always both
--- 307,313 ----
if self.mode == 'dvd':
items += [( self.dvdnav, 'DVD Menu (experimental)' )]
! items = [( self.dvd_vcd_title_menu, 'DVD title list' )] + items
if self.mode == 'vcd':
! items = [( self.dvd_vcd_title_menu, 'VCD title list' )] + items
for m in self.subitems:
# Allow user to watch one of the subitems instead of always both
***************
*** 545,548 ****
--- 551,561 ----
self.menuw = menuw
+
+ # XXX all this scanning can be deleted if we switch to mmpython
+ # XXX also delete 'pop' in this function, it's already scanned by
+ # XXX mmpython and we will never use the popup box
+ # XXX
+ # XXX BEGIN BLOCK MARKED FOR DELETION
+ # XXX
if not self.num_titles:
# Use the uid to make a user-unique filename
***************
*** 613,616 ****
--- 626,633 ----
self.num_titles = 100 # XXX Kludge
+ # XXX
+ # XXX END BLOCK MARKED FOR DELETION
+ # XXX
+
#
# Done scanning the disc, set up the menu.
***************
*** 630,633 ****
--- 647,654 ----
for title in range(1,self.num_titles+1):
file = copy.copy(self)
+
+ # copy the attributes from mmpython about this track
+ if self.info.has_key('tracks'):
+ file.info = self.info.tracks[title-1]
file.filename = '%s' % title
file.name = 'Play Title %s' % title
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog