-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add page for Raspbian install documentation #10
Comments
Comment by disanvparean Installing Libresonic on Raspberry Pi 3 (Raspbian lite but should be working with full Raspbian - other Raspberry Pi with Raspbian should work too)
Be patient (several minutes at least on Raspberry pi 3), you can follow the deployment using :
When If you have a nginx reverse proxy, add to
Restart nginx :
And then go to : https://yourdomain.com/libresonic Thank you for your wonderful software :-) |
Comment by jooola Thanks! If you're up to submit a PR tell otherwise i'll do it ! |
Comment by disanvparean Please do it, I'm not so familiar with git ;-) |
Comment by disanvparean If you want to enable transcoding : Transcoding (adapted from Subsonic htpcguides.com) :
In order to avoid permission problems :
Libresonic uses ffmpeg by default so we are tricking the symlink into using avconv. And then we are creating other symlinks.
|
Comment by jooola For trans coding it don't think this really necessary to add lame/flac/xmp. Currenlty Libresonic only use ffmpeg (avconv) for transcoding. And i don't konw if it works for you but i already saw someone having an issue symlinking ffmpeg to avconv. I didn't tested it but the best way to do this should be to not change the names in the symlinks but change them in the transcoding rules in Libresonic. Or simply download ffmpeg from jessie-backports (which should exist on raspbian ) |
Comment by disanvparean I didn't know libresonic doesn't use lame/flac/xmp. |
Comment by jooola Yeah libresonic needs the symlinks from /var/libresonic/transcode/ffmpeg to /path/to/ffmpeg. Good to know ! I'm going to install my rapsberry pi too i think !! |
Comment by disanvparean Yeah, it's working well. Outside my home network (50ko/s max uploading) I need two seconds for transcoding and start playing the file (4 minutes mp3 320k to mp3 192k). And I only have 60 MB free on memory on my Pi because I'm using transmission+sickrage+libresonic. I tried to transcode using ffmpeg package and it's working well. What I did : TranscodingTranscoding : Edit
Add at the end of file :
Run update and install
Create the symlink :
You're ready ! |
Comment by jooola Ok thanks this is online in 5 minutes ! |
Comment by jooola https://github.com/Libresonic/documentation/blob/stable/install/example/raspberrypi.md I made some changes but this is done thanks ! |
Comment by disanvparean Great, nice work :) |
Comment by disanvparean Ok I checked your documentation and it seems that /usr/bin/ffmpeg doesn't need to belong to the user running libresonic to work. I don't know why. Is tomcat using root account ? I don't think so it has his own account (tomcat8).
Moreover, we don't know where |
Comment by muff1nman Correct, ffmpeg only needs to be executable by tomcat, not owned by tomcat |
Comment by jooola Yeah ok i'll fix the source list files path ! No about the transcode the binaries have to stay as is. Like most other binaries they are owned by root. Additionnally if you see the ffmpeg permissions (755) everyone can execute it. |
Issue by jooola
Saturday May 27, 2017 at 04:23 GMT
Originally opened as https://github.com/Libresonic/documentation/issues/10
See https://github.com/Libresonic/libresonic/issues/281
The text was updated successfully, but these errors were encountered: