diff options
Diffstat (limited to 'nephilim')
-rw-r--r-- | nephilim/mpclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nephilim/mpclient.py b/nephilim/mpclient.py index 21cd511..c66017a 100644 --- a/nephilim/mpclient.py +++ b/nephilim/mpclient.py @@ -287,9 +287,9 @@ class MPClient(QtCore.QObject): for path in paths: self.logger.info('Adding %s to playlist'%path) if pos < 0: - self._client.addid(path.encode('utf-8')) + self._client.addid(path) else: - self._client.addid(path.encode('utf-8'), pos) + self._client.addid(path, pos) pos += 1 try: ret = list(self._client.command_list_end()) |