summaryrefslogtreecommitdiff
path: root/nephilim
diff options
context:
space:
mode:
authorAnton Khirnov <wyskas@gmail.com>2009-03-05 07:26:48 +0100
committerAnton Khirnov <wyskas@gmail.com>2009-03-05 07:26:48 +0100
commita79fa5cb820a8bfeb698de96b134e6d1303bdf04 (patch)
treea495636aee01b1f80ca19434cf2fa0af6ce229f1 /nephilim
parent1015a7d5772ec30bb7f83390b2e2d1ef2fc527d9 (diff)
mpclient: play can be called with no parameters.
Diffstat (limited to 'nephilim')
-rw-r--r--nephilim/mpclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py
index ceaaeab..7d44040 100644
--- a/nephilim/mpclient.py
+++ b/nephilim/mpclient.py
@@ -181,7 +181,7 @@ class MPClient(QtCore.QObject):
def isPlaying(self):
return self.getStatus()['state'] == 'play'
- def play(self, id):
+ def play(self, id = None):
"""Play song with ID $id."""
self._playCalled = True
if id: