= Spotify

'''

[IMPORTANT]
======

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

It is probably

* Badly formatted
* Missing graphics and tables that do not covert well from mediawiki
* Out-of-date
* In need of other love

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

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

Once that is live, go to the original wiki page and add an `{{old}}`
tag, followed by a note like

....
{{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
}}
....

======

'''


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
~~~~~~~~~~~~

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:

* Using unofficial repositories like the
http://negativo17.org/spotify-client/[negativo17 repository].
* Using link:Flatpak[Flatpaks]

[[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:

....
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
....

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:

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

Installation for CentOS/RHEL 7+:

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

Category:Audio Category:Proprietary_software[Category:Proprietary
software]
'''

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/fedora-howto.
