ece2c7ce3b16 — Oben Sonne 10 years ago
server: remuco bridge passes library requests directly
1 files changed, 2 insertions(+), 6 deletions(-)

M server/src/remuco/bridges/__init__.py
M server/src/remuco/bridges/__init__.py +2 -6
@@ 312,13 312,9 @@ class RemucoBridge(DBusBridge):
         self.rp.SetRating(value, **self.voidhandler)
 
     def gettracklist(self, path, reply):
-
-        def ontracklist():
-            reply() # TODO: ...
-
         try:
-            self.rp.GetTracklist(path, reply_handler=ontracklist,
-                                 error_handler=self.ondbuserror)
+            self.rp.GetTracklist(path,
+                reply_handler=reply, error_handler=self.ondbuserror)
         except DBusException as e:
             self.ondbuserror(e)