Re: [SlimDevices: SqueezeCenter] LMS on Old Desktop with lubuntu 18.04
> update-rc.d: warning: start and stop actions are no longer supported; > falling back to defaults This probably means that the OS uses the systemd init system rather than openrc. The correct command to run the service at startup in this case is Code: systemctl enable logitechmediaserver ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117134 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] server filling syslog with messages
Millwood wrote: > Suddenly, I'm seeing messages like: > Suddenly? Possibly your system got corrupted. If you go to the setting - information page, what does it state for `Operating System`? If it doesn't say `Debian...` then different paths apply for various settings. Another possibility is that the log file path went missing or became unwritable and a fallback came into play. Last, the log file location may have become overridden in the systemd service file. Check the command line that was used to start LMS. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=116848 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
mherger wrote: > > > You patched yourself? Would be great if you could confirm 8.3.1, as I > plan to release that probably soon. Hesitant on account of the alarm issue which apparently still exists given that the thread on this issue received a post earlier today. May try temporarily later today. Nightly builds are somewhat complex to create a package for though because of the unpredictable number component in the file names. I can probably do a git clone but I'm not that eager to retrieve all the arch stuff that doesn't work with the way I created the package anyway (regardless of target system). ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
mherger wrote: > Could you please try the latest 8.3.1 nightly build? Philippe kindly > provided a patch which would hopefully fix this. Slightly different from the one that was proposed earlier and that I added to my Gentoo build, but yes this works as well. Verified with 8.2.0 - not ready for 8.3.x yet. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
An additional note: I actually misidentified this bug. It is not related or even restricted to SB Radio. The reason for this false identification is that I did not have the same station selected on all of my SBs. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
mherger wrote: > > Your choice. But you seem to suffer real problems with your choice, > asking for help about them, while SD card corruption and "Pi is no > better" are purely assumptions. Moving from an ARMv5 based NAS to a Pi3B > > was like night and day. And that Pi has been running flawlessly on the > same SD card since January 2017. I don't see where my choice of platform comes into this bug report. All SB devices are perfectly capable of handling various types of compressed streams as offered through MySqueezebox. From my point of view it is a strange choice with installing a local LMS to disregard that functionality in the player and concentrate all of the processing power associated with decompression onto a single machine that unlike the players needs to be always on. Keeping the CPU load distributed means I can safely run my home automation system on the same machine as LMS while with transcoding centralized I would have to move that to a second machine to avoid a possible struggle over CPU time. PS How long ago was it that you rebooted that Pi? Typical reports about SD card failure state that data turns out to be missing after a reboot. That is because memory cards and USB sticks usually do not report write failures that are caused by a memory location having become fixed and so whatever you think is written on it may in reality only exist in disk cache. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
mherger wrote: > > Oh, and all the electric power you'll use working day and night. You'll > > never compensate this using an underpowered device to run the code > instead of a Pi which wouldn't consume any more energy today... A Pi is just as crippled as the device I use even though it may not seem as obvious because on paper the processing power of the armv7 exceeds that of the amv5te. Newer doesn't by definition mean better. Oh and obviously this is just a background server. It doesn't even have any graphic interface that you can connect a screen to. And as stated it runs a lot more than just LMS and does not get corrupted by an SD card turning unwritable so I'll choose this over a Pi any time. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
philippe_44 wrote: > I think as a dev the product of time_to_develop * runtime_ressources * > app_complexity is a sort of constant. You just need to figure out what > matters for you. Im able now to create by my own things that would have > taken a lifetime when I started my career. But it comes with a price. > Language is one of the trade offs. As I did a lot of assembly, then > C/C++ and then Perl (and Python to a lesser extend) I feel that > difference very well. As a database specialist I can actually state that it is very easy for me to spot whether a client application is based on RADD or old fashioned coding. I appreciate your stance but the reality of course is that most of the code produced today may look cool but in terms of effectiveness doesn't come anywhere near the quality that programmers created 30-40 years ago and in several cases still actively develop on today even though of course they had to go graphic and switch from Basic to VB, from Pascal to Delphi, from C to VC and on to C#. In my experience there are two types of people here: the first are managers that like to have everything as quick and as cheap as possible, the second are the employees that actually need to work with these applications and their frustration is typically at least equally as high as the manager's satisfaction. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
philippe_44 wrote: > But you can get LMS running with transcoding even on an old PiZero 1st > gen with arm1176. Transcoding does not use that much CPU and compilers > are really efficient (remember that all transcoders are native compiled > application) I know, but as said if you stress the CPU with some other process running on the same machine it will get tricky. btw, I did in fact spend the time to convert those python scripts that prompted me to change LMS to notranscoding into an ELF binary which reduced its runtime from 40+ seconds to below 1 (using two http calls at minimum). That is the difference between running code that is interpreted versus code that is compiled. I'll bet you that if I were to rewrite LMS and turn it into a binary I can make it show its web GUI within a second after startup as well (currently takes 10-15 seconds for the Apache frontend to stop returning a HTTP-500). gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
philippe_44 wrote: > This is part of what I had to do to allow players that support aac to > play mp4 streams but also to allow LMS to transcode when they dont. > Its true that LMS does not benefit from mp4 to aac unwrapping when > transcoding is disabled. Candidly, when I was writing that I was of the > opinion that the notranscoding option should simply be removed That would place higher requirements on the server CPU and subsequently either rule out green devices completely or require them to be dedicated for LMS and even then you would likely run into trouble when copying new music files onto them while also listening. This said, my armv5te device actually does a pretty good job even with transcoding enabled (though last time I had it configured that way I only had two SB devices). The trouble started when I added some python scripts to my home automation app that also runs on that machine to pull data from a web service and the CPU load from python caused the players to start stuttering and sometimes even become completely silent for several seconds. That is why I require the notranscoding and really the only drawback is that I need to convert media files that come in `weird` formats (like Apple lossless) to native supported formats prior to adding them to LMS (effectively I recode everything to flac16 or if the original format was lossy to mp3). Honestly, if I had enough time I would likely make an attempt to rewrite LMS in C++. I know there's lots of people that dislike compiling stuff but at current energy prices the difference between 10 Watts and 100 Watts approaches 500 euros a year. That is money I'd rather spend on a nice diner. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
Interesting. Since the number of changes were limited I did some tracing and found the offending change: Code: diff --git a/Slim/Player/Squeezebox.pm b/Slim/Player/Squeezebox.pm index e3411fe0e94..786c5a8600e 100644 --- a/Slim/Player/Squeezebox.pm +++ b/Slim/Player/Squeezebox.pm @@ -705,12 +705,8 @@ sub stream_s { # container type and bitstream format: '1' (adif), '2' (adts), '3' (latm within loas), # '4' (rawpkts), '5' (mp4ff), '6' (latm within rawpkts) - # - # This is a hack that assumes: - # (1) If the original content-type of the track is MP4 or SLS then we are streaming an MP4 file (without any transcoding); - # (2) All other AAC streams will be adts. - - $pcmsamplesize = Slim::Music::Info::contentType($track) =~ /^(?:mp4|sls)$/ ? '5' : '2'; + + $pcmsamplesize = $controller->song->wantFormat ne 'aac' ? '5' : '2'; $pcmsamplerate = '?'; $pcmendian = '?'; $pcmchannels = '?'; ---- Thanks for finding the correct method to fix this. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
garym wrote: > I tried both of these through my own Radio (running latest community > firmware, 8.0.1-r16907, and LMS 8.3.1 (see setup in Signature). First > plays fine as 128kbps AAC. Second one plays fine as 64kbps AAC. All my > filetype settings/transcoding, etc. are set as default (I've never > changed them). > > edit: please ignore my comment if you're using a special install/setup > (e.g.,no transcoding) and my plain setup is not relevant for > troubleshooting. I have a fairly special setup ;) Logitech Media Server Version: 8.1.0 - TRUNK @ UNKNOWN Hostname: babaorum Server IP Address: 10.19.17.1 Server HTTP Port Number: 9000 Operating system: Linux - EN - utf8 Platform Architecture: armv5tel-linux Perl Version: 5.34.1 - armv5tel-linux-thread-multi Audio::Scan: 1.06 IO::Socket::SSL: 2.072 Database Version: DBD::SQLite 1.70 (sqlite 3.36.0) gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
Okay. I guess at least it helps that I was able to pinpoint the problem to a fairly limited set of commits even though from my perspective I really need to restrict myself to the ones that are tagged as release. I've not done any deep investigation towards the actual cause but if I were to guess I'd say that something that used to be optional became compulsory and attempts to route the stream through a transcode binary that does in fact not exist on my system as I deliberately made these optional in the installer and did not select them for my personal target system. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
Same problem. No playback on radio streams. It was introduced between the two indicated commits and as apparently I'm the first one to discover the bug it was never solved. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
Paul Webster wrote: > Can you give a URL of one that fails for you? Sure: 'Kink Classics' (http://opml.radiotime.com/Tune.ashx?id=s194478&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=5ed18b9e1b4eeb6d3ae73745fc47c368&filter=s:~K:country) 'NPO Radio 2' (http://opml.radiotime.com/Tune.ashx?id=s124134&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=88beeb0eb03dde47915d999c774f56c9) Edit: seems the AAC is dictated by the automatically generated URI for that station. Unsure why it prefers AAC. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
I tried two streams. They are both AAC I think. Either way that should not be the issue as they are processed quite fine by LMS up to 8.1.0 Obviously I have my reasons for disabling transcoding. Re-enabling it is not an option. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] LMS 8.1.1 (and above) break radio streaming on SB Radio
Yesterday I upgraded my LMS from version 8.0.0 to 8.2.0, not noticing anything wrong. This morning the alarm on Radio did the tsjiboom thing and as I investigated I found that Radio refused to play the active media which happened to be a radio station (I did find out later that it still does play local media). Receiver and Touch were not affected, not sure about Boom as I initially neglected to identify that the issue was restricted to radio stations and the current track on the Boom was a local media file. As LMS reported an issue with the Radio's firmware (with the version patch) I tried updating it with the community version but it wouldn't accept it and so I downgraded to 8.1.0 (there is no 8.0.1 install as mentioned in the forum post about the community firmware?) and I managed to get the community firmware on. It still states the following though: Code: You seem to be using a Radio with an outdated firmware, not recognizing this version of Logitech Media Server. Please consider patching it. Get more information. ... Player Information Player Model: Squeezebox Radio Player Type: baby Firmware: 8.0.1-r16907 Player IP Address: Radio happily played the stream though and I went back to 8.2.0 only to find that it was broken again. So I stepped down again, this time to version 8.1.1 and it was still broken. So somewhere between commit 'effae84 and dd356a4' (https://github.com/Logitech/slimserver/compare/effae84...dd356a4) it went bust. My guess is that the issue may be related to one or more of the commits about transcoding somehow conflicting with the '--notranscoding' command line option. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117085 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server 8.3.0 released
I'm a tad slow. I just stabilized 8.2.0 for Gentoo in my overlay. How are we with the alarm issue on this release? gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117012 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Audio-scan 1.06
slartibartfast wrote: > I figured it out. I reinstalled the update from the update folder on my > SD card and removed the Audio/scan.pm I added. I then noticed that Audio > scan was back to 1.05. So I had done my usual trick of thinking I had > the latest version but I was one version behind. So I had a scan.pm > (1.06) with a scan.so (1.05) [emoji1787] > After another update everything is fine. > Haha. Different reason, same result. Good job finding the cause. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117063 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Audio-scan 1.06
mherger wrote: > > Would the update leave the scan.pm I added manually if it was in a > > different place to yours? > > Do I need to manually delete the Audio/scan.pm that I added? > > I don't know... might even depend on the package management system. > Would LMS start if you removed that additional Scan.pm file? Did you try > > to start with --d_startup? Search path mechanism would not trip over multiple instances present - it is first match served. Should note that pre 8.x had a Audio/Scan.pm directly below CPAN (so not in arch). Depending on how users install LMS this may still be present if they upgraded from a lower version. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117063 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Audio-scan 1.06
slartibartfast wrote: > LMS fails to start now. I haven't checked yet but that happened to me > when I didn't put scan.pm in the right folder. > > Sent from my Pixel 3a using Tapatalk That happens when you have multiple versions of Scan.pm and/or Scan.so. Depending on the search path (which is determined by system path for the .so and by LMS path for the .pm) if the files found report a different version it will exit with a load failure. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117063 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Audio-scan 1.06
That is what I meant. Reason for asking is that I started wondering if Andy was still alive since most of his Perl modules used by LMS seem pretty much unmaintained and outdated. Don't really know if CPAN allows a different author to take over in such a case. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117063 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Audio-scan 1.06
Any chance of this becoming available through CPAN? gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117063 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High resolution FLACs (192/24) stuttering during playback
I remember having that same issue in my setup where LMS defaulted to transcoding everything prior to sending it to the players. So I reconfigured LMS to send native flac to the player which was a major improvement but then noticed that a couple of them refused to play which turned out to be because the player doesn't handle larger than 16 bit encoding (even though the libflac version that is part of the player's firmware is stated to be able to handle 24 bit encoded files). Since then I have coded everything down to 16 bit and I do that for every new music file I receive if needed. It's not that big a deal as I need to do a similar thing when I want to take music with me in my car which will only play mp3. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=117034 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS on a different network than clients
Doesn't work. No router will send on broadcasts to another interface. Imagine if they did it would shut down the entire internet. Your LMS machine must have an interface that is on the same LAN segment as the client. By default LMS will listen on *all* interfaces including VLAN and VPN (useful if the machine has only one physical interface). gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=116947 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] JSON-RPC command to change screensaver on a Squeezebox?
mherger wrote: > > One last note, what would be the numeric value I would send to set > that > > brightness to the "Automatic" option seen in the menus? > > I feared you'd ask... :-) After skimming the related code it's still not > > clear to me. What I figured out is that it's expected to be larger than > > any other value. Maybe you can try some large values to see what > happens?... I think that was meant as a quiz - the answer (6) follows directly after it. Seems logic as this would be the automatic value from the dropbox menu in the standard GUI. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=116223 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can't get LMS to run on current Debian
The fact that there are multiple installs for various CPUs gives away that the installation contains components that are linked to binary libraries. The trouble here is that Perl marks these binary libraries with its own version and so these must be rebuilt for every new version of Perl. What further adds to your problem is that LMS has been created as a stand-alone installation, although it does require Perl to be already present on the system. This causes the solution to be rather complex whichever of the two available routes you would want to take, being to compile the missing modules yourself from the 'slimserver-vendor' (https://github.com/Logitech/slimserver-vendor) sources, or to use the system provided packages for the missing modules. The latter option being complicated by possibly not every missing module being available through the package manager (likely candidates MP3::Cut::Gapless and Audio::Scan) but also version conflicts due to modules existing both in your system Perl path and in the LMS directory. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=116204 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] No cover art (image) for streams ( Azuracast )
May seem unrelated, but do you see the G clef icon on the `Radio - Music` entry in the web frontend? This icon is fetched the same way as cover art. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=116147 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Maximum file size for cover art?
As far as I can see, when playing an audio file the cover art shown defaults to the one that is embedded in the audio file. When browsing albums in the default GUI - I suppose Material may follow a different scheme - it favours a separate image file in the folder with a preference for `folder.jpg` or `cover.jpg`. In past time I found the mechanism to be somewhat unpredictable, probably because at the time I did not obey this name preference, and as I never browse additional art (i.e. booklets) from the LMS GUI but do like to include them on the disk I have since always archived them in either .pdf or .cbr format which the scanner does not handle. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=116043 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Maximum file size for cover art?
AFAIK there is no fixed limit, but as coverart is resized to match the player's capabilities and I run LMS on a small CPU I make a habit of reviewing the music files and resize the art to match the maximum display size which is 300x300 for the image included in the music file (used by the player) and 800x800 for the folder (used by the web GUI). gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=116043 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] What's the highest version of LMS that will run on a Synology DS214p on DSM 6.2.4?
Jaca wrote: > It's ok as player but for LMS server I would go with Rpi3 as minimum. > Ideally rpi4. I think you need at least 1gb of RAM Meh... LMS runs on a Touch which utilizes an ARMv6 CPU and 128MiB of RAM. I run LMS myself on a Marvel Kirkwood ARMv5 with 512MiB of RAM and several other services active (email, smb, apache). Yes, startup takes close to a minute, searching a 1TB library is a tad slow and transcoding needs to be avoided as accessing any of the other services will interrupt it but it runs just fine serving different content to 5 players in my home. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115974 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS packages listed for ARMv5
Get the `NoCPAN` version and then build the arch specific modules yourself from the sources available at https://github.com/Logitech/slimserver-vendor. Possible issues may rise from your NAS software utilizing different versions from modules that are also used by LMS. The normal installation of LMS makes this unavoidable which is why I created an alternative installation method for LMS on Gentoo Linux. The method should also work on other Linux versions though but then of course it will not be automated by the package manager. https://github.com/gordonb3/bubba-overlay/blob/master/media-sound/logitechmediaserver/logitechmediaserver-8.0.0.ebuild Note that if you would like to use this as a guide you should use your system's package manager to install the modules as this will also pull in runtime dependencies. Only resort to CPAN for modules that your system does not list. PS I run LMS on a Marvell Kirkwood Feroceon 88FR131 CPU (armv5te) gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115882 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Has Stopped Working. Cannot Get It Working Again.
Being `that someone who mentioned UAC` the purpose of UAC was to safeguard those that are less nerdy from culprits corrupting their computer for whatever reason. In practice UAC confronts people so many times that the people it means to protect have got used to simply click `Yes` on every pop-up without taking note. And yes it can get very confusing when you installed something and at first you can't access it because Windows will prevent applications to communicate with each other (through internal methods - i.e. file based sockets) when they run in different elevation modes and not produce any meaningful error whatsoever. If that happens to you and you don't understand what's going on, just restart and you should be fine 99.9% of the time. Also worth noting that if Windows prompts you that you have to reboot to finish an uninstall then you need to do so before running a new install because what the prompt means is that Windows has marked some files to be deleted at boot time and will continue to do so even if you replaced those files with newer versions afterwards and thus your new installation will be crippled. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115832 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS Has Stopped Working. Cannot Get It Working Again.
I suggest you read up on Windows UAC mechanics. Also I'm unsure what the purpose of that tray icon is supposed to be other than when you are running LMS in your own user space which I don't think is meant to be as you referenced `a service`. It seems to me that you are trying to bugfix what is not a bug at all. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115832 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Slow web interface, probably after Perl updates
Bind? Are you managing a network for a large multinational? Just kidding, if you managed to get the fundamentals of it and it works, it works. Would never recommend it to any home user though. Either way, the reason for me to suspect DNS is that the default settings for resolvconf is a timeout of five seconds and two retries, which adds to a total of ten seconds. Hard to tell what it might have been when it spontaneously resolved itself. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115787 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Slow web interface, probably after Perl updates
Sounds like a DNS timeout. Possibly the updated module (Net::DNS - libnet-dns-perl) is more strict about some misconfiguration on your machine. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115787 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Running LMS on Ubuntu / WSL2
Seems to be a known issue: https://github.com/microsoft/WSL/issues/2395 Thread does state that it should be fixed in WSL2 though, but it may still fail if the files are on a non-native/remote file system. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115628 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Portable server install? (Windows external drive)
Interesting question, because LMS is effectively portable by design. Never installed it on Windows myself though so I'm not sure how they organized things to start LMS using an exe rather than a shell (cmd/bat) command. My guess is that it is the exe that makes it a static install, so that will need to go and you should start LMS same as is done on e.g. Linux. >From the current installation copy the folder that contains the file `slimserver.pl` and it's entire content. The next thing you require is Perl and the OS specific code LMS indicates that this is installed in C:\perl and I don't think this is portable. A portable version of Perl does exist however and can be downloaded 'HERE' (https://strawberryperl.com/releases.html). Make sure to get the version for which Windows arch specific are included in LMS which I believe is 5.14 - verify by running `C:\Perl\bin\perl.exe -v` Create a batch file with the following content on the USB stick. Code: @echo off rem Edit the following two lines to match the folders on your USB stick - do not enter a drive letter or starting/trailing backslash set perlpath=myperl set lmspath=logitechmediaserver set params= :readvars if "%1" == "" goto start set params=%params% %1 shift goto readvars :start set drive=%~d0 set PATH=%drive%\%perlpath%\perl\site\bin;%drive%\%perlpath%\perl\bin;%drive%\%perlpath%\c\bin;%PATH% set TERM=dumb set PERL_JSON_BACKEND= set PERL_YAML_BACKEND= set PERL5LIB= set PERL5OPT= set PERL_MM_OPT= set PERL_MB_OPT= perl.exe %drive%\%lmspath%\slimserver.pl %params% ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115600 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High CPU streaming internet radio
slartibartfast wrote: > Are you saying the File Types settings page is not on LMS 8.x? It is for > me. > > I don't have it - `Logitech Media Server Version: 8.0.0 - TRUNK @ UNKNOWN` gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=91404 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High CPU streaming internet radio
slartibartfast wrote: > Well they had another post about the same thing and nobody responded to > that one either but there is more detail in it. > https://forums.slimdevices.com/showthread.php?p=635687 > > Thx I had a similar issue on my installation. Didn't really notice it because it is not a machine I work on but as I started running python scripts as part of a home automation project I found that some of the stations would frequently drop out. Took me a bit to connect the dots but I found that LMS was transcoding streams that the radio would play natively and so in this use case I was not only wasting CPU but it was also competing with the home automation app. So I reconfigured LMS as described in my earlier post (and still don't understand why that settings screen has disappeared from 8.x versions) and I also redeveloped the python script I was running to ELF which uses less resources and is ~50 times faster. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=91404 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High CPU streaming internet radio
bpa wrote: > The LMS 7.7 and KIRO stream is from the 2011 post and not the most > recent poster - 10 years later. Right... Failed to notice that this was a necropost. Wonder if OP ever found the cause as there does not appear to have been any response to his inquiry. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=91404 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] High CPU streaming internet radio
Looks like KFI stream is not available outside US/California. I can access KIRO though and according to VLC the stream is not AAC but MPeG 1/2 audio. Now I'm not sure about the defaults, but seeing the high CPU load is an indication that LMS is transcoding the stream to a different audio format before sending it to the player. Since you are on LMS 7.7 (for some obscure reason this is no longer available in 8.x) you can verify this by going into `Settings -> Advanced -> File Types`. On this page you will see for every supported file type how LMS will handle that and have an option to change it. If you select `native` or `disabled` for the stream type used by KIRO you should no longer see the high CPU any more. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=91404 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] lms ip address selection on computer with multiple nics
Networking can be really tricky due to the fact that TCP/IP is a fairly stupid protocol does not feature any self-discovery or advertising methods. Running a system that tries to hide this from the user and also not offer any methods to automate how it should behave doesn't really help as well. By default LMS listens on all interfaces (0.0.0.0). It is not possible for a newly connected (VPN) adapter to `steal` that. What is however possible is for the system to be given a preferred outbound interface, causing whatever output LMS generates not be able to reach your player/controller. This should not affect LAN connected systems though, unless they are accessed through their DNS name which as a rule *does* get hijacked by VPN. The most likely reason for LMS to seize being able to communicate with players and controllers while VPN is up is therefore that the VPN software actively prohibits secondary connections to the computer and of course they will have made it very difficult for you to override that. The best advice here is to get yourself a second machine to run LMS. Think something like a Pi or Cubietruck. If you shut down your main computer when you are not using it you will likely earn the costs for such a device back on your power bill within a year. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=110994 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS 8.1 - Webserver folder structure and CGI/PHP scripts
Honestly, I think you'll be better off installing nginx or lighttp. As you noticed LMS caches files it considers static for faster serving, while likely also not really responding to cache requests from your browser (so serving the same file over and over again) but you can probably verify that yourself. The problem here is that if you keep adding graphic content to use in some alternating rotation LMS will keep storing those files in memory even though you no longer access the older ones in your present rotation, until you run out of memory. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115324 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] https for internal network?
atrocity wrote: > > I'm probably an outlier in that I have several things running internally > using HTTP. It's interesting to me that NONE of them, including some > pretty hefty stuff like TrueNAS, are using HTTPS for their interfaces. > Are the people behind TrueNAS, piHole, LMS and whatever else I can't > remember at the moment simply *lazy* or are they reasonably certain that > they aren't creating a security risk? > The problem with HTTPS is that it requires a certificate that your browser needs to trust and therefore must contain a public key from whomever authorized/signed the certificate in use. Of course if the customer of a home appliance is willing to pay extra for that certificate that would be easy enough to achieve, but the tricky part is that certificates as a rule have an expiration date (which is how certificate authorizers make money and likely need to pay part of that to OS vendors for having them included as trusted CAs) and your browser may deny you access to your own appliance. As Michael stated the security hazard isn't that big though in a home network because there will be nothing pointing from the outside to that specific device unless you specifically changed your firewall configuration to do so, in which case you are assumed to know what you are doing. Also for a hacker to be able to sniff any traffic between your browser and the device he must first have control over some machine inside your network and even then your switch will prevent him (or her! let's not forget that ladies can be crooks too) to see anything on the wired network. As a side note: malware typically does not phone home. If your machine has a direct connection to the internet the hacker's software will phone in for instructions (e.g. send spam, participate in a DDOS attack on server X, etc) but this phone in is in fact a cascaded method as well and you will never be able to tell whether your machine was the first to receive it and thus that the originating IP is in fact that of the hacker (or the free Wifi from Pizza Hut). ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115292 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] https for internal network?
rick_k wrote: > Do you use the proxy just to eliminate the need to add ':9000' to the > URL, or is there another reason? If you were to switch your proxy to use > HTTPS, what would break? No other reason and changing the communication to HTTPS wouldn't make it any different from a client perspective. Plain HTTP proxy: Code: ServerAdmin webmaster@localhost ServerName ServerAlias RewriteEngine on RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ http://%{HTTP_HOST}:9000/$1 [NE,P,L] HTTPS proxy: Code: ServerAdmin webmaster@localhost ServerName SSLEngine on SSLCertificateFile /etc/letsencrypt/live//fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live//privkey.pem RewriteEngine on RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ http://%{HTTP_HOST}:9000/$1 [NE,P,L] And to control access to LMS settings you could insert something like this: Code: SSLVerifyClient optional SSLVerifyDepth 1 SSLOptions +StdEnvVars SSLCADNRequestFile/etc/apache2/MySnakeOilCA.crt RewriteEngine on RewriteBase /settings RewriteCond %{SSL:SSL_CLIENT_VERIFY} !^SUCCESS$ RewriteRule ^/(.*)$ - [R=500,L] This requires self-signed (aka `Snakeoil`) certificates because x509 client certificates must be verified by a local stored CA. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115292 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] https for internal network?
I have no clue why you should set a password on LMS. I even showed my 8-year old how she could use an old phone (without SIM) as a graphical remote for her Boom. The HTTP interface also only executes specifically coded content, so there is no possible exploit in the form of arbitrary code injection - which in fact will work on https sites as well. Lastly the only people able to sniff out traffic between you and the LMS server has to be on the same LAN where you are most likely running the most unsafe protocol in existence, namely SMB otherwise known as Windows file sharing. Exception of course if ports were opened to allow control over the internet but why on earth would anyone want to control music in some room while being literally miles away from it? That said, I actually access my LMS through an Apache proxy which eliminates the `:9000` in the URI. If one really, really insists on HTTPS then adding it at this level is even less than a piece of cake. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115292 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Arch Linux: Building slimserver-vendor
A lot of the support libraries that are being built by slimserver-vendor are pretty old and won't live up to current programming standards. e.g. they will not support PIE. The warning you see probably means nothing though and is likely related to the linker process, however you might want to verify that these two .so files do not dynamically link to any files in the source directory. As a side-note, Media::Scan is only needed/used when you activate the UPnP plugin which will cause LMS to also index/list videos and images. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115205 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] PLEASE INCLUDE LATEST AUDIO SCAN 1.05 for LMS 8.3.0 Unix Tarball - No CPAN Libraries
It's not so much whether you know Linux. The issue here is that your NAS provider found some way to make LMS run on a different version of Perl than the system itself, thus preventing module version conflicts between the two Perl apps. This means that if you run the buildme.sh script you need to be using the Perl version from LMS and so you will need to investigate how that Perl version is started to set your system path accordingly for running buildme.sh and you will need to let it build everything in that folder or it won't work. An alternative would be to upgrade the Perl version used by LMS but you can't simply copy the one that is already part of your system because Perl has it's system library paths hard coded inside and it will look and possibly find modules used by your NAS operating system before the intended ones in the LMS installation. Check the value of `config_args` returned by the command `perl -V` (the perl executable in the LMS 7.7.2 package) to find how you should compile a newer version. In my view your best option is to start from scratch. Delete the whole thing, unpack the noCPAN version, complete the buildme.sh routine from the slim-vendor repo and try starting LMS in debug/console mode. If you see any messages about `wrong version`, `expecting version...` etc, make a backup of your LMS installation and enter your system's perl library folders(s) (e.g. /usr/lib/perl/${version}, (/usr/lib/perl/${version}/${arch}, /usr/lib/perl/vendor_perl/${version}, /usr/lib/perl/vendor_perl/${version}/${arch}). Now for every file you find in there delete every matching file it has inside the LMS installation (i.e. `find -type f -exec rm -f ${LMS}/{} ${LMS}/arch/${version}/{} \;). Now there is a chance that you may have deleted some files to which LMS has a strict version dependency, so go into the backup folder and restore the content of every folder named `DBIx` that you find in there. That's it, LMS should complete startup when you retry running it in debug mode. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115181 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] PLEASE INCLUDE LATEST AUDIO SCAN 1.05 for LMS 8.3.0 Unix Tarball - No CPAN Libraries
I'm puzzled about your statement that the NoCPAN version would include Audio::Scan version 0.93. There is no such module inside the release tarball and so if you did not create it yourself it must be a left-over from the previous installation of LMS (7.7.2 if I gather correctly). The suggested method for getting the up to date support modules is to fetch this repository: https://github.com/Logitech/slimserver-vendor There is a script called `buildme.sh` in the CPAN folder of that repository which will create all the required support modules. On a slow CPU this can take several hours because it also builds all the underlying required packages to be included in the resulting library. An important note here is that there is a fairly nasty bug in LMS that can in fact not be resolved. It is quite possible for users to never encounter this bug, however since you are using a NAS as a host it is extremely likely that it has some kind of web based GUI and that is usually based on Perl. This is where the bug manifests itself because not every Perl module will honor the search path order set by LMS and when you find that LMS wont start up and run it in debug mode you will see messages that some module does not have the expected version. When this happens you should delete the whole installation and start over only this time use your system's package manager to install the required modules. Report back if you need any help at that point. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115181 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Flac Metadata is driving me mad!
Lost in translation? The standard tags are (track) artist and title. The extra tag albumartist allows you to group a single track where artist is album artist featuring some other artist to belong to the same album. Extending this principle the albumartist tag also allows you to group artist with band to artist solo across multiple albums. So if you want an album by Neil Young and Crazy Horse to be listed under Neil Young you set albumartist to Neil Young and you set artist to Neil Young and Crazy Horse, i.e. the exact opposite of what you did. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115164 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Moving LMS to a new computer
RadioClash wrote: > So would this be overkill? :D > > https://www.amazon.com/Beelink-SEi10-Generation-Type-C-Thunderbolt-Expandable/dp/B08PBKLNKG You may not be able to hear your music thanks to the blazing fans in that thing ;) gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115002 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl version update?
philippe_44 wrote: > Not sure how I should take the "real world people, we...". Does not > sound nice Well, I couldn't stop you from taking those words out of context and while doing so also make a subtle change which I must assume you did to make them line up with how you already determined you want to handle them. So, however you like, have a blast. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Perl version update?
philippe_44 wrote: > I think there is no merit at all for LMS trying to update Perl to the > latest and greatest, only problems to create for yourself. For example, > in some on my plugins I have to build special libraries and I will not > try to play catchup for no benefit: I need to compile for every OS, > every CPU and every Perl version... That assumes you are running a dedicated system for LMS. Not depending on any other application or OS update routine. That is not normally the case with real world people. We run LMS on multi-purpose hosts, often NAS type systems, and many users don't really get to say which version of Perl they like to run let alone that a single third party application would be able to enforce such a decision. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115117 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Moving LMS to a new computer
SpiderJon wrote: > True qualitatively, I agree :-) > > But almost certainly not true quantitatively. Even a several-years-old > 3+GHz Intel CPU is going to outperform a Pi 4, let alone a 3, by a > significant margin, no matter how horribly bloated Windows is. But why would you need that CPU power? SB Radio contains an armv5 single core CPU and I can't really be bothered to check the speed right now but it won't be more than 1MHz. SB Touch is armv6 but it runs the same armv5 compiled code (except for the proprietary hardware driver stuff of course). Both will connect happily on 802.11g wifi that has a theoretical max of 54Mbit but in real life probably will be closer to 20Mbit. The only real reason why you'd need a fast CPU to run LMS is because by default it is (or at least used to be) set to transcode all files to uncompressed streaming and that will quickly get you into trouble with multiple players. But it doesn't have to, because all the players will happily do the transcoding of mp3, flac and ogg themselves with the added bonus of less data running over the wire. In fact I even save on CPU power by running the streams over an unencrypted wifi, AC/DC is not exactly sensitive data... ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115002 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Moving LMS to a new computer
agbagb wrote: > Also, almost always a "new computer" is substantially faster - > processor, ssd etc etc - than your old one, even if getting a faster > machine has not per se been an objective of the upgrade. I'd say that is an oversimplified assumption. In fact I would expect it to be more likely that people will 'downgrade' their LMS platform by moving from a Windows PC to something like a Pi to save on their electric bill and eliminate fan noise. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=115002 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can we update our CPAN fork footprint?
mherger wrote: > >But whatever we do, I believe we need to understand why a file was > there, why a patch was applied, and make sure we don't break that > condition. Think of other platforms than yours. Because you looking into > > this most likely are looking into this because you're in a very, very > small minority of users running an unsupported platform. In my opinion the main thing to note here is that the buildme script creates both Perl modules and binaries *outside* the awareness of your system's package manager. This is something I failed to realize at first myself and as a result I found myself spending tons of time to keep LMS running as my system progressed through newer versions of Perl. The concept of the buildme script is old, really old, and should not be used on any modern system. In particular if you are on a binary release it makes no sense whatsoever to build something like ffmpeg because it is bound to be inside the system's repository and in fact likely already installed, so you can instantly link to it either statically (like the buildme script does with the historic versions) or dynamically. Using your system's package manager allows for seamless upgrades of both Perl and individual modules and takes care of changed dependencies (like the `new` module Canary::Stability). In effect there is only one real problem and that is that the slimserver-vendor project only aims to build the CPAN modules that have a binary dependency. Any other module including those that are referenced by modules included in the buildme script are part of a fixed tree even though LMS has no dependency on any specific version and that is what causes isues on practically every unsupported platform, because some of the newer modules that are needed for newer Perl do require minimum versions that are higher than the ones in LMS `noCPAN`. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114975 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can we update our CPAN fork footprint?
Yup! Debian developers are pretty good at what they do. I'm still trying to figure out how they manage to compile OpenJDK for softfloat arm... There is however of course a reason why even Debian does not have an LMS package for every their supported CPUs and as many Synology users may confirm it is not because it is dreadfully slow on arm5. And no I don't know what trickery they pulled but if I had to guess it will be related to process instance isolation to avoid module version hell and as that would cause excess memory usage on tiny systems that's why they are not offering it. On Gentoo I go a different route. I do not pack the arch specific modules but reference the OS supplied packages (I had to add a few myself) for those instead. This takes me out of harms way with respect to Perl but also introduces a new issue because the required packages have dependencies on modules that are inside the LMS noarch (confusingly named noCPAN) tree but because the OS package manager is not aware of them it installs its own versions of those modules and versioning hell is once again imposed on the installation as some of the arch specific modules actually do require a newer version for one of their dependencies than supplied in the LMS tree. Michael hates it, but I fix this in my package configure script by removing all duplicates inside the LMS tree. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114975 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can we update our CPAN fork footprint?
mrw wrote: > > How often do you update your Perl ? That's the whole culprit, isn't it? If you do it every week you're bound to know all the pitfalls. The reality is that even with an average of once per year you end up hitting a wall with errors that at first don't seem to make any sense at all and once you figured it out you find yourself needing to manually clean up left and right because some other package on your system pulled in a different version of a module used by LMS and LoadModule matches the wrong .so to the .pm (which is what the cryptic error message was about). LMS is nice for Windows and dedicated (VM) systems, but if you run it paired with other Perl apps the default installation is bound to give you problems. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114975 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can we update our CPAN fork footprint?
Honestly, the slimserver-vendor CPAN arch buildme is rubbish. I know because I referenced it for several years to build the arch dependent Perl libraries for version 1.18 up to 1.28. At some point I realized that many of the stuff being built actually already existed on my system, in a much newer version. And in fact the Perl module it created was available as an OS package as well. Therefore all of that compile time, which is significant on an armv5 cpu, was a complete waste of energy. It was 5 years ago that I started publishing my own set of armv5 support files for LMS on GitHub, but just 8 months ago when I managed to figure it out completely and make it fully compliant with my (Gentoo) system's update procedure while completely disregarding the slimserver-vendor project. I have since upgraded from Perl 5.30 first to 5.32 and next to 5.34 without encountering any issue at all. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114975 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server 8.2.0 released
mherger wrote: > > Okay. Didn't have that listed in the dependencies. Should I (Gentoo > > Linux / armv5)? > > It's only used if you're using an "old" display (the green one, SB > Classic, Boom, Transpoter) with some non lating characters (Asian, > Russian etc.). LMS would transcript those characters if the module was > missing. So if you haven't missed it so far, you likely won't miss it in > > the future. Well, as it was always there I don't really know but earlier this year I happened to have acquired a Boom which is currently still in hiding as it is a birthday present for one of my kids, four weeks from now. Don't think I'll be able to verify much earlier than that, so I think I'll just add it as a USE flag to my package. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114928 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server 8.2.0 released
Okay. Didn't have that listed in the dependencies. Should I (Gentoo Linux / armv5)? gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114928 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Logitech Media Server 8.2.0 released
Any new dependencies to consider for the noCPAN version? gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114928 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS stopped working on Synology after PERL update
If it's ARM5 you could try this: https://github.com/gordonb3/logitechmediaserver-cpan-armel (7.8.0) It should be pretty much `portable` but I haven't actually attempted to run it on anything other than the intended target system running Gentoo Linux. There is a chance that the .so (arch specific) libraries will not load if Synology packs an older version of libc than Gentoo did when I built the modules for Perl 2.4 ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114219 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] How do I uninstall LMS using the command line?
Since apparently this runs some Debian based system: sudo apt-get remove [package name] This will remove the package but keep all the settings Given that on the NAS users forum this action was recommended for transferring your existing disk(s) to the new machine it seems plausible that LMS is being run from the disk. This may mean that the whole OS runs from disk in which case the NAS will likely boot in some service mode where you can reset the system partition on the disk to default and it may even ask you to repartition the disk if the newer NAS requires a larger system partition. Hence: make sure to have a backup before you start. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114419 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Setting time on Docker LMS
slartibartfast wrote: > Hmm, GMT and UTC always map to the same time value as far as I know. > Semantics. GMT displays as BST when daylight saving is active. UTC is always UTC (i.e. there is no daylight saving). ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114253 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Setting time on Docker LMS
Probably worth noting that GMT and UTC are not the same, even though in winter they do map to the same time value. To enable local time in *nix you need to copy `/usr/share/zoneinfo/` to /etc/localtime. Depending on the application it may also perform its own timezone management, referencing either /etc/timezone for the system wide setting of timezonestring or a private config file (e.g. php does that). gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114253 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can I configure LMS web interface to use https?
philchillbill wrote: > Its only the web UI that has issues when you do this - the jsonrpc > interface still works just fine despite that green screen of death. That's because the jsonrpc interface does not return any responses that require translating to be able to fetch additional data. The point here is that forward proxy always works. You can go from https://externalhost/appdir1 to http://internalhost/appdir2 with no problem. The issue rises when http://internalhost/appdir2/index.html tells your browser to include `/appdir2/imagedir/logo.png` which of course does not exist on `externalhost` and is also not the proxied uri, which is where the *reverse* proxy is supposed to do its work and translate `/appdir2/imagedir/logo.png` to `/appdir1/imagedir/logo.png`. And yes that actually does work, which is why you get to see the green background screen and the search inputfield (which is in home.html), but does not work for URIs that are javascript generated (or altered) in your browser. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114090 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can I configure LMS web interface to use https?
Oh.. one note: Do not attempt any reverse proxying, i.e. do not move LMS into a subfolder of the proxying web server. It does not work and all that you'll see is a green screen. e.g. in-house I use the following setup for apache: Code: ServerAdmin webmaster@localhost ServerName squeezebox.localdomain ServerAlias squeezebox ErrorLog /var/log/apache2/logitechmediaserver-error.log CustomLog /var/log/apache2/logitechmediaserver-access.log combined ServerSignature On DocumentRoot /home/web/common ErrorDocument 404 /errors/redir9000.php # allow local network only AllowOverride None Require not ip 192.168.10.1 Require ip 192.168.10.0/24 RewriteEngine on RewriteCond %{REMOTE_ADDR} !^192\.168\.10\.1$ RewriteCond %{REMOTE_ADDR} ^192\.168\.10\. RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ http://%{HTTP_HOST}:9000/$1 [NE,P,L] This is targeted to getting rid of the `:9000` in the uri and so does not include any ssl (https) rules For Nginx you'd have to include something like this Code: location @proxy { proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Connection "Keep-Alive"; proxy_set_header Proxy-Connection "Keep-Alive"; proxy_http_version 1.1; proxy_set_header Host $host; proxy_pass_header Server; proxy_pass http://192.168.10.1:9000; } ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114090 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Can I configure LMS web interface to use https?
Of course you can. Simply proxy it through nginx or apache gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114090 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS to create 'relative' path Playlists ?
I'd just use `sed` to rewrite the entries, e.g. you could run the following command hourly through cron: Code: find /volume1/Music -mmin -60 -type f -exec sed -e "#/volume1/Music/#../#" -e "#/music/#../#" -i {} \; (i.e. search folder `/volume1/Music` for files modified less than 60 minutes ago and replace every instance of `/volume1/Music/` and `/music/` with `../` in each file found) gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114064 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Remote access to LMS: VPN, Port Forwarding, any tips?
Right... Well like I said, the kernel in the Squeezeplay devices (Radio, Touch) do not support VPN and while in theory it is possible to create the modules to add that functionality that will prove to be extremely difficult. I'd say your best bet would be to use a travel router like the GL.iNet GL-MT300N-V2 which appears to be a steal on Amazon at just over 20 euros. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114055 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Remote access to LMS: VPN, Port Forwarding, any tips?
Pommes wrote: > Dear forum members. > I have been able to use picoreplayer with open VPN to connect to my LMS > at home, it is working very well. > But I also have squeezebox touches and a Radio, on which open VPN is not > possible. > The use case is unclear to me. Would you be taking those devices along on travels and attempt connect through hotel or other public access points? If that is the case I would let the idea go. > > My LMS is running on a dedicated picore raspberry 4, the music is on a > Nas, accessed via NFS mount. > So I have a few questions: > Is it in theory possible, that somebody could create some kind of open > VPN client app, which one could install on the squeezebox touch and > radio itself? > In theory yes, but the first challenge would be to get the kernel modules > > If I open the LMS ports, so the touches can access LMS, what would I > risk? Would it be possible that somebody could delete all the music on > the NFS share? > If only the LMS itself would be at risk, I do not worry too much, > because I have a few back ups of the whole LMS system. > That will depend on whether the LMS user has write privileges to the share, which it will likely have to be able to store playlists. > > Would it be possible , that there would be some kind of Mac filter in > LMS, so only whitelisted devices could access the LMS in my home > network? > Not that I'm aware of, but this might be set up using iptables rules. The main problem here however is that as you will be traveling multiple routers the LMS machine will never actually see the originating MAC address. > > Please let me know if you have any other tips or insight regarding my > situation. > It is quite possible that your ISP provided internet router has some type of VPN capability, or you could replace it with one that has, or cascade one behind it. Provided you control the network on both ends of the connection you could then set up site-to-site VPN and not need to worry about individual devices. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=114055 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > Thanks guys, this will keep me busy for a while > gordon b3 is right, I did try "sudo chmod -R 755 /media and it got me > nowhere, I also tried R 777 /media, > > Now I have to ask, as you say I need to unmount the drive without > turning the comp off what do I do to make it simple. > I looked in bash if I could see something in there, what are the > available functions in bash, yes I know questions questions and more > questions, all of you guys here your blood is worth bottling. Ah, no, sorry, when I wrote `disconnect` I meant physically pull the USB plug and then plug it back in after a few seconds. A reboot of the machine will obviously work as well ;) ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
Okay, try this (use copy-paste, don't retype) Code: sudo echo "ENV{ID_FS_USAGE}==\"filesystem\", ENV{UDISKS_FILESYSTEM_SHARED}=\"1\"" > /etc/udev/rules.d/99-udisks2.rules sudo udevadm control --reload-rules sudo udevadm trigger Disconnect the drive, wait a few seconds and then re-attach it. Execute the following command: Code: mount | grep udisks It should return something like > dev/sdc1 on /media/Elements type vfat > (rw,nosuid,nodev,relatime,uid=1000,gid= > In this example, /media/Elements is where your music files will be. Do note that because the FAT file system does not have any security on it, the Linux environment will only make it writable for one user (which is the `uid=1000` part) and so LMS will not be able to store playlists on it. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
chill wrote: > That says that the disk is mounted in the /media folder, in a sub-folder > named 'william'. Are you saying that you've looked in the 'media' > branch of the tree that LMS offers you? If you have, but you didn't see > that 'william' subfolder, maybe it's a permissions issue. So from a > command line, maybe you could try Ronnie's suggestion: > > Code: > > sudo chmod -R 755 /media > > I fear that won't do the trick as this appears to be a variant of the mount path in /run that I mentioned earlier. His login name (william) being part of the mount path indicates that the drive is user mounted and so it will also be owned by the user which is why the LMS user can't get to it. While yes you can fix that at this point by changing access rights it must be realized that you will need to do this with every power cycle of either the computer or the external drive. It should also be noted that this mount path is not fixed and so if William owns a second one of these drives and plugs that in before the one that contains all the music, the other drive will likely be on this particular path because it is almost bound to bare the same (default) volume name. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
brentano wrote: > > I also have Manjaro on another HDD that I can swap out, went for ZORIN > as it was recommended for beginners, sure. Beginners don't usually start by installing third party software. The majority of people is more than content if they can browse the internet, read emails and open a `word` document and/or spreadsheet. As a somewhat more elderly person you actually have something of an advantage because a black screen with white (-ish) characters has some familiarity to it and thus won't scare you. Anyway, you managed to get LMS installed and enter your Logitech registration. The next thing is to tell it where your music files are, which is not different from what you did when you ran LMS on Windows. One thing to note here is that Linux (and its big brother Unix) organizes things different from Windows and I suppose you picked up a few during the course of this topic, e.g. that a directory separator is a forward slash instead of a backslash, and that command line parameters start with a hyphen instead of forward slash. Another thing is that Linux does not split up the file system to reflect the number of drives and/or partitions connected to the system. Thus when you connect a USB drive it will not show up as e.g `F:` but (if it is automatically mounted) it will be some new directory somewhere within the existing tree. Yes that probably sounds intimidating, but luckily there are some unwritten standards and since Zorin is meant to be a n00b system chances are high that they will obey them. My guess therefore is that your USB drive containing the music files will show up under `/media/`. An (unlikely) alternative would be `/mnt` or `/run/media/username/`. That last one is a bit tricky because it requires you (the user) to be logged on to the desktop GUI. Do let us know your findings. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Using two computers
Hi, Chances are that you corrupted the install file at some point, or possibly you are running a 32-bit version of ZorinOS. - First, open a command terminal and type: (note: '-' in linux is like '/' in windows) Code: uname -m If the response from that command is `amd64` get the 64-bit version of LMS If the response from that command is either `i386` or `i686` you require a 32-bit version of LMS . - Get a fresh copy of the install file and this time do that on the Linux machine itself: For 64-bit: Code: wget http://downloads-origin.slimdevices.com/LogitechMediaServer_v8.1.1/logitechmediaserver_8.1.1_amd64.deb For 32-bit: Code: wget http://downloads-origin.slimdevices.com/LogitechMediaServer_v8.1.1/logitechmediaserver_8.1.1_i386.deb - Install as instructed my Michael: For 64-bit: Code: sudo dpkg -i logitechmediaserver_8.1.1_amd64.deb For 32-bit: Code: sudo dpkg -i logitechmediaserver_8.1.1_i386.deb ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113904 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] random start of players on LMS
slartibartfast wrote: > If your players are Squeezeplay based (Touch, Radio) then the reboots > might not be random. There is a known issue where a reboot occurs every > 22 days. > Aha... Thanks. Found a topic from about a year ago. Never really took note of when it happened or any possible fixed interval. Don't really mind the reboot, but the welcome tune and the system coming up active (accompanied by a `plop` from the Radio's speaker) is pretty annoying when happening during the night. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113884 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] random start of players on LMS
Not exactly. What I do see is more or less random reboots from players, but they normally enter the `pause` mode from that (I've had one or two occasions where I found the radio playing, but it was at normal volume). gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113884 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS on multi-homed hosts
This has always worked for me to restrict the rather `noisy` Squeezebox devices to a dedicated subnet (on Wifi/LAN bridge interface `br1`): player_if=$(ip route show dev br1 | awk '{print $7}') LMS_OPTS="--playeraddr ${player_if}" This restricts port 9090. You can do the same with the command line interface by adding `--cliaddr ${player_if}` (or --cliport 0 to disable it completely) and the HTTP GUI by adding `--httpaddr ${player_if}` ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113868 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Different volume levels for different alarms?
slartibartfast wrote: > I am pretty sure it is possible to replace the default file. There must > be threads about this from years ago. > Somewhat puzzled there. Searching back I found a 10 year old post that referenced a fixed volume, but when I open the corresponding file the current software shows something of a fade-in that doesn't appear to work as expected. That is, from zero to max (43) is in my experience almost instant whereas the code appears to imply that this level should only be reached after 8.6 seconds. So what is LUA timer() supposed to refer to? Is that milliseconds (obviously not), microseconds, nanoseconds, clock ticks? ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=111848 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Different volume levels for different alarms?
Hmmm I'd rather be able to change the default alarm (on connection loss with LMS) as this happens to be extremely annoying and extremely loud. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=111848 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not allowed through Windows Firewall
Ligérien wrote: > > Any clue on what's causing this ? > Sure. Happens more often than you'd think. When Windows updates your network drivers it sometimes recognizes the new driver as a new device rather than as a replacement for the old one. The consequence is that the network you marked as trusted/local/private becomes untrusted and it is far from obvious to recover from that state. The quick fix, as you found yourself, is to disable the firewall completely. And of course Windows wouldn't be Windows if it didn't start nagging you that your computer is now `unsafe` without any possibility to disable that constant spam other than to destroy your network connectivity again. Really the best tip I can give you is just wipe the bloody thing and install Ubuntu on it. Question: why do you figure the firewall would be important if the computer sits on a shielded private network where its single network interface used to be completely opened before? gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113624 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Old computers and LMS
Seems good to me. Guess the issue must be with the libraries being built on a system that appears buggy to say the least as it created libraries for two different architectures. It's not too big an issue to build them yourself though. To start, you need Debian build-essentials of course. Get the source files by cloning https://github.com/Logitech/slimserver-vendor and make sure to read the README in the slimserver-vendor/CPAN folder. It should suffice to run the buildme.sh script which will build a shipload of stuff, some of which likely to be redundant on a live system, but that shouldn't hurt too much on a pentium class processor. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113550 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Old computers and LMS
goodoldradio wrote: > > According to ralphy, he compiled the libs for 5.28.1, which is exactly > the version of perl I use on my system. It still is what the error states. Maybe you have multiple versions of these loadable libraries in various paths and it finds the other one first. I'd start by getting rid of everything in CPAN/arch as none of it is good for your platform, OS, and Perl version. Then copy the files you got from Ralphy into that subdir and run Squeezeboxserver normally. Additional note: the x86 system I use as a crossdev platform for arm32 reports as `i686-linux-thread-multi`. Can't verify as it runs Perl 5.30, but I would expect similar errors as you are seeing with libraries compiled for either `i386-linux-thread-multi-64int` or `i486-linux-gnu-thread-multi-64int` ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113550 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Old computers and LMS
goodoldradio wrote: > Thank you Ralphy, I have the same 32bit setup and your files came in > handy. > Unfortunately I only got this far: > Code: > > DBI.c: loadable library and perl binaries are mismatched (got handshake key 0x80c0080, needed 0x8140080) > > This means that the library was built for a different version of Perl. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113550 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
bpa wrote: > > I don't use CUE file. Me neither. Whenever I encounter any such file I use it to split the wav/flac/ape and (re)code the individual tracks to CD quality flac (16 bit). Which I'm pretty sure that the software also does when the input is flac already, so it's not a simple `dd` or other type of byte range dumping. @Michael - just a thought: If LMS does handle the REPLAYGAIN directives, that surely must imply that it transcodes to PCM to apply that volume adjustment, but then how does it send the stream to the player? Does it recode (to what?) or simply send the PCM? gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
bpa wrote: > It is possible the OP (and it started on another thread) hears a > difference and there is something different - but attributing the cause > to LMS version or decoder is not the place to look. > > Settings and volume are the likely place which can cause a difference > but is hard to compare settings between installations without providing > the pref files and taking care with volume levels. > > That said, placebo & nocebo effects are well documented and real - not > imagination. Actually, it would be and in fact is my assumption that the pref file(s) will not have been touched by OP as he switched versions. It might be interesting to learn though if OP between the versions also noticed any change in volume level (due to some unexpected pre-amplification setting?) that might cause clipping. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
Okay, so effectively what you're saying is that OP is imagining things. That is indeed an alternative possibility. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
bpa wrote: > and even if transcoding is taking place - assuming for the same reason > (e.g. down sampling) there will be no difference either as the same > utlities are being used with the same settings. You did note the commit log entries I listed? The utilities changed - multiple times. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
bpa wrote: > > The player decoder hasn't changed between 7.9.* and 8.* > Exactly... So there could not be a difference in sound quality if LMS did NOT transcode the file. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
bpa wrote: > This part of LMS code has not changed between 7.9.* and 8.* So what about the (de)coder software? ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
hankhsucc wrote: > Always flac with cue file. All ripped by Exact Audio Copy software. :) That would explain it, because this will force LMS to extract and (depending on settings) recode the individual tracks in order to send them to the player. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Old computers and LMS
I would have thought that copy-pasting a command would be simpler than editing a file... Guess I was wrong. There's no harm in running the main script directly from command line BTW. Even if the script doesn't fail the only thing that might happen is that it creates a new prefs file in a different location (as directed by either the defaults or overridden in Custom.pm) and/or starts a scan to create new cache files. Either way, as Michael stated, you will need to build the mentioned (arch dependent) modules yourself, either through CPAN or whatever package manager your system provides. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113550 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Old computers and LMS
I mean, run it as a console app: `/usr/bin/perl slimserver.pl`. This will cause it to dump a load of information to the screen, including stuff that will never show up in the LMS log file. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113550 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Old computers and LMS
Just run it from console (as root). It will tell you every thing that's wrong. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113550 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
slartibartfast wrote: > But you are the OP of the statement that transcoding to PCM is default > with a fresh installation of LMS which is demonstrably untrue. > To my knowledge it is custom to reserve the term OP for the person that placed the Opening Post. gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
So let me explain to you the Excito B3. It is a NAS type system on which the designers explicitly invited buyers to experiment running different applications and services on. LMS was in fact pre-installed as a Debian package and one of the buyer options was to have a squeezebox touch included. LMS, then Squeezeboxserver, ran out of the box and all you needed to do was create an account and tell it where the audio files are stored. So as far as who did what and when, I don't know what choices the original Logitech developers made for defaults, I don't know what choices the Debian designers made except for relocating the preferences and database files, and I don't know what additional choices the Excito developers made as they integrated Squeezeboxserver in their software. Therefore, as stated, AFAIK, which stands for `As Far As I Know`, it is the default to transcode to PCM because that is what I observed. Now as an apparent beta tester you may think you know differently, which is okay and you are perfectly welcome to say so, but don't start accusing me of having done something because you think I must be an idiot. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] The sound quality of different LMS versions differ !
philippe_44 wrote: > Be polite please - I'm just explaining you how LMS works, that's all No you're not. You're acting schmuck and assuming things about me and a machine you know nothing about. ---- gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=113362 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter