mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-23 03:50:59 +00:00
61cdf47462
Plugin adding an element to play audio from Spotify.
1.1 KiB
1.1 KiB
gst-plugins-spotify
This is a GStreamer plugin to read content from Spotify.
Make sure that your application follows Spotify's design guidelines to respect their legal/licensing restrictions.
Spotify Credentials
This plugin requires a Spotify Premium account configured with a device password.
You can then set the device username and password using the username
and password
properties.
You may also want to cache credentials and downloaded files, see the cache-
properties on the element.
spotifyaudiosrc
The spotifyaudiosrc
element can be used to play a song from Spotify using its Spotify URI.
gst-launch-1.0 spotifyaudiosrc username=$USERNAME password=$PASSWORD track=spotify:track:3i3P1mGpV9eRlfKccjDjwi ! oggdemux ! vorbisdec ! audioconvert ! autoaudiosink