diff options
Diffstat (limited to 'src/mpdpp.cpp')
-rw-r--r-- | src/mpdpp.cpp | 7 |
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(); |