# Mopidy/iris/gstreamer/snapcast do not play tracks SOLVED

**URL:** <https://discourse.mopidy.com/t/mopidy-iris-gstreamer-snapcast-do-not-play-tracks-solved/5803>\
**Category:** Help and support\
**Created:** [August 17, 2023, 1:19pm UTC](https://discourse.mopidy.com/t/mopidy-iris-gstreamer-snapcast-do-not-play-tracks-solved/5803 "2023-08-17T13:19:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnj0104](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/dnj0104/32/1903_2.png) [@dnj0104](https://discourse.mopidy.com/u/dnj0104)\
**Post date:** [August 17, 2023, 1:19pm UTC](https://discourse.mopidy.com/t/mopidy-iris-gstreamer-snapcast-do-not-play-tracks-solved/5803/1 "2023-08-17T13:19:12Z")

</div>

hello ! PARTIALLY SOLVED

I managed to get Tunein Music to play to my clients- amazing,  
now shall I fix Mopidy-spotify also to play

I have some troublems with my mopidy/iris/snapcast server, following is just a server,  
I have other snapcast clients in other rooms so play music from server audio output is not necessary

Information about your computer’s hardware and software:  
Debian 11 Linux-5.10.0-24-amd64-x86\_64-with-glibc2.31@ Virtual Machine qemu/kvm @ Dell Optiplex 3060

Got this three warnings when choose to play from TuneIn or mopidy-spotify extension that one that works right now.  
In Iris right click on three dots after track title and notings happens, just the three warnings in terminal below.

```auto
Aug 15 21:27:13 UniCronPrime mopidy[773]: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not open file "/tmp/snapfifo" for writing.

Aug 15 21:27:13 UniCronPrime mopidy[773]: WARNING [Audio-2] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed

Aug 15 21:27:13 UniCronPrime mopidy[773]: WARNING [Core-8] mopidy.core.tracklist Track is not playable: tunein:station:s15404

* [Effective config]

```

[core]  
cache\_dir = /var/cache/mopidy  
config\_dir = /etc/mopidy  
data\_dir = /var/lib/mopidy  
max\_tracklist\_length = 10000  
restore\_state = false

[logging]  
verbosity = 0  
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s  
color = false  
config\_file =

[audio]  
mixer = software  
mixer\_volume =  
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/tmp/snapfifo  
buffer\_time =

[proxy]  
scheme =  
hostname =  
port =  
username =  
password =

[spotify]  
enabled = true  
username = xxxxxxxxxx  
password = \*\*\*\*\*\*\*\*  
client\_id = ösjhösdhgäödlgif  
client\_secret = \*\*\*\*\*\*\*\*  
bitrate = 320  
volume\_normalization = false  
timeout = 10  
allow\_cache = true  
cache\_size = 8192  
allow\_playlists = true  
search\_album\_count = 20  
search\_artist\_count = 10  
search\_track\_count = 50

[iris]  
enabled = true  
country = SE  
locale = en\_SV  
verify\_certificates = true  
snapcast\_enabled = true  
snapcast\_host = 192.168.xxx.xxx  
snapcast\_port = 1780  
snapcast\_ssl = false  
snapcast\_stream = default  
spotify\_authorization\_url = [https://jamesbarnsley.co.nz/iris/auth\_spotify.php](https://jamesbarnsley.co.nz/iris/auth_spotify.php)  
lastfm\_authorization\_url = [https://jamesbarnsley.co.nz/iris/auth\_lastfm.php](https://jamesbarnsley.co.nz/iris/auth_lastfm.php)  
genius\_authorization\_url = [https://jamesbarnsley.co.nz/iris/auth\_genius.php](https://jamesbarnsley.co.nz/iris/auth_genius.php)  
data\_dir = $XDG\_DATA\_DIR/iris

[file]  
enabled = true  
media\_dirs =  
$XDG\_MUSIC\_DIR|Music  
~/|Home  
excluded\_file\_extensions =  
.directory  
.html  
.jpeg  
.jpg  
.log  
.nfo  
.pdf  
.png  
.txt  
.zip  
show\_dotfiles = false  
follow\_symlinks = false  
metadata\_timeout = 1000

[http]  
enabled = true  
hostname = 192.168.xxx.xxxx  
port = 6680  
zeroconf = Mopidy HTTP server on $hostname  
allowed\_origins =  
csrf\_protection = true  
default\_app = mopidy

[m3u]  
enabled = true  
base\_dir =  
default\_encoding = latin-1  
default\_extension = .m3u8  
playlists\_dir =

[softwaremixer]  
enabled = true

[stream]  
enabled = true  
protocols =  
http  
https  
mms  
rtmp  
rtmps  
rtsp  
metadata\_blacklist =  
timeout = 5000

[tunein]  
enabled = true  
timeout = 5000  
filter =

[mpd]  
enabled = true  
hostname = 192.168.xxx.xxx  
port = 6600  
password =  
max\_connections = 20  
connection\_timeout = 60  
zeroconf = Mopidy MPD server on $hostname  
command\_blacklist =  
listall  
listallinfo  
default\_playlist\_scheme = m3u

```auto

* [Installed dependencies]

```

Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps” as user mopidy  
Executable: /usr/bin/mopidy  
Platform: Linux-5.10.0-24-amd64-x86\_64-with-glibc2.31  
Python: CPython 3.9.2 from /usr/lib/python3.9  
Mopidy: 3.4.1 from /usr/lib/python3/dist-packages  
Mopidy-Iris: 3.68.0 from /usr/local/lib/python3.9/dist-packages  
Mopidy: 3.4.1 from /usr/lib/python3/dist-packages  
Pykka: 2.0.3 from /usr/lib/python3/dist-packages  
setuptools: 52.0.0 from /usr/lib/python3/dist-packages  
Mopidy-TuneIn: 1.1.0 from /usr/lib/python3/dist-packages  
Mopidy-Spotify: 4.1.1 from /usr/local/lib/python3.9/dist-packages  
requests: 2.25.1 from /usr/lib/python3/dist-packages  
Mopidy: 3.4.1 from /usr/lib/python3/dist-packages  
Pykka: 2.0.3 from /usr/lib/python3/dist-packages  
setuptools: 52.0.0 from /usr/lib/python3/dist-packages  
Mopidy-MPD: 3.3.0 from /usr/lib/python3/dist-packages  
GStreamer: 1.18.4.0 from /usr/lib/python3/dist-packages/gi  
Detailed information:  
Python wrapper: python-gi 3.38.0  
Relevant elements:  
Found:  
uridecodebin  
souphttpsrc  
appsrc  
alsasink  
osssink  
oss4sink  
pulsesink  
id3demux  
id3v2mux  
lamemp3enc  
mpegaudioparse  
mpg123audiodec  
vorbisdec  
vorbisenc  
vorbisparse  
oggdemux  
oggmux  
oggparse  
flacdec  
flacparse  
shout2send  
Not found:  
flump3dec  
mad

---

<div class="post-metadata">

**Author:** ![dnj0104](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/dnj0104/32/1903_2.png) [@dnj0104](https://discourse.mopidy.com/u/dnj0104)\
**Post date:** [August 17, 2023, 3:58pm UTC](https://discourse.mopidy.com/t/mopidy-iris-gstreamer-snapcast-do-not-play-tracks-solved/5803/2 "2023-08-17T15:58:14Z")

</div>

As noted above, Tunein is now playing , but I got spotify left

Logs from mopidy when I choose a track to play in Iris

```auto
 WARNING [Core-8] mopidy.core.tracklist Track is not playable: spotify:track:4N4AuITamOD7SYKOk6mXPi
Aug 17 17:54:18 UniCronPrime mopidy[877]: WARNING [MainThread] mopidy.audio.actor Could not find a SPOTIFY protocol source to handle media.
Aug 17 17:54:18 UniCronPrime mopidy[877]: WARNING [Audio-2] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed
Aug 17 17:54:18 UniCronPrime mopidy[877]: WARNING [Core-8] mopidy.core.tracklist Track is not playable: spotify:track:4N4AuITamOD7SYKOk6mXPi
Aug 17 17:54:18 UniCronPrime mopidy[877]: ERROR [MainThread] mopidy.audio.gst GStreamer error: No URI handler implemented for "spotify".
Aug 17 17:54:18 UniCronPrime mopidy[877]: WARNING [Audio-2] mopidy.audio.actor Setting GStreamer state to GST_STATE_PLAYING failed

```

what can I do to fix, something with spotify protocol - I do not really understand what that means.

---

<div class="post-metadata">

**Author:** ![dnj0104](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/dnj0104/32/1903_2.png) [@dnj0104](https://discourse.mopidy.com/u/dnj0104)\
**Post date:** [August 18, 2023, 6:16am UTC](https://discourse.mopidy.com/t/mopidy-iris-gstreamer-snapcast-do-not-play-tracks-solved/5803/3 "2023-08-18T06:16:18Z")

</div>

> [@dnj0104](#):
>
> Linux-5.10.0-24-amd64-x86\_64-with-glibc2.31

SOLVED did an reinstallation of mopidy-spotify

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/system/32/1_2.png) [@system](https://discourse.mopidy.com/u/system)\
**Post date:** [August 21, 2023, 6:17am UTC](https://discourse.mopidy.com/t/mopidy-iris-gstreamer-snapcast-do-not-play-tracks-solved/5803/4 "2023-08-21T06:17:15Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
