Breee
Posts: 2
Joined: Fri Jan 10, 2014 5:57 pm

Mopidy + Spotify

Fri Jan 10, 2014 6:03 pm

Hi there!

I'm trying to set my PI to be a file and audio server. I was able to set up the file server, but i failed miserably while installing/configuring mopidy. My only source for audio is spotify. I also need some kind of software (web, windows, windows phone 8) to control mopidy.

My OS is raspbian.

Anyways, I tried to install mopidy using this ( http://docs.mopidy.com/en/latest/instal ... spberrypi/ ) tutorial, i guess it installed correctly, but i'm not able to start it.

Does anyone know any step-by-step tutorial on how to install this kind of system correctly, or do you happen to know how to do it?
Thanks.

Morfeus
Posts: 19
Joined: Thu Nov 07, 2013 10:47 am

Re: Mopidy + Spotify

Sat Jan 11, 2014 7:49 am

What happens if you type mopidy and hit enter at the terminal? Please post the output.

There is a very nice GUI to control mopidy, spottily and more:

http://sourceforge.net/projects/rompr/

Breee
Posts: 2
Joined: Fri Jan 10, 2014 5:57 pm

Re: Mopidy + Spotify

Sat Jan 11, 2014 9:34 am

Output:

INFO Starting Mopidy 0.17.0
INFO Loading config from: builtin defaults, command line options
INFO Initialized $XDG_CONFIG_DIR/mopidy/mopidy.conf with default config
INFO Loading config from: builtin defaults, /home/pi/.config/mopidy/mopidy.conf, command line options
INFO Enabled extensions: spotify, mpd, http, stream, local
INFO Disabled extensions: none
ERROR Config value local/media_dir must be set.

Morfeus
Posts: 19
Joined: Thu Nov 07, 2013 10:47 am

Re: Mopidy + Spotify

Sat Jan 11, 2014 2:10 pm

Did you edit mopidy.conf at all? You'll find a how-to on the mopidy website.

Anyhow, it seems you did not. The directory where your local music is, must be set in mopidy.conf, as the last line of the output clearly tells you. Probably some other entries are also missing, but the startup stops there.

Please post your mopidy.conf

Steven007
Posts: 2
Joined: Tue Apr 15, 2014 1:06 pm

Re: Mopidy + Spotify

Tue Apr 15, 2014 2:07 pm

Hi,
I am a complete newbe in the use of linux and raspberry pi.
I have installed on my raspberry pi the Wheezy image and mopidy with spotify and soundcloud.
But can not start mopidy
I changed the /home/../.config/mopidy/mopidy.conf
but the changes doesn't work

charliedk
Posts: 10
Joined: Tue Oct 07, 2014 9:00 am

Re: Mopidy + Spotify

Sun Jan 25, 2015 9:10 pm

I fixed this problem.

Open Terminal and type:

sudo -i

nano /root/.config/mopidy/mopidy.conf

And then edit the file with the correct path.

Return to “Graphics, sound and multimedia”