Author: dmeyer
Date: Sun Oct 29 20:05:52 2006
New Revision: 8514

Modified:
   trunk/ui/src/audio/fxdhandler.py
   trunk/ui/src/fxditem.py
   trunk/ui/src/image/fxdhandler.py
   trunk/ui/src/video/fxdhandler.py

Log:
add dirnameto fxd parser callbacks

Modified: trunk/ui/src/audio/fxdhandler.py
==============================================================================
--- trunk/ui/src/audio/fxdhandler.py    (original)
+++ trunk/ui/src/audio/fxdhandler.py    Sun Oct 29 20:05:52 2006
@@ -59,7 +59,7 @@
 
 from audioitem import AudioItem
 
-def fxdhandler(name, title, image, info, node, parent, listing):
+def fxdhandler(name, title, image, info, node, parent, listing, dirname):
     """
     parse audio specific stuff from fxd files
     """

Modified: trunk/ui/src/fxditem.py
==============================================================================
--- trunk/ui/src/fxditem.py     (original)
+++ trunk/ui/src/fxditem.py     Sun Oct 29 20:05:52 2006
@@ -116,7 +116,8 @@
             for types, tag, handler in callbacks:
                 if tag == name and \
                        (not display_type or not types or display_type in 
types):
-                    i = handler(name, title, image, info, node, parent, 
listing)
+                    i = handler(name, title, image, info, node, parent, 
listing,
+                                doc._dirname)
                     if i is not None:
                         items.append(i)
             if name == 'container':

Modified: trunk/ui/src/image/fxdhandler.py
==============================================================================
--- trunk/ui/src/image/fxdhandler.py    (original)
+++ trunk/ui/src/image/fxdhandler.py    Sun Oct 29 20:05:52 2006
@@ -68,7 +68,7 @@
 from imageitem import ImageItem
 
 
-def fxdhandler(name, title, image, info, node, parent, listing):
+def fxdhandler(name, title, image, info, node, parent, listing, dirname):
     """
     Parse image specific stuff from fxd files
     """

Modified: trunk/ui/src/video/fxdhandler.py
==============================================================================
--- trunk/ui/src/video/fxdhandler.py    (original)
+++ trunk/ui/src/video/fxdhandler.py    Sun Oct 29 20:05:52 2006
@@ -75,7 +75,7 @@
 # get logging object
 log = logging.getLogger('video')
 
-def parse_movie(name, title, image, info, node, parent, listing):
+def parse_movie(name, title, image, info, node, parent, listing, dirname):
     """
     Callback for VideoItem <movie>
     """

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to