Installing GStreamer Spotify plugin
Jump to navigation
Jump to search
To play Spotify songs you need the GStreamer Spotify plugin from the gst-plugins-rs package, if you do not have it, you can build it from source this way.
Get the source
git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git cd gst-plugins-rs
Apply access-token patch:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1801.patch patch -p1 < 1801.patch
Build and install:
meson setup --buildtype=release --default-library=shared --wrap-mode=nodownload --auto-features=disabled -Dspotify=enabled build cd build ninja sudo cp ./target/release/libgstspotify.so /usr/lib64/gstreamer-1.0/