Iris icon indicating copy to clipboard operation
Iris copied to clipboard

Unable to stream spotify (GStreamer error: Resource not found)

Open curiousercreative opened this issue 4 months ago • 10 comments

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.

curiousercreative avatar Aug 20 '25 19:08 curiousercreative

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?

kingosticks avatar Aug 20 '25 20:08 kingosticks

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.

curiousercreative avatar Aug 21 '25 00:08 curiousercreative

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

jaedb avatar Aug 21 '25 02:08 jaedb

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.

jaedb avatar Aug 23 '25 23:08 jaedb

We released v0.7.0 today.

roderickvd avatar Aug 24 '25 20:08 roderickvd

Thanks @roderickvd! I'll prepare a release of snapserver with this bundled in. Do you know when this will be available precompiled for Alpine?

jaedb avatar Aug 25 '25 00:08 jaedb

No, I don’t know.

roderickvd avatar Aug 25 '25 06:08 roderickvd

@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).

curiousercreative avatar Oct 08 '25 13:10 curiousercreative

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.

curiousercreative avatar Oct 08 '25 13:10 curiousercreative

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 ?

Hurlu avatar Dec 02 '25 20:12 Hurlu