Difference between revisions of "Spotify"

1,275 bytes removed ,  10 years ago
Installation setup updated for Spotify 0.9.10.17-1 version. Remove outdated manual.
imported>Woqer
imported>FadeMind
(Installation setup updated for Spotify 0.9.10.17-1 version. Remove outdated manual.)
Line 13: Line 13:
= Installing Spotify Linux Preview =
= Installing Spotify Linux Preview =


== NEW installation guide ==
==Recommended Installation Guide [updated 2014-06-01]==


Install libgcrypt15 from AUR repositories, the official version in manjaro (update 2014-01-26) is 1.6, not compatible with spotify. We will need also some openssl package.
Install by one command dependiences and Spotify Client application:


  yaourt -S openssl098
  yaourt -S libgcrypt15 ffmpeg-compat spotify --needed --noconfirm
yaourt -S libgcrypt15


Then install spotify from AUR and ffmpeg-compat (recommended dependency, needed for playing local files)
Create symlinks:
 
----
yaourt -S spotify
'''<code>sudo ln -s /usr/lib/libnss3.so /usr/lib/libnss3.so.1d && sudo ln -s /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1d && sudo ln -s /usr/lib/libsmime3.so /usr/lib/libsmime3.so.1d && sudo ln -s /usr/lib/libssl3.so /usr/lib/libssl3.so.1d && sudo ln -s /usr/lib/libplds4.so /usr/lib/libplds4.so.0d && sudo ln -s /usr/lib/libplc4.so /usr/lib/libplc4.so.0d && sudo ln -s /usr/lib/libnspr4.so /usr/lib/libnspr4.so.0d && sudo ln -s /usr/lib/libudev.so /usr/lib/libudev.so.0</code>
sudo pacman -S ffmpeg-compat
'''
 
----
Now we need to link some libraries
 
sudo ln -s /usr/lib/libnss3.so /usr/lib/libnss3.so.1d
sudo ln -s /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1d
sudo ln -s /usr/lib/libsmime3.so /usr/lib/libsmime3.so.1d
sudo ln -s /usr/lib/libssl3.so /usr/lib/libssl3.so.1d
sudo ln -s /usr/lib/libplds4.so /usr/lib/libplds4.so.0d
sudo ln -s /usr/lib/libplc4.so /usr/lib/libplc4.so.0d
sudo ln -s /usr/lib/libnspr4.so /usr/lib/libnspr4.so.0d
sudo ln -s /usr/lib/libudev.so /usr/lib/libudev.so.0


And that's it! If you are using Xfce (it should work for other environments also), the way to configure media keys is via xfce shortcuts, using dbus commands (in order: play/pause, stop, next, previous)
And that's it! If you are using Xfce (it should work for other environments also), the way to configure media keys is via xfce shortcuts, using dbus commands (in order: play/pause, stop, next, previous)
Line 44: Line 33:
  dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
  dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
  dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
  dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
== Old installation guide ==
{{note|Alternative install, is deprecated due to last manjaro update of libgcrypt. If your version of libgcrypt is bellow 1.6 you should use this guide}}
{{warning|if your version of libgcrypt is 1.6 or superior, DON'T USE this guide, instead read the NEW one}}
In a terminal, run the following command:
yaourt -S openssl098
{{warning|Before build '''spotify''' package manual edit PKGBUILD file and in line ''depends'' remove '''<code>"libgcrypt15"</code>'''.}}
yaourt -S spotify
{{note|KDE desktop does not require '''spotify-gnome-git''' package.}}
yaourt -S spotify-gnome-git
sudo ln -s /usr/lib/libnss3.so /usr/lib/libnss3.so.1d
sudo ln -s /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1d
sudo ln -s /usr/lib/libsmime3.so /usr/lib/libsmime3.so.1d
sudo ln -s /usr/lib/libssl3.so /usr/lib/libssl3.so.1d
sudo ln -s /usr/lib/libplds4.so /usr/lib/libplds4.so.0d
sudo ln -s /usr/lib/libplc4.so /usr/lib/libplc4.so.0d
sudo ln -s /usr/lib/libnspr4.so /usr/lib/libnspr4.so.0d
sudo ln -s /usr/lib/libudev.so /usr/lib/libudev.so.0


== Known Issues in Spotify Linux Preview ==
== Known Issues in Spotify Linux Preview ==
Line 80: Line 44:
* Installing dependences and Wine application:
* Installing dependences and Wine application:
----
----
'''<code>yaourt -Sy wine q4wine wine-mono wine_gecko winetricks giflib libpng libldap gnutls lcms libxml2 mpg123 openal v4l-utils libpulse alsa-plugins alsa-lib libjpeg-turbo libxcomposite libxinerama  ncurses lib32-ncurses libcl cups samba dosbox lib32-{giflib,libpng,libldap,gnutls,lcms,libxml2,mpg123,openal,v4l-utils,libpulse,alsa-plugins,alsa-lib,libjpeg-turbo,libxcomposite,libxinerama,ncurses,libcl} openssl098 </code>'''
'''<code>yaourt -Sy wine q4wine wine-mono wine_gecko winetricks giflib libpng libldap gnutls lcms libxml2 mpg123 openal v4l-utils libpulse alsa-plugins alsa-lib libjpeg-turbo libxcomposite libxinerama  ncurses lib32-ncurses libcl cups samba dosbox lib32-{giflib,libpng,libldap,gnutls,lcms,libxml2,mpg123,openal,v4l-utils,libpulse,alsa-plugins,alsa-lib,libjpeg-turbo,libxcomposite,libxinerama,ncurses,libcl}</code>'''
----
----
* Configure Spotify installation directory.  
* Configure Spotify installation directory.  
Anonymous user