Spotipy

Quick one for those that have got it to work…

Where is the config file that is used for the server? Is it /etc/mopidy/mopidy.conf? It seems to be where ‘ps -aux’ tells me the command line thinks it is but I wanted to check - it doesn’t have values in there for my spotify account but the Iris UI tells me I am logged in. (I’m not looking to be able to use Spotify - I mention it only as it suggests I may have an incorrect file location for the config)

Also, local files… Has anyone got them to appear in the UI? From the config mentioned above I tracked the folder down and popped a few files in there. I then ran ‘mopidy --config /etc/mopidy/mopidy.conf local scan’ which did a successful scan, found the files and added the details to the json.tgz file, but they just won’t appear in the UI.

I suspect foolishness on my part, but I’d appreciate any help.
Thanks
Marc.

I highly recommend you read the mopidy doc… as far as I can tell the result of your local files scanning would populate some files only relevant when mopidy is ran as the pi user.

Check https://docs.mopidy.com/en/latest/service/ for details.

Oh, the old cheating trick of reading the docs, eh? I see. ;)

So instead of running

mopidy --config /etc/mopidy/mopidy.conf local scan

I tried

sudo mopidyctl local scan

And guess what? Files show up.

Thank you.

1 Like