new feature: playlist sorting (Ctrl-V by default)

This commit is contained in:
Andrzej Rybczak
2009-02-18 20:08:50 +01:00
parent 70f48dd454
commit f162a7b880
17 changed files with 215 additions and 30 deletions

View File

@@ -290,6 +290,15 @@ void Connection::Move(int from, int to) const
}
}
void Connection::Swap(int from, int to) const
{
if (isConnected)
{
mpd_sendSwapCommand(itsConnection, from, to);
mpd_finishCommand(itsConnection);
}
}
void Connection::Seek(int where) const
{
if (isConnected)