Mopidy Discourse

Add a new extension at 12/20

i can not install a new extension to Pi MusicBox.

via apt-get, i get an error:

apt-get install mopidy-mpd

The following packages have unmet dependencies:
mopidy-mpd : Depends: mopidy (>= 3.0.0) but it is not going to be installed
Depends: python3-pkg-resources but it is not installable
Depends: python3-pykka (>= 2.0.1) but it is not going to be installed
Depends: python3:any but it is not installable
E: Unable to correct problems, you have held broken packages.

via pip, it tells me:

pip install mopidy-mpd

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement mopidy-mpd (from versions: none)
ERROR: No matching distribution found for mopidy-mpd

is there another way to add a new extension?

You can’t really upgrade it. But the MPD frontend is already installed anyway.

it’s good to know.

can you tell me, please, how can i connect to musicbox with a mpd client?

i usually play music via mpd + cantata, but i can not get cantata to connect with pi music box (i access to it at musicbox.local / IP address without any problem).

netstat -tlpn

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 2425/smbd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2436/dropbear
tcp 0 0 0.0.0.0:6680 0.0.0.0:* LISTEN 2463/python
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 2425/smbd
tcp6 0 0 0.0.0.0:6600 :::* LISTEN 2463/python
tcp6 0 0 :::139 :::* LISTEN 2425/smbd
tcp6 0 0 :::22 :::* LISTEN 2436/dropbear
tcp6 0 0 :::445 :::* LISTEN 2425/smbd

You can see Mopidy is listening on port 6600, as you would expect. Try connecting and then take a look at the log file in /var/log/mopidy/mopidy.log.

i see: mopidy > python > 6600.

it works. thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.