Installing GStreamer Spotify plugin: Difference between revisions

From Strawberry Music Player Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
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.
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
     git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
     cd gst-plugins-rs
     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:
     cargo build --release -p gst-plugin-spotify
     cargo build --release -p gst-plugin-spotify
     sudo cp ./target/release/libgstspotify.so /usr/lib64/gstreamer-1.0/
     sudo cp ./target/release/libgstspotify.so /usr/lib64/gstreamer-1.0/

Revision as of 10:29, 29 September 2024

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:

   cargo build --release -p gst-plugin-spotify
   sudo cp ./target/release/libgstspotify.so /usr/lib64/gstreamer-1.0/