Use remove(track) instead of remove(position)

This commit is contained in:
Stein Magnus Jodal 2010-02-07 04:20:28 +01:00
parent 922662bff9
commit 1aeec4e75c

View File

@ -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)