Author: dmeyer
Date: Sat Feb 25 20:58:00 2006
New Revision: 7942

Modified:
   trunk/ui/src/video/fxdhandler.py

Log:
Do not override length from mmpython in any way. Now it
is at least possible to get the correct length from other
parts of freevo. This length / runtime stuff in seconds,
as string and in minutes as string needs a huge cleanup
once kaa.vfs is done.


Modified: trunk/ui/src/video/fxdhandler.py
==============================================================================
--- trunk/ui/src/video/fxdhandler.py    (original)
+++ trunk/ui/src/video/fxdhandler.py    Sat Feb 25 20:58:00 2006
@@ -145,7 +145,7 @@
     # create an item
     item = VideoItem('', fxd.getattr(None, 'parent', None))
     # add info from <info>
-    fxd.parse_info(node, item, {'runtime': 'length'})
+    fxd.parse_info(node, item, {'length': 'runtime'})
 
     video_list = []
     video = fxd.get_children(node, 'video')
@@ -317,7 +317,7 @@
     if item.image:
         item.image = vfs.abspath(os.path.join(dirname, item.image))
 
-    fxd.parse_info(node, item, {'runtime': 'length'})
+    fxd.parse_info(node, item, {'length': 'runtime'})
     item.__fxd_rom_info__      = True
     item.__fxd_rom_label__     = []
     item.__fxd_rom_id__        = []


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to