Re: [SlimDevices: SqueezeCenter] LMS library scan terminated unexpectedly
I finally found the culprit. The scan would crash at letter ''G'' so I removed all new files after the G and did a rescan. Then I added them back one at a time until it crashed again. I tried removing metadata, properties from that file and then rescanning but it crashed again. Too bad it's a good album. Turnandcough's Profile: http://forums.slimdevices.com/member.php?userid=9436 View this thread: http://forums.slimdevices.com/showthread.php?t=106322 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS apache reverse proxy
d6jg wrote: > Yep. I know all about Let's Encrypt. Running it in a number of places > with the auto renew scripts. I wondered about the WAN and DNS though and > whether LMS had any non standard URLs that would bork an SSL connection. The WAN and DNS are only really required when you aquire or renew so youcan open a firewall port while you renew and then close. I personally have my lms open (HTTPS) but other servers ie my internal server I keep an external dns entry with my ISP and add a virtual https server to my apache only while I renew the cert then I can use the cert for Webmin, ESXi, UTM 9 etc. I have not had any trouble with any URLs so far, all seem to work well and as you can see you can add auth. Jeff *Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezePlayer,PiCorePlayer x3,Wandboard *Server:* LMS Version: 7.9.0 - 1475786002 on Centos 7 VM on ESXi 6 on Dell T320 *Plugins:* AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud *Remotes:* iPeng8/Orangesqueeze/PC/Jivelite *Music:* 383GB,1269 albums 17756 songs 4381 artists mostly FLACs *Want a webapp ?* See http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290 View this thread: http://forums.slimdevices.com/showthread.php?t=106471 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't connect to LMS through browser
Installed LMS 7.9.0 nightly, on Squeezeplug 7.5. server.log shows LMS in a loop of start/die/re-start. Tried sudo /usr/sbin/squeezeboxserver -d_startup. Output shows some trouble - snipped-out some parts here - can provide full output, if useful: Found SELinux - setting security context to: texrel_shlib_t for *.so files. Got @INC containing: /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 Loaded module: [version] ok! Loaded module: [Time::HiRes] ok! Module [DBI] failed to load: Can't locate loadable object for module DBI in @INC (@INC contains: /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf- /usr/local/lib/site_perl .) at /usr/share/squeezeboxserver/CPAN/DBI.pm line 268 BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/DBI.pm line 268. Compilation failed in require at (eval 15) line 2. BEGIN failed--compilation aborted at (eval 15) line 2. . . . BEGIN failed--compilation aborted at /usr/share/squeezeboxserver/CPAN/EV.pm line 127. Compilation failed in require at (eval 16) line 2. BEGIN failed--compilation aborted at (eval 16) line 2. Server platfiorm is a model B RPi/512 MByte: # uname -a Linux squeezeplug 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux #cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS: 2.00 Features: half thumb fastmult vfp edsp java tls I am guessing the next step would be try to build a local LMS. Question: Perl v5.14 is pretty old - I guess this is due to starting with the (now old) Squeezeplug 7.5. Would it be better to start with a more recent Perl package? Sorry for noob/ignorant question... Thanks/paul paulf's Profile: http://forums.slimdevices.com/member.php?userid=66262 View this thread: http://forums.slimdevices.com/showthread.php?t=106458 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS library scan terminated unexpectedly
Search function is buggy as well. For example - if I type in an artist it will only find part of their discography even though I can find and play all the albums in the music folder by scrolling down to them manually. Turnandcough's Profile: http://forums.slimdevices.com/member.php?userid=9436 View this thread: http://forums.slimdevices.com/showthread.php?t=106322 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS apache reverse proxy
d6jg wrote: > Jeff > Does your config let you run an SSL cert on the Apache box? I know it > may not be external facing and may be self signed but would be > interested to know. Yes I use "lets encrypt" its quite easy but part of the verification process require a wan address and DNS it is a fully accepted cert and free !! https://letsencrypt.org/ *Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezePlayer,PiCorePlayer x3,Wandboard *Server:* LMS Version: 7.9.0 - 1475786002 on Centos 7 VM on ESXi 6 on Dell T320 *Plugins:* AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud *Remotes:* iPeng8/Orangesqueeze/PC/Jivelite *Music:* 383GB,1269 albums 17756 songs 4381 artists mostly FLACs *Want a webapp ?* See http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290 View this thread: http://forums.slimdevices.com/showthread.php?t=106471 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Alexa and LMS - new lease of life?
Great work!! Cant wait to try this. snoopy86's Profile: http://forums.slimdevices.com/member.php?userid=64826 View this thread: http://forums.slimdevices.com/showthread.php?t=106149 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS apache reverse proxy
Jeff Does your config let you run an SSL cert on the Apache box? I know it may not be external facing and may be self signed but would be interested to know. *Vortexbox LMS 7.9 music on QNAP TS419p via NFS* iThingys/iPeng/Tablets *Living Room* - SB3 -> Onkyo TS606 - > Celestion Ditton F20s - Zone 2 -> Sony TA FE 320 -> Sennheiser RS 130 & B P7 *Office* - RPi -> Sony TA FE320 -> Celestion F10s / SB3 -> Onkyo CRN 755 -> Wharfedale Modus Cubes *Dining Room* -> SB Boom *Kitchen* -> UE Radio (upgraded to SB Radio) *Bedroom (Bedside)* - SB Touch -> Topping TP21 -> AKG Headphones *Bedroom (TV)* - Amazon Fire TV (SB Player) -> Topping TP20 -> Wharfedale Modus Cubes d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051 View this thread: http://forums.slimdevices.com/showthread.php?t=106471 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS apache reverse proxy
brjhaverkamp wrote: > Hello all, > > This has been asked some times before over the years. > But I am trying to get LMS running mapped on port 80 via an reverse > proxy on my apache server. > I have tried about every example config out there, including the > "official" one here on slimdevices.com: > http://wiki.slimdevices.com/index.php/CleanURL > However, It simply does not work. > The page opens and hangs on > Loading Logitech Media Server... > > Has anyone solved this some how in recent years (the link above is from > 2008..) > > Regards, > > Bert Hi Bert, I do this on Centos7 Linux but I reverse proxy to https :- /etc/httpd/conf.d/lms.mydomain.com.conf Code: ServerName lms.mydomain.com # Configure the proxy ProxyPass / http://localhost:9000/ ProxyPassReverse / ! AuthType Basic AuthName "Logitech Media Server" AuthUserFile /etc/httpd/passwords Require valid-user SSLEngine on SSLCertificateFile /etc/letsencrypt/live/server.mydomain.com/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/server.mydomain.com/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/server.mydomain.com/chain.pem Jeff *Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezePlayer,PiCorePlayer x3,Wandboard *Server:* LMS Version: 7.9.0 - 1475786002 on Centos 7 VM on ESXi 6 on Dell T320 *Plugins:* AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud *Remotes:* iPeng8/Orangesqueeze/PC/Jivelite *Music:* 383GB,1269 albums 17756 songs 4381 artists mostly FLACs *Want a webapp ?* See http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290 View this thread: http://forums.slimdevices.com/showthread.php?t=106471 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Alexa and LMS - new lease of life?
Yea, I mean there's never something like perfect security. Generally I think if you open a port it will be hard to protect the system against a hacker directly attacking your system in all cases. However, that's not the most common scenario (this is a high effort activity, want to have some value behind it, your music library might not always qualify for that and even a private home network rarely is). The most common scenario is a script kiddie writing an automated port scanner finding stuff they know they can easily break and do some stuff with. I think for that case your proxy will probably eliminate 90% of the risk, changing the port (maybe even randomly) to something other than 9000 might give you another 90% down... --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=106149 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Alexa and LMS - new lease of life?
pippin wrote: > Is this proxy running in a separate process? The first iteration I built used proc::background to run the http::daemon in a different process but I'm not sure now separate that is in perl terms. I'm currently looking at bundling mojolicious to implement a completely separate server process which would be non-blocking. pippin wrote: > Apart from the obvious issue of someone fiddling with your players or > library I don't think a proxy in the same process would really add to > security. The purpose of the proxy is to validate that inbound requests come from the Alexa skill and that the userID supplied matches that stored in the plug-in. Only traffic that meets these criteria will be passed along to LMS. pippin wrote: > You might also want to use a different port than 9000 because from the > incidents people reported of someone fiddling with their setup remotely > I got the impression somebody might do port scans on 9000 The proxy runs on a user specified port (not 9000). Only this port needs to be forwarded. 9000 does not need to be exposed to the internet. Right now, the proxy passes validated commands to 127.0.0.1:9000 but it would be trivial to permit users to specify the port here as well in local plug-in preferences. I will say, this i not my area so any and all guidance appreciated! meep's Profile: http://forums.slimdevices.com/member.php?userid=12744 View this thread: http://forums.slimdevices.com/showthread.php?t=106149 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Alexa and LMS - new lease of life?
meep wrote: > A quick update; > > I've managed to get a basic proxy implementation built into my plugin. > This means that traffic from the skill will now come directly to the > plugin and can be assessed there to ensure its legitimate. From there, > commands are forwarded on to the LMS. This means that users won't need > to expose their LMS api to the big bad world. > > Yay! > > (please forgive typos in the screengrab - number 821 on today's to-do > list!) > > 21519 Is this proxy running in a separate process? Apart from the obvious issue of someone fiddling with your players or library I don't think a proxy in the same process would really add to security. You might also want to use a different port than 9000 because from the incidents people reported of someone fiddling with their setup remotely I got the impression somebody might do port scans on 9000 --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=106149 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS under Win7 Crashing
THis thread looks similar but there was no followup http://forums.slimdevices.com/showthread.php?103931-Viewing-LMS-Settings-cause-LMS-to-overload bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=106451 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS on Raspberry Pi and general purpose OS
Thanks for the kind words, JerryS! Our current images are all based on Raspbian Jessie lite and we encourage users enhancing their build of Max2Play to their own needs. The web interface and the possibility to add useful plugins stays intact and we actually have some tools and an example class to build your own plugins to integrate them in the web interface. Here is our 'Developers Corner' (https://www.max2play.com/en/developers-corner/) for the interested, user noop already built a simple 'plugin to run commands ' (https://www.max2play.com/en/portfolio/plugin-run-command/)from the web interface. Max2Play's Profile: http://forums.slimdevices.com/member.php?userid=66120 View this thread: http://forums.slimdevices.com/showthread.php?t=106460 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] gettting Unhandled WAV chunk on scan
More info on the reported errors: DMC = DBPOWERAMP MUSIC CONVERTER BEXT = BROADCAST AUDIO EXTENSION CHUNK In 1997 the European Broadcast Union published the specification of the Broadcast Wave Format (BWF) for the seamless exchange of audio material between different broadcast environments and between equipment based on different computer platforms. BWF is essentially a WAV file with a Broadcast Audio Extension chunk () that can store metadata. CART = CART CHUNK Cart Chunk is a metadata format which was designed for WAV files used in the radio industry. It was formally ratified as a standard in 2002 by the Audio Engineering Society (AES) posnos's Profile: http://forums.slimdevices.com/member.php?userid=62955 View this thread: http://forums.slimdevices.com/showthread.php?t=106466 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] gettting Unhandled WAV chunk on scan
so looking at the code, these errors relate to unknown tags that are in the WAV (or aiff files). Further investigation shows that for example, the 'DMC" reported errors relate to the dBpoweramp Music Converter. This makes sense in my case as I did convert a lot of flac files I got from HDTRACKS to WAV files so I guess DMC tagged these in a proprietary way that gets reported as Unknown by the WAV file parser called by LMS. So I can conclude, based on my testing and the above code, that these errors are benign (ie the library scan doesnt skip any files). Many thanks to myself for finding this out;) posnos's Profile: http://forums.slimdevices.com/member.php?userid=62955 View this thread: http://forums.slimdevices.com/showthread.php?t=106466 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] gettting Unhandled WAV chunk on scan
Found a reference to the error on github in the project https://github.com/jrmuizel/AudioScan-opus The file ~/src/wav.c is used to scan WAV files and get their metadata and this source code has the same error message format: - else { PerlIO_printf(PerlIO_stderr(), "Unhandled AIFF chunk %s size %d (skipped)\n", chunk_id, chunk_size); buffer_consume(buf, chunk_size); }- Looking at the readme for the project we see: -AUTHORS Andy Grundman,Dan Sully, COPYRIGHT AND LICENSE Copyright (C) 2010 Logitech, Inc - So I guess its related to the scan retrieving the metadata for each file. posnos's Profile: http://forums.slimdevices.com/member.php?userid=62955 View this thread: http://forums.slimdevices.com/showthread.php?t=106466 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Plugin Domoticz for Squeezebox / Logitech media server
Thanks, solved! Jackisidore's Profile: http://forums.slimdevices.com/member.php?userid=33885 View this thread: http://forums.slimdevices.com/showthread.php?t=106097 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS under Win7 Crashing
Possibly also related to content changes. I have had issues occasionally when bad files are scanned, or played. But it's rare. LMS is huge and complex and, in my experience, remarkably stable. Oo, one more point: is it leaking memory and hanging? I did see an issue with that a while back, but that was fixed a long time ago now. drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=106451 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS under Win7 Crashing
Not sure if this is related, but my 7.7.5 which has been stable for a long time has started to be a bit odd this week - I noticed it on Tuesday as that is when it runs an alarm and the misses has complained it has been bad this week. Over the weekend when I got home, I did windows Update all my kit (LMS is on a windows box) I am going to try 7.9 and see if that is more stable poyntzj's Profile: http://forums.slimdevices.com/member.php?userid=2628 View this thread: http://forums.slimdevices.com/showthread.php?t=106451 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Trap Divide Error with Logitech Media Server
Still investigating, but have found something "odd". I do indeed see a handful of messages of the form: [16-11-17 21:27:41.9881] Slim::Utils::Misc::msg (1244) Warning: [21:27:41.9877] Image::Scale libjpeg error: Corrupt JPEG data: premature end of data segment (/USB500GB/media/Pictures/ALL/1385.JPG) But what is "odd" is that my music directory is /Music, whereas the files being reported on are outside of that. The only thing I can think of to explain this is that I am using autofs, and /Music is actually a symlink to /auto/Music. /USB500GB, on the other hand, is a physical directory. As the JPG files do appear to be corrupted in some way, I will clean them up and see if I still get crashes. Thanks -- Peter pietro1685's Profile: http://forums.slimdevices.com/member.php?userid=66244 View this thread: http://forums.slimdevices.com/showthread.php?t=106417 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter