diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-01-26 12:47:00 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-01-26 12:47:00 +0000 |
commit | e213ca4f8bf7b5cf309d6735a64fd799009d398c (patch) | |
tree | d043809558c99f13b16495030bcc3386e9fc70aa /Makefile.am | |
parent | 9eee1a81cf99d351d78bd6550dfa6646be364f3e (diff) | |
download | mpd-e213ca4f8bf7b5cf309d6735a64fd799009d398c.tar.gz mpd-e213ca4f8bf7b5cf309d6735a64fd799009d398c.tar.xz mpd-e213ca4f8bf7b5cf309d6735a64fd799009d398c.zip |
playlist: allow move to specify offset from current song
If (and only if) there is a current song in the playlist,
(player could be stopped), allow the move destination
argument to be specified as a negative number.
This means moving any song (besides the current one) to the -1
position will allow it to be moved to the next song in the
playlist. Moving any song to position -2 will move it
to the song after the next, and so forth.
Moving a song to -playlist.length will move it to the song
_before_ the current song on the playlist; so this will
work for repeating playlists, too.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7152 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions