Mopidy can't find Spotify extension

I came across this post:https://github.com/mopidy/mopidy/issues/851install
And sure enough, I had 2 version of Mopidy installed. The one in usr/bin was version 3.0.2, and the one in usr/local/bin was version 2.3.1
When using the “mopidy” command in terminal, which launches the version 2.3.1 one, I can load all extensions EXCEPT the spotify one, which does not even show up in the list of enabled/disabled extensions. It is already configured in the .conf file. When I run the 3.0.2 version in usr/bin, the Spotify extension works - I am able to log in successfully. However, I get these error messages:

WARNING 2020-04-22 05:56:35,545 [2100:MainThread] mopidy.config
Ignoring config section ‘mopify’ because no matching extension was found
WARNING 2020-04-22 05:56:35,545 [2100:MainThread] mopidy.config
Ignoring config section ‘local’ because no matching extension was found
WARNING 2020-04-22 05:56:35,545 [2100:MainThread] mopidy.config
Ignoring config section ‘mpd’ because no matching extension was found

and I am unable to launch mopify. (Does not appear in the list of web clients). When launching the 2.3.1 version, loading mopidy/mopify on my browser only gave me a blank screen.

According to the forum post linked above, running the mopidy file in the usr/bin folder would allow all extensions to run. However, in my case, it only runs the Spotify extension, and the other version runs all extensions EXCEPT the Spotify one.
Any help would be greatly appreciated.

Uninstall the old version using the method appropriate to how you installed it. Or delete all the correct files. It’s not supported any more and it’s just confusing. Install the extensions you want (including mopidy-local and Mopidy-MPD), be sure to use python3 as the project readmes should all say. Remove the non-required parts of your config file.

Edit: Mopidy-mopify seems have old install instructions. If you are using Mopidy 3, that’s python 3 only and you should install with sudo python3 -m pip install mopidy-mopify.

1 Like

Hi, thanks for the quick response!
local and MPD work fine now, but even after installing Mopify with

it still does not recognize the extension.

Edit: Reinstalling Mopify worked. Thanks for the help

Also, I would like to play Spotify through the command line. I’ve installed mpc as suggested in another thread, but I am getting “mpd error: Connection refused”.
For context, I turned off mpd running as a service on startup because it interfered with me running mopidy. (Address already in use)

Make sure mopidy-mpd is enabled in the config file and listening on appropriate network interfaces. I use:

[mpd]
enabled = true
hostname = 0.0.0.0
port = 6600
1 Like

Got it working now. Thanks!