summaryrefslogtreecommitdiff
path: root/nephilim/mpclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/mpclient.py')
-rw-r--r--nephilim/mpclient.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py
index dbacf24..f0cf186 100644
--- a/nephilim/mpclient.py
+++ b/nephilim/mpclient.py
@@ -240,6 +240,11 @@ class MPClient(QtCore.QObject):
Move a song with given src id to position dst.
"""
self._command('moveid', src, dst)
+ def shuffle(self):
+ """
+ Shuffle the current playlist.
+ """
+ self._command('shuffle')
## database ##
def database(self, callback):