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

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.

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
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
genius_authorization_url = 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



* [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

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

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

 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.

SOLVED did an reinstallation of mopidy-spotify

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