Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
DietPi installation option for SubSonic #42
Notes to self:
SubSonic accepts startup parms in /etc/default/subsonic. However, I'am unable to find any reference of available SUBSONIC_ARGS commands online. This prevents me from setting up the users media folder locations during DietPi installation.
Thanks i'll take a look. I'am currently using the subsonic command line options to set folder locations https://github.com/Fourdee/DietPi/blob/testing/dietpi/dietpi-software#L2160-L2164
HI, thanks for the details.
Subsonic is already coded into dietpi-software, but is currently disabled as I havnt had the time to test it yet. I'll try and take another pass at it today.
If you would like to test it, you can enable the installation option in /DietPi/dietpi/dietpi-software by:
^^ is using Subsonic v5.2.1
Cool, thanks Dan.
I did wonder as I'd see you post it in the forum and then it disappeared!
On 25 August 2015 at 13:24, Dan firstname.lastname@example.org wrote:
The basic installation of Subsonic works as expected but there's a bit of tidying to do I think.
We need to use Oracle Java rather than OpenJDK/IcedTea (which is painfully slow) + I think it reduces the number of packages that need downloading.
The script needs to install ffmpeg and lame too, and subsonic's transcoder needs redirecting to then using:
ln -fs /usr/bin/ffmpeg /var/subsonic/transcode
I'll do another test build tonight to remind myself what packages I installed in what order for my first working system as it seems to perform much better than this install (which is dropping out audio regularly).
I've just spun up a new image and gone through the whole process (which I've put here for completeness, obviously not all of it is relevant to the final script)
booted and left to resize disks etc
ssh'd in and allowed update patches to run + reboot
select to install alsa (not sure if this is necessary?)
go start installation
The subsonic part.
apt-get install lame ffmpeg oracle-java7-jdk
at this point (once they'd installed) I did 'poweroff' and dropped the subsonic .deb in /mnt using my laptop and then reloaded the pi – equivilent to wget'ing the deb from sourceforge
then redirect subsonic's transcoder using:
wait a while for subsonic to establish itself and away you go!
Excellent job thechildofroth
Again, great job and thanks for helping to make DietPi better and better! I've given you full credit in the changelog https://github.com/Fourdee/DietPi/blob/testing/CHANGELOG.txt#L5 and Online documentation http://fuzon.co.uk/phpbb/viewtopic.php?f=8&t=5&start=30#p213
We should be releasing v85 today (its a biggy) and this will enable the SubSonic installation option.
I best crack on with adding the forum page for SubSonic (again) ;) lol
v85 (27/08/15) Release Notes: DietPi-Software | DietPi-Cloudshell is here! Turn your Cloudshell (or your monitor) into a dedicated lightweight system stats display. DietPi-Software | Added DietPi Optimized installation for SubSonic (many thanks to childofroth for his help, testing and work to get this completed #42) DietPi-Config | Added Interactive CPU gov option (if available on device). Odroid C1/XU4 | Changed default CPU gov from ondemand to interactive. This resolves the issue with Odroid c1 ondemand not scaling (http://forum.odroid.com/viewtopic.php?f=117&t=12057), and, performs much better. Odroid XU4 | Fixed issue with missing curl pre-reqs. Curl is now installed by default (to be consistent with all DietPi images). DietPi-Ramlog | Now also saves filenames and generates those files on boot as blank files. Basically ensures log file permissions are set correctly during boot. /DietPi/dietpi.txt cpu_max_frequency= | You can now limit the max cpu frequency (Mhz) for all cores. | 0=disabled | Useful for lowering temp/power usage on your device. DietPi-BugReport | Will now also send /etc/init.d/* and ls /etc/rc*.d/* services startup orders. General | Rolled out -m1 to the majority of DietPi code. This should improve performance with DietPi scripts.