#6 update spotify
Merged 6 years ago by mattdm. Opened 6 years ago by linkdupont.
fedora-docs/ linkdupont/quick-docs master  into  master

file modified
+2 -2
@@ -6,6 +6,8 @@ 

      File: index

    - Name: GRUB 2

      File: grub2

+   - Name: Spotify

+     File: spotify

    - Name: (FIX ME!) Third party repositories

      File: 3rd-party-repos

    - Name: (FIX ME!) Anaconda
@@ -88,8 +90,6 @@ 

      File: reset-root-password

    - Name: (FIX ME!) Red Hat Enterprise Linux

      File: rhel

-   - Name: (FIX ME!) Spotify

-     File: spotify

    - Name: (FIX ME!) Switching Desktop Environments

      File: switch-desktop-env

    - Name: (FIX ME!) Systemd

file modified
+51 -67
@@ -1,107 +1,91 @@ 

  = Spotify

  

- '''

- 

- [IMPORTANT]

- ======

- 

- This page was automatically converted from https://fedoraproject.org/wiki/Spotify

- 

- It is probably

+ https://www.spotify.com/[*Spotify*] is a cross-platform (available for

+ Ubuntu, macOS and Windows) proprietary music streaming service. It is a

+ freemium product (meaning a free version of it is available, but it has

+ advertisements. Paying for a Premium subscription will remove the

+ advertisements.

  

- * Badly formatted

- * Missing graphics and tables that do not convert well from mediawiki

- * Out-of-date

- * In need of other love

+ [[installation]]

+ Installation

+ ~~~~~~~~~~~~

  

- Please fix it, remove this notice, and then add to `_topic_map.yml`

+ While it is not officially supported on Fedora or any other RPM-based

+ distribution, it is possible to install on Fedora using various package methods.

  

- Pull requests accepted at https://pagure.io/fedora-docs/quick-docs

+ * Using the https://www.spotify.com/us/download/linux/[officially-supported]

+ http://snapcraft.io/[Snap].

+ * Using a Flatpak hosted by http://flathub.org[Flathub].

+ * Using unofficial repositories like the http://negativo17.org/spotify-client/[negativo17] or https://rpmfusion.org/[RPMFusion] repositories.

  

- Once that is live, go to the original wiki page and add an `{{old}}`

- tag, followed by a note like

+ [[snap]]

+ Snap

+ ^^^^

+ Snap is the officially recommended distribution method for Spotify. To install

+ it, first install `snapd`.

  

  ....

- {{admon/note|This page has a new home!|

- This wiki page is no longer maintained. Please find the up-to-date

- version at: https://docs.fedoraproject.org/whatever-the-url

- }}

+ sudo dnf install snapd

+ sudo ln -s /var/lib/snapd/snap /snap

  ....

  

- ======

- 

- '''

- 

- 

- https://www.spotify.com/[*Spotify*] is a cross-platform (available for

- Ubuntu, macOS and Windows) proprietary music streaming service. It is a

- freemium product, that is, a free version of it is available, but it is

- riddled with advertisements. To use it without advertisements one needs

- to pay for Spotify premium.

- 

- [[installation]]

- Installation

- ~~~~~~~~~~~~

+ Then install `spotify`.

  

- While it is not officially supported on Fedora or any other RPM-based

- distributions it is possible to get it to work on Fedora. There are two

- main ways of installing it:

+ ....

+ snap install spotify

+ ....

  

- * Using unofficial repositories like the

- http://negativo17.org/spotify-client/[negativo17 repository].

- * Using link:Flatpak[Flatpaks]

+ Be sure to consult http://snapcraft.io for more information on that repository

+ and Snaps in general.

  

  [[flatpak]]

  Flatpak

  ^^^^^^^

  

- To install it using Flatpak one needs to get the source files required

- to build it, then build it and add it to one's Flatpak remote and

- install it. This can be done using the following set of commands:

+ A Spotify flatpak is also available from http://flathub.org[Flathub].

  

  ....

- sudo dnf install flatpak flatpak-builder git make ostree -y

- flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo

- flatpak install gnome org.gnome.Platform 3.24

- flatpak install gnome org.gnome.Sdk 3.24

- git clone https://github.com/alexlarsson/spotify-app

- cd spotify-app

- make

- flatpak --user remote-add --no-gpg-verify local-spotify repo

- flatpak --user install local-spotify com.spotify.Client

+ flatpak install --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref

  ....

  

- Please consult https://github.com/alexlarsson/spotify-app[the upstream

- instructions] in case the commands above don't work.

- 

  [[negativo17.org-repository]]

  Negativo17.org repository

  ^^^^^^^^^^^^^^^^^^^^^^^^^

  

- This repository also contains the following packages features:

- 

- * Required libraries for enabling local files playback and file upload

- to personal playlists

- * Firewalld rules for enabling local service discovery and Spotify

- Connect (control other devices & output location)

- 

- Installation for Fedora:

+ Add the Yum repository and install:

  

  ....

  dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo

  dnf install spotify

  ....

  

- Installation for CentOS/RHEL 7+:

+ To do the same on CentOS/RHEL:

  

  ....

  yum-config-manager --add-repo=http://negativo17.org/repos/epel-spotify.repo

  yum install spotify

  ....

  

- Category:Audio Category:Proprietary_software[Category:Proprietary

- software]

- '''

+ [[rpmfusion.org-repository]]

+ RPMFusion repository

+ ^^^^^^^^^^^^^^^^^^^^

+ 

+ Install the repository package and `lpf`. Follow the steps in `lpf-gui` to build

+ and install a local `spotify` RPM.

+ 

+ ....

+ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

+ sudo dnf install lpf-spotify-client

+ lpf-gui

+ ....

+ 

+ To do the same on CentOS/RHEL:

+ 

+ ....

+ sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm

+ sudo yum install lpf-spotify-client

+ lpf-gui

+ ....

  

  See a typo, something missing or out of date, or anything else which can be

  improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.

Update spotify.adoc with recent changes to the wiki page.

Pull-Request has been merged by mattdm

6 years ago

Merged. We probably want to add some further boilerplate about non-free software, and maybe some cross-references to Snap on Fedora. But in any case, it is forward motion. :)

Also note that this won't go live until @bex does a manual build... automation is still in progress.

It also strikes me as odd that there is a page on Spotify, but not the myriad of other non-free software people install from Snaps or Flatpaks. I know this was because of the migration from the wiki, but it might make sense to create a general page on Flatpak, or non-free software, or some combination of all of that.

@linkdupont Yes. This isn't a list of the best or most sensible topics, just a list of the ones that are currently getting traffic — again with the "start somewhere!" mentality. :)

Metadata