Hello and thank you for fast response.
I’m sorry to reopen an old thread but i think I’m experiencing an issue that has something to do with this thread. And this issue is present on 4 different RPI that streams to 4 differents Icecast, using 4 different spotify versions. Same OS for all but 2 of them running mopidy 3.0.1, the other two are running mopidy 3.0.2.
What i mean with “stack” is that Iris is stuck on one track and it is possible to see that it tries to play it: it starts from 00:00 then it comes to 00:04 and return to 00:00. No audio is produced when this issue appears. You can see this here:
If I send some play command like next or seek, mopidy and iris restart to play and send audio.
Here you can find some info you requested for:
Mopidy Version: 3.0.2
Mopidy deps:
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps” as user mopidy
X11 connection rejected because of wrong authentication.
Executable: /usr/bin/mopidy
Platform: Linux-4.19.97-v7l±armv7l-with-debian-10.4
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
Mopidy-MPD: 3.0.0 from /usr/lib/python3/dist-packages
Mopidy-Spotify: 4.0.1 from /usr/lib/python3/dist-packages
Mopidy-Iris: 3.46.0 from /usr/local/lib/python3.7/dist-packages
Mopidy: 3.0.2 from /usr/lib/python3/dist-packages
Pykka: 2.0.2 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
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
Mopidy 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 = lamemp3enc ! shout2send async=false mount=mount ip=icecastip username=icecastuser port=icecastport password=icecastpass
buffer_time = 50
[proxy]
scheme =
hostname =
port =
username =
password =
[iris]
enabled = true
country = NZ
locale = en_NZ
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 =
music/
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 = 0.0.0.0
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
[spotify]
enabled = true
username = myusername
password = ********
client_id = myid
client_secret = ********
bitrate = 160
volume_normalization = true
private_session = false
timeout = 10
allow_cache = true
allow_network = true
allow_playlists = true
search_album_count = 20
search_artist_count = 10
search_track_count = 50
toplist_countries =
[mpd]
enabled = true
hostname = ::
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u
Mopidy error:
mag 17 13:12:29 raspberrypi systemd[1]: Started Mopidy music server.
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.main Starting Mopidy 3.0.2
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.config Loading config from builtin defaults
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.config Loading config from command line options
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.main Enabled extensions: http, file, stream, mpd, spotify, m3u, softwaremixer, iris
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.main Disabled extensions: none
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.commands Starting Mopidy audio
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.commands Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend, SpotifyBackend
mag 17 13:12:30 raspberrypi mopidy[20531]: INFO [Audio-2] mopidy.audio.actor Audio output set to “lamemp3enc ! shout2send async=false mount=audio ip=icecastip username=icecastuser port=iceport password=icepass”
mag 17 13:12:31 raspberrypi mopidy[20531]: INFO [SpotifyEventLoop] mopidy_spotify.backend Logged in to Spotify in online mode
mag 17 13:12:31 raspberrypi mopidy[20531]: INFO [SpotifyBackend-6] mopidy_spotify.web Logged into Spotify Web API as dkuch7i32extu2ic2tzhhn8gb
mag 17 13:12:35 raspberrypi mopidy[20531]: INFO [SpotifyBackend-6] mopidy_spotify.playlists Refreshed 6 Spotify playlists
mag 17 13:12:35 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.commands Starting Mopidy core
mag 17 13:12:35 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: IrisFrontend, HttpFrontend, MpdFrontend
mag 17 13:12:35 raspberrypi mopidy[20531]: INFO [IrisFrontend-10] mopidy_iris.core Starting Iris 3.46.0
mag 17 13:12:35 raspberrypi mopidy[20531]: INFO [HttpFrontend-12] mopidy.http.actor HTTP server running at [::ffff:0.0.0.0]:6680
mag 17 13:12:35 raspberrypi mopidy[20531]: INFO [MainThread] mopidy_mpd.actor MPD server running at [::]:6600
mag 17 13:12:35 raspberrypi mopidy[20531]: INFO [MainThread] mopidy.commands Starting GLib mainloop
mag 17 13:14:54 raspberrypi mopidy[20531]: ERROR [HttpServer] mopidy_iris.core Connection “GALF4IDNZKQQ” not found
mag 17 14:21:42 raspberrypi mopidy[20531]: ERROR [MainThread] mopidy.audio.gst GStreamer error: Could not write to resource.