• Eric Wong's avatar
    playlist: allow move to specify offset from current song · e213ca4f
    Eric Wong authored
    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
    e213ca4f
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...