spotifyaudiosrc

Jonas Kvinge jonaski at opensuse.org
Thu May 19 16:01:51 UTC 2022


On 19.05.2022 12:50, Guillaume Desmottes via gstreamer-devel wrote:
> On 18/05/22 22:03, Jonas Kvinge via gstreamer-devel wrote:
>> Hi
>>
>> Is spotifyaudiosrc still working?
>
> Hi Jonas,
>
> I just tested and yes, the element is still working fine for me.
>
>> There is no option to set a device password in spotify, the URL 
>> (https://www.spotify.com/us/account/set-device-password/) just 
>> redirects to the regular profile.
>
> That's strange, it does redirect to the settings page allowing me to 
> set a device password here.
> Something like this: 
> https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2020/11/Spotify-Device-Password.png?q=50&fit=crop&w=1500&dpr=1.5
>
> You do have a premium account right?

Yes. There is only "Change password", no "Set device password" on the 
edit profile page.


>
>> But I tried with the normal spotify username/password, at least it 
>> gets further than an invalid login.
>>
>> I tried: gst-launch-1.0 spotifyaudiosrc username=username 
>> password=password track=spotify:track:3i3P1mGpV9eRlfKccjDjwi ! 
>> oggdemux ! vorbisdec ! audioconvert ! alsasink device=hw:0,3
>
> I'm not sure why it doesn't fail earlier as you do need a device 
> password to login. Anything useful in logs when running with 
> GST_DEBUG="spotifyaudiosrc:6" ?
>
>
>     G.
>

Setting pipeline to PAUSED ...
0:00:00.056945484  8933 0x56283e3e4ec0 DEBUG spotifyaudiosrc 
audio/spotify/src/spotifyaudiosrc/imp.rs:338:gstspotify::spotifyaudiosrc::imp:<spotifyaudiosrc0> 
credentials not in cache
0:00:00.393201102  8933 0x56283e3e4ec0 DEBUG spotifyaudiosrc 
audio/spotify/src/spotifyaudiosrc/imp.rs:263:gstspotify::spotifyaudiosrc::imp:<spotifyaudiosrc0> 
stopping
0:00:00.393367358  8933 0x56283e3e4ec0 DEBUG spotifyaudiosrc 
audio/spotify/src/spotifyaudiosrc/imp.rs:338:gstspotify::spotifyaudiosrc::imp:<spotifyaudiosrc0> 
credentials not in cache
Pipeline is PREROLLING ...
0:00:00.803528228  8933 0x56283e3ebc60 DEBUG spotifyaudiosrc 
audio/spotify/src/spotifyaudiosrc/imp.rs:289:gstspotify::spotifyaudiosrc::imp:<spotifyaudiosrc0> 
eos
ERROR: from element /GstPipeline:pipeline0/GstOggDemux:oggdemux0: Could 
not demultiplex stream.
Additional debug info:
../ext/ogg/gstoggdemux.c(4767): gst_ogg_demux_send_event (): 
/GstPipeline:pipeline0/GstOggDemux:oggdemux0:
EOS before finding a chain
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.804436913  8933 0x56283e3e4ec0 DEBUG spotifyaudiosrc 
audio/spotify/src/spotifyaudiosrc/imp.rs:263:gstspotify::spotifyaudiosrc::imp:<spotifyaudiosrc0> 
stopping
Freeing pipeline ...



More information about the gstreamer-devel mailing list