summaryrefslogtreecommitdiff
path: root/src/mpdpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpdpp.cpp')
-rw-r--r--src/mpdpp.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mpdpp.cpp b/src/mpdpp.cpp
index 7974cb42..6604180a 100644
--- a/src/mpdpp.cpp
+++ b/src/mpdpp.cpp
@@ -297,6 +297,13 @@ void Connection::Shuffle()
checkErrors();
}
+void Connection::ShuffleRange(unsigned start, unsigned end)
+{
+ prechecksNoCommandsList();
+ mpd_run_shuffle_range(m_connection.get(), start, end);
+ checkErrors();
+}
+
void Connection::ClearMainPlaylist()
{
prechecksNoCommandsList();