From 21019740b1892f0e926f861bd20744e9167f4b8c Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 7 Feb 2010 22:36:08 +0100 Subject: [PATCH] Add two new methods for the backend API --- docs/api/backends.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/api/backends.rst b/docs/api/backends.rst index e20578ea..afcded4d 100644 --- a/docs/api/backends.rst +++ b/docs/api/backends.rst @@ -113,6 +113,10 @@ The currently playing or selected :class:`mopidy.models.Track`. + .. method:: new_playlist_loaded_callback() + + Tell the playback controller that a new playlist has been loaded. + .. method:: next() Play the next track. @@ -285,6 +289,13 @@ :param new_name: the new name :type new_name: string + .. method:: save(playlist) + + Save the playlist. + + :param playlist: the playlist + :type playlist: :class:`mopidy.models.Playlist` + .. method:: search(query) Search for playlists whose name contains ``query``.