Author: dmeyer
Date: Wed Nov 7 16:10:55 2007
New Revision: 2901
Log:
dvd bugfixes
Modified:
trunk/beacon/src/client.py
trunk/beacon/src/media.py
Modified: trunk/beacon/src/client.py
==============================================================================
--- trunk/beacon/src/client.py (original)
+++ trunk/beacon/src/client.py Wed Nov 7 16:10:55 2007
@@ -424,7 +424,7 @@
# Adding a media always returns an InProgress object. Attach
# sending the signal to the InProgress return.
async = self._db.medialist.add(id, prop)
- async.connect_once(self.signals['media.add'].emit, media)
+ async.connect_once(self.signals['media.add'].emit)
@kaa.rpc.expose('device.removed')
Modified: trunk/beacon/src/media.py
==============================================================================
--- trunk/beacon/src/media.py (original)
+++ trunk/beacon/src/media.py Wed Nov 7 16:10:55 2007
@@ -115,6 +115,14 @@
self.label = self.id
+ def isdir(self):
+ """
+ Return False for items directly on the media without dir,
+ e.g. a dvd video.
+ """
+ return False
+
+
def get(self, key, default=None):
"""
Get value.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog