diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-08-25 15:20:57 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-08-25 15:20:57 +0200 |
commit | 0c95be93be050311ad4d3c4e56fa827a08b20efa (patch) | |
tree | 08752c0716a1ba9c286d344652c8f14a66b13b2d /nephilim/mpclient.py | |
parent | 6a66a43ef1fc01e128c4ac8e5a80214bd87518d2 (diff) |
mpclient & mpd: add findadd command.
Diffstat (limited to 'nephilim/mpclient.py')
-rw-r--r-- | nephilim/mpclient.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py index dc4a131..fa5fd3c 100644 --- a/nephilim/mpclient.py +++ b/nephilim/mpclient.py @@ -161,6 +161,10 @@ class MPClient(QtCore.QObject): if not self.__check_command_ok('find'): return [] return self._array_to_song_array(self._client.find(*args)) + def findadd(self, *args): + if not self.__check_command_ok('findadd'): + return + return self._client.findadd(*args) def update_db(self, paths = None): """Starts MPD database update.""" |