Add two new methods for the backend API
This commit is contained in:
parent
682b14c13c
commit
21019740b1
@ -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``.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user