Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1:/tmp/cvs-serv10627/video
Modified Files:
videoitem.py
Log Message:
set menu type to video and info_item type to track for DVD/VCD menu
Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** videoitem.py 20 Jun 2003 17:48:01 -0000 1.53
--- videoitem.py 20 Jun 2003 18:46:53 -0000 1.54
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.54 2003/06/20 18:46:53 dischi
+ # set menu type to video and info_item type to track for DVD/VCD menu
+ #
# Revision 1.53 2003/06/20 17:48:01 dischi
# Title menu is now the default action for DVD/VCD. Autoplay is done by
***************
*** 285,289 ****
a = Item.getattr(self, attr)
if not a and self.info and self.info.has_key(attr):
! a = str(self.info[attr])
return a
--- 288,295 ----
a = Item.getattr(self, attr)
if not a and self.info and self.info.has_key(attr):
! if attr == 'length':
! a = '%s:%s' % (self.info[attr] / 60, self.info[attr] % 60)
! else:
! a = str(self.info[attr])
return a
***************
*** 651,654 ****
--- 657,661 ----
if self.info.has_key('tracks'):
file.info = self.info.tracks[title-1]
+ file.info_type = 'track'
file.filename = '%s' % title
file.name = 'Play Title %s' % title
***************
*** 656,660 ****
moviemenu = menu.Menu(self.name, items, umount_all = 1,
xml_file=self.xml_file)
!
if pop:
pop.destroy()
--- 663,667 ----
moviemenu = menu.Menu(self.name, items, umount_all = 1,
xml_file=self.xml_file)
! moviemenu.item_types = 'video'
if pop:
pop.destroy()
-------------------------------------------------------
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