eonpatapon / mpDris2

MPRIS V2.1 support for mpd
GNU General Public License v3.0
210 stars 46 forks source link

Python 3 support. ModuleNotFoundError: No module named 'mpd' #86

Closed DolphinStKom closed 7 years ago

DolphinStKom commented 7 years ago

Need integration for Python 3. When I use any of the branches that get an error

mpDris2 Traceback (most recent call last): File "/usr/bin/mpDris2", line 29, in import mpd ModuleNotFoundError: No module named 'mpd'

as the default in the system python 3. If you change the file /usr/bin/mpris2 and explicitly specify it python version 2, it works. Please correct it please to at least Python 3 branch worked with Python 3.

grawity commented 7 years ago

The code is correct. You don't have a Py3 version of the mpd module installed.