Forum
Mopidy / Spotify package? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: Mopidy / Spotify package? (/thread-1527.html)

Pages: 1 2


RE: Mopidy / Spotify package? - josch - 26th Aug, 2014 12:56 AM

(25th Aug, 2014 07:20 AM)jiserra Wrote:  
(20th Aug, 2014 03:29 AM)josch Wrote:  If someone does still have problems, just call...

Care to share a guide on installing from the beggining? I've been trying to install Mopidy with the Spotify extension without success Sad Thanks in advance!

So, where exactly does it fail?

Before installing mopidy, you have to install the libtag package:

Afterwards I've just followed the official howto with alsasink as output:
http://docs.mopidy.com/en/latest/installation/raspberrypi/

Finally, snd_bcm2835 must be loaded to make the alsa audio output working:
Terminal
sudo modprobe snd_bcm2835

That's it.


RE: Mopidy / Spotify package? - jiserra - 30th Aug, 2014 10:01 AM

Thanks @josch! I have only one problem. I can get the audio out through HDMI. Is there any way to get it through the analog output? I tried everything with no luck, thanks!

---

EDIT: I've installed ALSA Utils and I did like it says on the Mopidy installation and all went well, thanks a lot!


RE: Mopidy / Spotify package? - danell - 25th Oct, 2014 09:22 PM

For you guys who have got mopidy working on your xbian, how does your init file look like? I can start mopidy by running mopidy in the terminal but I can't get it to start on startup.
I have played around in the init file but without success Sad


RE: Mopidy / Spotify package? - kingosticks - 26th Oct, 2014 02:24 AM

(25th Oct, 2014 09:22 PM)danell Wrote:  For you guys who have got mopidy working on your xbian, how does your init file look like? I can start mopidy by running mopidy in the terminal but I can't get it to start on startup.
I have played around in the init file but without success Sad

You shouldn't need to edit anything in the init file to get it working and it works on my xbian system just fine. Can you start the service manually once the system is up and running i.e. 'sudo service mopidy start' ? All the information at https://docs.mopidy.com/en/latest/debian/ is worth reading and is perfectly valid for xbian.


RE: Mopidy / Spotify package? - danell - 26th Oct, 2014 03:14 AM

I got it working after a while. I had to change the init file to this:

DAEMON_USER=root
DAEMON_GROUP=root
CONFIG_FILES="/root/.config/mopidy/mopidy.conf"

After that it worked


RE: Mopidy / Spotify package? - martinus36 - 11th Nov, 2014 04:30 AM

Hello everyone,

I just installed xbian with some things like transmission, rpi-monitor, nginx. It's working fine.
I have a Deezer premium account but i can't stream music from a non-root android phone. Then i saw some tutorials to make a spotify streaming station on raspberry, i'm very interested!

But first step i have an error. Here's what i did:

xbian@xbian ~ $ sudo modprobe ipv6
xbian@xbian ~ $ wget -q -O - http://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
xbian@xbian ~ $ sudo wget -q -O /etc/apt/sources.list.d/mopidy.list http://apt.mopidy.com/mopidy.list
xbian@xbian ~ $ sudo apt-get update

And...

xbian@xbian ~ $ sudo apt-get install modipy
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package modipy

Is anyone have a solution? Smile

PS: Sorry if my english isn't perfect.

EDIT: Guess what? Package is called mopidy, not modipy... Sorry about that.


RE: Mopidy / Spotify package? - mdogx - 3rd Dec, 2019 06:28 PM

Guys, I definitely doing something wrong:

Quote:xbian@xbian ~ $ cat /etc/apt/sources.list.d/mopidy.list
# Mopidy APT archive
# Built on Debian 10 (buster), compatible with Ubuntu 19.10 and newer
deb http://apt.mopidy.com/ buster main contrib non-free
deb-src http://apt.mopidy.com/ buster main contrib non-free

xbian@xbian ~ $ sudo apt-get install mopidy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mopidy : Depends: gstreamer1.0-plugins-good but it is not going to be installed
E: Unable to correct problems, you have held broken packages.



RE: Mopidy / Spotify package? - Nachteule - 4th Dec, 2019 03:35 AM

Then install gstreamer1.0-plugins-good !!!!!


RE: Mopidy / Spotify package? - mdogx - 4th Dec, 2019 08:03 PM

(4th Dec, 2019 03:35 AM)Nachteule Wrote:  Then install gstreamer1.0-plugins-good !!!!!

Thanks!!

Unfortunately it is not possible due to libs incompatibility.


RE: Mopidy / Spotify package? - Nachteule - 4th Dec, 2019 11:43 PM

(4th Dec, 2019 08:03 PM)mdogx Wrote:  
(4th Dec, 2019 03:35 AM)Nachteule Wrote:  Then install gstreamer1.0-plugins-good !!!!!

Thanks!!

Unfortunately it is not possible due to libs incompatibility.

You're doing something wrong. No idea what it is Huh

I can install it, absolute no problem, here my installation output: http://paste.debian.net/1119442/

Terminal

root@kmxbilr2 /tmp # cat /etc/issue
XBian GNU/Linux 10 \n \l

root@kmxbilr2 /tmp # cat /etc/issue.net
XBian GNU/Linux 10

root@kmxbilr2 /tmp # root@kmxbilr2 /tmp # dpkg-query -s mopidy
Package: mopidy
Status: install ok installed
Priority: optional
Section: sound
Installed-Size: 817
Maintainer: Stein Magnus Jodal <jodal@debian.org>
Architecture: all
Version: 2.3.1-1
Depends: adduser, debconf, gir1.2-gst-plugins-base-1.0, gir1.2-gstreamer-1.0, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, lsb-base, python-gst-1.0, python-tornado (>= 4.4), debconf (>= 0.5) | debconf-2.0, python-pkg-resources, python-pykka, python-requests, python:any (<< 2.8), python:any (>= 2.7~)
Recommends: gstreamer1.0-alsa, gstreamer1.0-pulseaudio, gstreamer1.0-tools
Suggests: mopidy-doc
Conffiles:
/etc/init.d/mopidy 6497b0bd99544ca43fccefb56ae0d18b
/etc/logrotate.d/mopidy a8e64ce52001ba5c673af6789a6c78ea
/etc/mopidy/logging.conf dbacd3800f63ef3c2a7135a6f3ee573d
/etc/mopidy/mopidy.conf 9aa66909532ec0a33092374b904d3a28
Description: music server with support for MPD/HTTP clients
Mopidy is an extensible music server which can play music from local
files, radio streams, and cloud services such as Spotify and SoundCloud.
.
Searches combine results from all music sources, and tracks can be mixed from
all sources in the play queue. Spotify or SoundCloud playlists are
also available for use.
Homepage: https://www.mopidy.com/