Please help
-
Hi i've spent a long ass time trying to figure this out but ive had no luck. the error i get is
Could not get/set settings from/on resource.
audio/spotify/src/spotifyaudiosrc/imp.rs(280): <gstspotify::spotifyaudiosrc:
:SpotifyAudioSrc as gstreamer_base::subclass::push_src::PushSrcImpl>::create (): /GstPlayBin3:pipeline-6-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin5/GstSpotifyAudioSrc:spotifyaudiosrc2: username is not set and credentials are not in cacheInternal data stream error.
../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3187): gst_base_src_loop (): /GstPlayBin3:pipeline-6-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin5/GstSpotifyAudioSrc:spotifyaudiosrc2: streaming stopped, reason error (-5)
Could not demultiplex stream.
../gstreamer/subprojects/gst-plugins-base/ext/ogg/gstoggdemux.c(4775): gst_ogg_demux_send_event (): /GstPlayBin3:pipeline-6-pipeline/GstURIDecodeBin3:uridecodebin3/GstURISourceBin:urisourcebin5/GstParseBin:parsebin5/GstOggDemux:oggdemux4: EOS before finding a chain
Could anyone point me in the right direction? I'm trying to get spotify to stream on arch linux. Thanks
-
Your version of gst-plugins-rs is too old, not updated for the Spotify changes requiring access token instead of username/password. I'm not exactly sure which version you need, since I don't see it in the changelog, but I think you need at least 0.13.4, the newest is currently 0.13.5.
You can build and install it from source:
https://wiki.strawberrymusicplayer.org/wiki/Installing_GStreamer_Spotify_plugin -
I correct myself, I don't think there is a release of gst-plugins-rs yet containing the required changes, so it needs to be the code from git.
Instructions here https://wiki.strawberrymusicplayer.org/wiki/Installing_GStreamer_Spotify_plugin builds from git. -
@jonas you are a gem thank you so much!
-
thanks for the answer, i have been looking for it for a long time
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login