docs: How to install libspotify at OS X, and other small installation docs changes
This commit is contained in:
parent
46177f65f1
commit
dbb027ed7d
@ -27,16 +27,22 @@ Build and install Despotify::
|
|||||||
cd despotify/src/
|
cd despotify/src/
|
||||||
sudo make install
|
sudo make install
|
||||||
|
|
||||||
|
When Despotify has been installed, continue with :ref:`spytify_installation`.
|
||||||
|
|
||||||
|
|
||||||
Installing Despotify on OS X
|
Installing Despotify on OS X
|
||||||
============================
|
============================
|
||||||
|
|
||||||
In OS X you need to have `XCode <http://developer.apple.com/tools/xcode/>`_
|
In OS X you need to have `XCode <http://developer.apple.com/tools/xcode/>`_ and
|
||||||
installed, and `Homebrew <http://mxcl.github.com/homebrew/>`_. Then, install
|
`Homebrew <http://mxcl.github.com/homebrew/>`_ installed. Then, to install
|
||||||
Despotify::
|
Despotify::
|
||||||
|
|
||||||
brew install despotify
|
brew install despotify
|
||||||
|
|
||||||
|
When Despotify has been installed, continue with :ref:`spytify_installation`.
|
||||||
|
|
||||||
|
|
||||||
|
.. _spytify_installation:
|
||||||
|
|
||||||
Installing spytify
|
Installing spytify
|
||||||
==================
|
==================
|
||||||
|
|||||||
@ -7,11 +7,11 @@ Mopidy itself is a breeze to install, as it just requires a standard Python
|
|||||||
service is far more tricky to get working for the time being. Until
|
service is far more tricky to get working for the time being. Until
|
||||||
installation of these libraries are either well documented by their developers,
|
installation of these libraries are either well documented by their developers,
|
||||||
or the libraries are packaged for various Linux distributions, we will supply
|
or the libraries are packaged for various Linux distributions, we will supply
|
||||||
our own installation guides.
|
our own installation guides, as linked to below.
|
||||||
|
|
||||||
|
|
||||||
Dependencies
|
Install dependencies
|
||||||
============
|
====================
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:hidden:
|
:hidden:
|
||||||
@ -20,6 +20,8 @@ Dependencies
|
|||||||
libspotify
|
libspotify
|
||||||
gstreamer
|
gstreamer
|
||||||
|
|
||||||
|
Make sure you got the required dependencies installed.
|
||||||
|
|
||||||
- Python >= 2.6, < 3
|
- Python >= 2.6, < 3
|
||||||
- Dependencies for at least one Mopidy mixer:
|
- Dependencies for at least one Mopidy mixer:
|
||||||
|
|
||||||
@ -29,7 +31,7 @@ Dependencies
|
|||||||
|
|
||||||
- OsaMixer (OS X only)
|
- OsaMixer (OS X only)
|
||||||
|
|
||||||
- Nothing needed.
|
- No additional dependencies.
|
||||||
|
|
||||||
- Dependencies for at least one Mopidy backend:
|
- Dependencies for at least one Mopidy backend:
|
||||||
|
|
||||||
|
|||||||
@ -12,11 +12,9 @@ To use the libspotify backend you must install libspotify and
|
|||||||
This backend requires a Spotify premium account, and it requires you to get
|
This backend requires a Spotify premium account, and it requires you to get
|
||||||
an application key from Spotify before use.
|
an application key from Spotify before use.
|
||||||
|
|
||||||
**TODO** Test and document installation on OS X.
|
|
||||||
|
|
||||||
|
Installing libspotify on Linux
|
||||||
Installing libspotify
|
==============================
|
||||||
=====================
|
|
||||||
|
|
||||||
Download and install libspotify 0.0.4 for your OS and CPU architecture from
|
Download and install libspotify 0.0.4 for your OS and CPU architecture from
|
||||||
https://developer.spotify.com/en/libspotify/.
|
https://developer.spotify.com/en/libspotify/.
|
||||||
@ -29,6 +27,30 @@ For 64-bit Linux the process is as follows::
|
|||||||
sudo make install prefix=/usr/local
|
sudo make install prefix=/usr/local
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
|
|
||||||
|
When libspotify has been installed, continue with
|
||||||
|
:ref:`pyspotify_installation`.
|
||||||
|
|
||||||
|
|
||||||
|
Installing libspotify on OS X
|
||||||
|
=============================
|
||||||
|
|
||||||
|
In OS X you need to have `XCode <http://developer.apple.com/tools/xcode/>`_ and
|
||||||
|
`Homebrew <http://mxcl.github.com/homebrew/>`_ installed. Then, to install
|
||||||
|
libspotify::
|
||||||
|
|
||||||
|
brew install libspotify
|
||||||
|
|
||||||
|
When libspotify has been installed, continue with
|
||||||
|
:ref:`pyspotify_installation`.
|
||||||
|
|
||||||
|
|
||||||
|
Install libspotify on Windows
|
||||||
|
=============================
|
||||||
|
|
||||||
|
**TODO** Test and document installation on Windows.
|
||||||
|
|
||||||
|
|
||||||
|
.. _pyspotify_installation:
|
||||||
|
|
||||||
Installing pyspotify
|
Installing pyspotify
|
||||||
====================
|
====================
|
||||||
@ -43,14 +65,14 @@ Check out the pyspotify code, and install it::
|
|||||||
cd pyspotify/pyspotify/
|
cd pyspotify/pyspotify/
|
||||||
sudo python setup.py install
|
sudo python setup.py install
|
||||||
|
|
||||||
Apply for an application key at
|
|
||||||
https://developer.spotify.com/en/libspotify/application-key, download the
|
|
||||||
binary version, and place the file at ``pyspotify/spotify_appkey.key``.
|
|
||||||
|
|
||||||
|
|
||||||
Testing the installation
|
Testing the installation
|
||||||
========================
|
========================
|
||||||
|
|
||||||
|
Apply for an application key at
|
||||||
|
https://developer.spotify.com/en/libspotify/application-key, download the
|
||||||
|
binary version, and place the file at ``pyspotify/spotify_appkey.key``.
|
||||||
|
|
||||||
Test your libspotify setup::
|
Test your libspotify setup::
|
||||||
|
|
||||||
examples/example1.py -u USERNAME -p PASSWORD
|
examples/example1.py -u USERNAME -p PASSWORD
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user