Unable to stream spotify (GStreamer error: Resource not found)
Iris version
3.70.0
Operating system(s) affected
- [ ] Windows
- [ ] MacOS
- [ ] iOS
- [ ] Android
- [x] Linux
- [ ] Other
Browser(s) affected
- [ ] Firefox
- [ ] Chrome
- [ ] Edge
- [ ] Other
What happened?
When attempting to play a spotify track, Iris never starts playing and no error is displayed. Checking mopidy logs you find an error. Seems to be related to this thread https://discourse.mopidy.com/t/mopidy-stopped-playing-spotify/6151
Logs
mopidy-1 | ERROR 2025-08-20 15:48:54,595 [7:MainThread] mopidy.audio.gst
mopidy-1 | GStreamer error: Resource not found.
Spotify not steaming is unlikely to be a problem with a frontend client like Iris. Did you try another client? Have you rebuilt your gst Spotify plugin lately to use the latest dev version of librespot that has the latest fixes?
Spotify not steaming is unlikely to be a problem with a frontend client like Iris. Did you try another client? Have you rebuilt your gst Spotify plugin lately to use the latest dev version of librespot that has the latest fixes?
I should have mentioned this is an issue of the iris docker image with includes mopidy and optionally installs plugins like mopidy-spotify. I tried manually installing your latest gst from the thread I linked to, but there must be more needed as I get the same result.
There are some recent issues with librespot playback (due to changes on the Spotify end), but there isn't a new version released for Alpine containing recent fixes yet. Please feel free to poke the librespot team for a published build!
See
- https://github.com/librespot-org/librespot/issues/1527
- https://github.com/librespot-org/librespot/issues/1521
- https://github.com/librespot-org/librespot/pull/1513
This is the issue to monitor on the librespot repo: https://github.com/librespot-org/librespot/issues/1544. Once a new version is released, I can update Iris (and Snapserver) to use this and fix this issue.
We released v0.7.0 today.
Thanks @roderickvd! I'll prepare a release of snapserver with this bundled in. Do you know when this will be available precompiled for Alpine?
No, I don’t know.
@jaedb with latest packages, I still had to manually build and install per instructions here in my iris docker container. Only now are spotify tracks playable. I could be wrong, but I believe we just need an updated image pushed to docker hub (or of course I could build my own image from your dockerfile).
Perhaps related, the Dockerfile defaults to branch "develop" which deviates from "master" in at least the version numbers (in IRIS_VERSION and package.json), but you can see full diff here. I don't know what the intention is for branch management, which branch the docker images should be built from, etc.
Hi @curiousercreative , would you mind sharing which specific tag of gst-plugins-rs did you end up going with ?
I tried myself re-building the Dockerfile (non-Alpine, as it seems to be the default in docker hub) with gst-plugin-spotify_0.15.0-alpha.1-4 (still the same GStreamer issue) and gst-plugin-spotify_0.15.0-alpha.1-3 , same issues :/
All I did was add --branch=gst-plugin-spotify_0.15.0-alpha.1-4 in the Dockerfile where the gst-plugins-rs repo gets cloned, is there anything else you did on your end ?