Installing GStreamer Spotify plugin: Difference between revisions

From Strawberry Music Player Wiki
Jump to navigation Jump to search
(Created page with "To play spotify songs you need a gstreamer spotify plugin from the gst-plugins-rs package usually not available on most systems. Also, currently it is necessary to use a modified version of the plugin. git clone https://gitlab.freedesktop.org/kingosticks/gst-plugins-rs cd gst-plugins-rs git checkout spotify-uri-handler cargo cbuild --release -p gst-plugin-spotify sudo cp ./target/x86_64-unknown-linux-gnu/release/libgstspotify.so /usr/lib64/gstreamer-...")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
To play spotify songs you need a gstreamer spotify plugin from the gst-plugins-rs package usually not available on most systems.
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.
Also, currently it is necessary to use a modified version of the plugin.


     git clone https://gitlab.freedesktop.org/kingosticks/gst-plugins-rs
Get the source
 
     git clone https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
     cd gst-plugins-rs
     cd gst-plugins-rs
     git checkout spotify-uri-handler
 
    cargo cbuild --release -p gst-plugin-spotify
Build and install:
     sudo cp ./target/x86_64-unknown-linux-gnu/release/libgstspotify.so /usr/lib64/gstreamer-1.0/
 
     meson setup --buildtype=release --default-library=shared --wrap-mode=nodownload --auto-features=disabled -Dspotify=enabled build
    cd build
    ninja
     sudo cp libgstspotify.so /usr/lib64/gstreamer-1.0/

Latest revision as of 19:19, 26 October 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

Build and install:

   meson setup --buildtype=release --default-library=shared --wrap-mode=nodownload --auto-features=disabled -Dspotify=enabled build
   cd build
   ninja
   sudo cp libgstspotify.so /usr/lib64/gstreamer-1.0/