Use remove(track) instead of remove(position)
This commit is contained in:
parent
922662bff9
commit
1aeec4e75c
@ -75,12 +75,12 @@
|
|||||||
|
|
||||||
The currently loaded :class:`mopidy.models.Playlist`.
|
The currently loaded :class:`mopidy.models.Playlist`.
|
||||||
|
|
||||||
.. method:: remove(position)
|
.. method:: remove(track)
|
||||||
|
|
||||||
Remove the track at ``position`` from the current playlist.
|
Remove the track from the current playlist.
|
||||||
|
|
||||||
:param position: position of track to remove
|
:param track: track to remove
|
||||||
:type position: int
|
:type track: :class:`mopidy.models.Track`
|
||||||
|
|
||||||
.. method:: shuffle(start=None, end=None)
|
.. method:: shuffle(start=None, end=None)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user