Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1:/tmp/cvs-serv7871
Modified Files:
videoitem.py
Log Message:
special handling if there is a DVD_PLAYER plugin
Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** videoitem.py 19 Jul 2003 11:45:11 -0000 1.64
--- videoitem.py 20 Jul 2003 17:46:59 -0000 1.65
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.65 2003/07/20 17:46:59 dischi
+ # special handling if there is a DVD_PLAYER plugin
+ #
# Revision 1.64 2003/07/19 11:45:11 dischi
# moved mmpython parsing to VideoItem
***************
*** 359,364 ****
if not self.filename or self.filename == '0':
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
--- 362,370 ----
if not self.filename or self.filename == '0':
if self.mode == 'dvd':
! title_list = ( self.dvd_vcd_title_menu, 'DVD title list' )
! if plugin.getbyname(plugin.DVD_PLAYER):
! items = [ items[0], title_list ] + items[1:]
! else:
! items = [ title_list ] + items
if self.mode == 'vcd':
items = [( self.dvd_vcd_title_menu, 'VCD title list' )] + items
***************
*** 415,418 ****
--- 421,429 ----
self.menuw = menuw
+ if self.filename == '0' and self.mode == 'dvd' and \
+ plugin.getbyname(plugin.DVD_PLAYER):
+ plugin.getbyname(plugin.DVD_PLAYER).play(self)
+ return
+
if self.subitems:
self.current_subitem = self.subitems[0]
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog