Add minimal gstreamer library so that tests pass

This commit is contained in:
Thomas Adamcik 2010-04-29 22:20:40 +02:00
parent 3bc9a0a60c
commit aae64d2c23

View File

@ -41,6 +41,7 @@ class GStreamerBackend(BaseBackend):
self.playback = GStreamerPlaybackController(self)
self.stored_playlists = GStreamerStoredPlaylistsController(self)
self.current_playlist = BaseCurrentPlaylistController(self)
self.library = GStreamerLibraryController(self)
self.uri_handlers = [u'file://']
@ -177,3 +178,8 @@ class GStreamerStoredPlaylistsController(BaseStoredPlaylistsController):
file.write(track.uri + '\n')
self._playlists.append(playlist)
class GStreamerLibraryController(BaseLibraryController):
def refresh(self, uri=None):
pass