Problem with configuration on mopidy

hi, i’ve just installed mopidy and extension for spotify.
I have modified the “mopidy.config” file in “/home/Pi/.config/mopidy”
But the modifcation do not appear in the “mopidy config”.
It return:

[spotify]
enabled = false ; Extension disabled due to config errors.
username = ; Must be set.
password = ; Must be set.

My config file:

[spotify]
enabled = true
username = “my username”
password = “my password”

Thanks for helping.

enabled = true is the default, so it can be left out.

The username and password fields shouldn’t have quotes:

[spotify]
username = my_username
password = my_password

I dont have the quotes at my username & password
But the Mopidy Config says

[spotify]
enabled = false ; Extension disabled due to config errors.
username = ; Must be set.
password = ; Must be set.

How can i change that?

i’ve changed everything in “mopidy.config” file in “/home/Pi/.config/mopidy”

Ah, the file should be named mopidy.conf, not mopidy.config.

Isn’t it mopidy.conf? If you are running as a system service then the conf
file needs to go elsewhere. The information on where is in the
documentation.

I’ve changed everything in the “mopidy.conf”, but it wont change in the mopidy config command.

i edit my mopidy.conf file and it wont change at the mopidy config command.

Hi,

I am actually running into the same issue. The spotify values are not showing up when running mopidy config and I have them thus in my config:
username = name
password = pass

Also, I altered the host for mpd and http to ::: , these changes aren’t showing up either.
This is running on Arch. I see it is pulling from both ~/.config/mopidy/mopidy.conf as well as /etc/xdg/mopidy/mopidy.conf. I cp’ed my home config to the second folder but this didn’t help either. Chmodding both files to 777 didn’t work either and killall mopidy says its not running.
What else can I try to make this work?

I had the same issue here. The solution was to delete “/home/Pi/.config/mopidy/mopidy.conf” create a new empty file, with the same name and dir, and just write the config values that you want to modify.