Updated Clementine on Raspberry Pi (markdown)
parent
de2b8786a8
commit
423769f604
|
@ -8,6 +8,42 @@ Note: Building Clementine on the Pi takes a lot of time, around 8 hours.
|
||||||
* At least a 8GB flash card (16GB recommended)
|
* At least a 8GB flash card (16GB recommended)
|
||||||
* [Raspbian](http://www.raspbian.org/). Other distros might work as well.
|
* [Raspbian](http://www.raspbian.org/). Other distros might work as well.
|
||||||
|
|
||||||
|
# Install prebuild version on Raspberry Pi
|
||||||
|
|
||||||
|
## Install Clementine runtime dependencies
|
||||||
|
Raspbian doesn't have all necessary dependencies installed by default, so we have to do this now.
|
||||||
|
|
||||||
|
sudo apt-get install libcrypto++ libechonest2.1 libgpod4 liblastfm1 libprotobuf9 libqjson0 libqt4-opengl libqt4-sql gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio
|
||||||
|
|
||||||
|
## Install
|
||||||
|
Download the precompiled version 1.3.1 from the GitHub releases:
|
||||||
|
|
||||||
|
wget https://github.com/clementine-player/Clementine/releases/download/1.3.1/clementine_1.3.1.jessie_armhf.deb
|
||||||
|
sudo dpkg -i clementine_1.3.1.jessie_armhf.deb
|
||||||
|
|
||||||
|
|
||||||
|
## Setting up Clementine
|
||||||
|
Start Clementine with `./clementine`. The first start takes quite long as Clementine has to setup the database. After you see the main window, you should disable moodbar generation and glowing. They take too many resources you need for playback.
|
||||||
|
|
||||||
|
Now you can add your music to your library and listen to it!
|
||||||
|
|
||||||
|
Note: Clementine is quite slow on the Raspberry Pi 1, so be patient when using it. Clementine Remote works very well on the Raspberry Pi. Perfomance on the Raspberry Pi 2 or 3 should be much better.#
|
||||||
|
|
||||||
|
## Spotify
|
||||||
|
Download and libspotify 12.1.103 beta from [here](https://developer.spotify.com/technologies/libspotify/)
|
||||||
|
|
||||||
|
wget https://developer.spotify.com/download/libspotify/libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release.tar.gz
|
||||||
|
tar -xf libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release.tar.gz
|
||||||
|
cd libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release/
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
Download the `clementine-spotifyblob` compiled for `armhf` from [here](https://drive.google.com/open?id=0BxtNs9Rdrjl3Sy02YlVGV0dyYVk) and paste it to `.config/Clementine/spotifyblob/version16-32bit/blob` (`blob` is the filename)
|
||||||
|
|
||||||
|
mkdir -p .config/Clementine/spotifyblob/version16-32bit/
|
||||||
|
cp clementine-spotifyblob-armhf .config/Clementine/spotifyblob/version16-32bit/blob
|
||||||
|
|
||||||
|
|
||||||
|
# Compile on Raspberry Pi
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
The same as on any linux distro:
|
The same as on any linux distro:
|
||||||
|
@ -45,28 +81,5 @@ A swap file on a flash memory is not healty, so we remove the created swap file
|
||||||
sudo swapoff swapfile
|
sudo swapoff swapfile
|
||||||
sudo rm swapfile
|
sudo rm swapfile
|
||||||
|
|
||||||
## Install Clementine runtime dependencies
|
## Next steps
|
||||||
Raspbian doesn't have all necessary dependencies installed by default, so we have to do this now.
|
See `Install prebuild version on Raspberry Pi`
|
||||||
|
|
||||||
sudo apt-get install libcrypto++ libechonest2.1 libgpod4 liblastfm1 libprotobuf9 libqjson0 libqt4-opengl libqt4-sql gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio
|
|
||||||
|
|
||||||
## Setting up Clementine
|
|
||||||
Start Clementine with `./clementine`. The first start takes quite long as Clementine has to setup the database. After you see the main window, you should disable moodbar generation and glowing. They take too many resources you need for playback.
|
|
||||||
|
|
||||||
Now you can add your music to your library and listen to it!
|
|
||||||
|
|
||||||
Note: Clementine is quite slow on the Raspberry Pi, so be patient when using it. Clementine Remote works very well on the Raspberry Pi.
|
|
||||||
|
|
||||||
|
|
||||||
## Spotify
|
|
||||||
Download and libspotify 12.1.103 beta from [here](https://developer.spotify.com/technologies/libspotify/)
|
|
||||||
|
|
||||||
wget https://developer.spotify.com/download/libspotify/libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release.tar.gz
|
|
||||||
tar -xf libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release.tar.gz
|
|
||||||
cd libspotify-12.1.103-Linux-armv6-bcm2708hardfp-release/
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
Download the `clementine-spotifyblob` compiled for `armhf` from [here](https://drive.google.com/open?id=0BxtNs9Rdrjl3Sy02YlVGV0dyYVk) and paste it to `.config/Clementine/spotifyblob/version16-32bit/blob` (`blob` is the filename`)
|
|
||||||
|
|
||||||
mkdir -p .config/Clementine/spotifyblob/version16-32bit/
|
|
||||||
cp clementine-spotifyblob-armhf .config/Clementine/spotifyblob/version16-32bit/blob
|
|
||||||
|
|
Loading…
Reference in New Issue