f4b355a09433 — Oben Sonne 10 years ago
server: fix bong test player
1 files changed, 2 insertions(+), 4 deletions(-)

M server/src/tests/bong.py
M server/src/tests/bong.py +2 -4
@@ 120,10 120,8 @@ class Bong(dbus.service.Object):
         log("get track")
         if not self.x.get('playlist', []):
             return '', '', {}
-        track = self.x['playlist'][self.x.get('position', 0)].copy()
-        uid = track.pop('uid')
-        title = track.pop('title')
-        return uid, title, track
+        uid, title, meta = self.x['playlist'][self.x.get('position', 0)]
+        return uid, title, meta
 
     @dbus.service.method(IFACE, '', 'u')
     def GetVolume(self):