Add two new methods for the backend API

This commit is contained in:
Stein Magnus Jodal 2010-02-07 22:36:08 +01:00
parent 682b14c13c
commit 21019740b1

View File

@ -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``.