Subsonic on Raspberry Pi 3
Written by pmd - - 8 commentsInstall java:
sudo apt-get install openjdk-8-jre
Download the Subsonic .deb package and install it:
sudo dpkg -i subsonic-x.x.deb
Change user (i have set pi instead of root) :
sudo nano /etc/default/subsonic
For troubleshooting interesting files are here: /var/subsonic
It was interesting because it allowed me to understand why Subsonic web interface was OK but impossible to play a file :
cat /var/subsonic/subsonic.log
[2018-01-14 10:59:44,539] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /home/pi/Music/Paul Kalkbrenner - Berlin Calling/07_Paul_Kalkbrenner_-_Torted_Original Mix.mp3 -map 0:0 -b:a 128k -v 0 -f mp3 -
[2018-01-14 10:59:44,551] INFO InputStreamReaderThread - (/var/subsonic/transcode/ffmpeg) /var/subsonic/transcode/ffmpeg: 1: /var/subsonic/transcode/ffmpeg: Syntax error: "(" unexpected
It was a problem linked with ffmpeg. I think the problem comes from the fact that ffmpeg given in deb is made for ubuntu/debian but probably not ARM processor. THis is why I install ffmpeg from repository and then linked Subsonic folder to this ffmpeg freshly installed:
sudo apt-get install ffmpeg
sudo rm /var/subsonic/transcode/ffmpeg
sudo ln -s /usr/bin/ffmpeg /var/subsonic/transcode/ffmpeg
Restart Subsonic:
sudo service subsonic restart
Configure Subsonic using web interface and admin account.
It worked! I could play my music from Astana, Kazakhstan while it was actually stocked in my Raspberry in Paris!
In my opinion it works quiet nice! Not laggy I mean.