summaryrefslogtreecommitdiff
path: root/nephilim/mpclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'nephilim/mpclient.py')
-rw-r--r--nephilim/mpclient.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py
index bd137ea..dc4a131 100644
--- a/nephilim/mpclient.py
+++ b/nephilim/mpclient.py
@@ -157,10 +157,10 @@ class MPClient(QtCore.QObject):
def is_playing(self):
"""Returns True if MPD is playing, False otherwise."""
return self._status['state'] == 'play'
- def find(self, path):
+ def find(self, *args):
if not self.__check_command_ok('find'):
return []
- return self._client.find('file', path.encode('utf-8'))
+ return self._array_to_song_array(self._client.find(*args))
def update_db(self, paths = None):
"""Starts MPD database update."""