From a1a19374b21948ff4f7b7eb736ddf9869a909c0d Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 4 Jul 2011 22:23:55 +0200 Subject: [PATCH 1/2] Return number of Spotify frames we consumed, as expected by pyspotify/libspotify --- mopidy/backends/spotify/session_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mopidy/backends/spotify/session_manager.py b/mopidy/backends/spotify/session_manager.py index fd71d861..2c6509ed 100644 --- a/mopidy/backends/spotify/session_manager.py +++ b/mopidy/backends/spotify/session_manager.py @@ -118,6 +118,7 @@ class SpotifySessionManager(BaseThread, PyspotifySessionManager): 'channels': channels, } self.gstreamer.emit_data(capabilites, bytes(frames)) + return num_frames def play_token_lost(self, session): """Callback used by pyspotify""" From 33d61c8fc69261d8f02b0b9b09a0dffc41997116 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Mon, 4 Jul 2011 22:39:11 +0200 Subject: [PATCH 2/2] Update reference to CustomOutput --- mopidy/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mopidy/settings.py b/mopidy/settings.py index 9ac63719..f3e012ed 100644 --- a/mopidy/settings.py +++ b/mopidy/settings.py @@ -26,7 +26,8 @@ BACKENDS = ( #: details on the format. CONSOLE_LOG_FORMAT = u'%(levelname)-8s %(message)s' -#: Which GStreamer bin description to use in :class:`mopidy.outputs.CustomOutput`. +#: Which GStreamer bin description to use in +#: :class:`mopidy.outputs.custom.CustomOutput`. #: #: Default:: #: