QLogitechMediaServer
[ QLogitechMediaServer ]
( A way to install and uses LogitechMediaServer, on Qnap Nas-Systems with QTS 4.0 or higher and 86/i*86/X86_64/arm5te/armhf/aarch64/arm_64 architecture ! )
It will install the latest LogitechMediaServer nightly (Unix Tarball (i386, x86_64, i386 FreeBSD, ARM EABI, PowerPC) source on the Qnap, as can be found on the http://downloads.slimdevices.com website. The installed software is a pure copy of LogitechMediaServer, in the .qpkg/LogitechMediaServer/SlimServer directory without changing/adding anything to it !
With the default setup, should running on you’re QNap Nas-System ! ( Some times can take a few minutes, before you can access the webgui. The default port is set on 9001, so there wont be a conflict with twonkymedia.
Out of the box has support for,
Spotty, YouTube, Radio paradise, SqueezeSonic, Shairtunes2, GoogleMusic ( from version 2.09.01) and MusicIP (MusicMagicServer).
( Keep in mind, to uses the plug-in's, they have to be installed in the server settings pages. Only needed libraries/prg's and needed extra CPAN modules are included. )
Several startup options for LMS and QLogitechMediaServer can be changed in .QLMS.conf which can be found in .qpkg/LogitechMediaServer. LMS is started in a chrooted environment, so its not depending on any libraries/programs from the QTS off QNap. In the .qpkg/LogitechMediaServer you can also find RELEASE and README_ON_TROUBLE, on trouble read them please. Also there you can find a log file called QLogitechMediaServer.log, and on trouble QLogitechMediaServer.log.err. Please check them out, together with the server/scanner.log from LMS, to investigated where the error comes from
From version 2.00.00 startup is optimise's, to run on a server/Nas-Systeem. Keeping track of resources and how heavy, other software is running on it. ( For advanced user, can be adjust in the file . QLMS.config through RENICE and IONICE !)
Included in the installation is,
Perl 5.24.4/5.28.3 with original cpan modules included. ( The arm5te has perl 5.20.4)
Mozilla-CA, IO-Socket-SSL, Net-SSLeay ( Build with openssl-1.0.2m ), Devel-NYTProf,
Crypt-OpenSSL-Bignum, Crypt-OpenSSL-Random, Crypt-OpenSSL-RSA, Crypt-OpenSSL-Guest,
Inline, Inline-Python, a.m.m
Also included are many audio prg’s/libraries like Ffmpeg, lame, mplayer ( wma support ), icedax ( CDDA2WAV ) and more. To give support on several plugins and functions in LMS.
MusicIP v 1.8. ( Not included in the arm CPU's installations ! )
MusicIP (1.8) is included in the x86/x86_64 release, and when enabled, will run at startup of the LMS services. MusicIP can be enabled by changing #MUSICIP=0 to MUSICIP=1 in the .QLMS.config file.
(Can be found in the resource-monitor of QNap, under QMusicIPServer if running!) The webgui is on ipnr:[10002].
On every startup of the services, will check on updates for LMS. If available will be upgraded ( Official and Nightly ), can be adjusted in the .QLMS.config file. From version 2.09.07 there is a timer function, which can be set to check every time set in TIMER=??:??. If set on startup will be activated, to run the set time after startup. Just want to do update manuelly. Set #NOUPDATE0 to NOUPDATE=1 in the .QLMS.conf, to disable it. Then you still can do a up-/down- graded by downloading and placing a proper file in the download share and start/restart QLogitechMediaServer. Also from version 2.09.05 there is a rollback function, which lets you rollback to a previous version, if ARCIVE=1 in the .QLMS.conf and has been installed in the past.
From 2.09.00 the auto update function, has been totally redesigned to make it work better, and make sure it future proved for many years !
Questions or trouble regarding LogitechMediaServer itself , go to the SlimDevices forum website.
http://forums.slimdevices.com
More information on MusicIP, go to https://www.spicefly.com/ or http://forums.slimdevices.com
No need to uninstall any old LMS installations, from version 2.00.00, can be installed beside any other LMS or perl installations.
Developing was quiet a challenge to do, and took quiet a lot of times and investigation, trying and testing. Also had to go very deep, in the way Qnap works and the layout of their software and filesysteem, and how Linux operates. But i think have kicked it, and release a very nice way to let LMS running without any trouble's or errors. ( most of the old errors and trouble came from older or missing software in the QTS )
Still having issue's or trouble, please be very clear and try to give as many info as possible !.
Keep in mind i only own a ts-453a to work with !
For those who send me a donations, thank you, gives me a feeling that all the work is appreciated.