Author: dmeyer
Date: Sun Oct 29 20:06:48 2006
New Revision: 8515

Modified:
   trunk/ui/src/directory.py

Log:
Give beacon query to playlist. Add num_dir_items to get_items

Modified: trunk/ui/src/directory.py
==============================================================================
--- trunk/ui/src/directory.py   (original)
+++ trunk/ui/src/directory.py   Sun Oct 29 20:06:48 2006
@@ -221,6 +221,9 @@
             if key == 'num_play_items':
                 return num_items[1]
 
+            if key == 'num_dir_items':
+                return num_items[2]
+
         if key in ( 'freespace', 'totalspace' ):
             space = getattr(util, key)(self.dir) / 1000000
             if space > 1000:
@@ -362,7 +365,9 @@
         display_type = self.display_type
         if self.display_type == 'tv':
             display_type = 'video'
-        pl = Playlist(playlist = [ (self.dir, recursive) ], parent = self,
+
+        query = kaa.beacon.query(parent=self.info, recursive=recursive)
+        pl = Playlist(playlist = query, parent = self,
                       type=display_type, random=random)
         pl.play()
 

-------------------------------------------------------------------------
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