Re: [SlimDevices: SqueezeCenter] Can I configure LMS web interface to use https?

2021-03-07 Thread gordonb3

philchillbill wrote: 
> It’s 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] AC-3 files not recognised

2021-03-07 Thread bpa


AnythingElse wrote: 
> Fair enough. I assumed AC3 might have some audio only applications but
> seems not.
> 
> Given that LMS has handled most codecs I've thrown at it no problem,
> also assumed automagic AC3 coverage.

But AC-3 is not standardised for 2.0 in a file format with metadata so
magic can't happen.

it possibly could be transcoded (with 5.1 to 2.0 mapping) with addition
for custom types and custom conversion rules but no support in scanner
as no standard - so in the end not worthwhile trying.

A user has to transcode their personal AC-3 files into an LMS acceptable
2.0 Flac.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114104

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] AC-3 files not recognised

2021-03-07 Thread AnythingElse


Fair enough. I assumed AC3 might have some audio only applications but
seems not.

Given that LMS has handled most codecs I've thrown at it no problem,
also assumed automagic AC3 coverage.



AnythingElse's Profile: http://forums.slimdevices.com/member.php?userid=63262
View this thread: http://forums.slimdevices.com/showthread.php?t=114104

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] AC-3 files not recognised

2021-03-07 Thread d6jg

AnythingElse wrote: 
> Hello all, I'm running LMS 8.1.1 on a Raspberry Pi
> 
> I have a stereo AC3 file demuxed from a video. It plays fine on my PC
> using VLC or foobar2000
> 
> I uploaded it to LMS using FTP along with some other FLACs and MP3s but
> the AC3 wasn't recognised.
> 
> Permissions and owners are unchanged and no different to the FLACs and
> MP3s which worked fine.
> 
> I transcoded it to FLAC on my PC and FTP'd it to the LMS - that was fine
> too.
> 
> I've not changed anything under Settings -> Advanced -> File Types
> 
> Any suggestions please?
> 
> Thanks for reading.

Isn’t AC3 is an audio codec used in video files only? Why would you
expect LMS to support it? 
Convert it to a supported format.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Boom 
*Kitchen* UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes
Everything controlled by iPeng & Material on iOS

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=114104

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS could not reestablish any USB connection after USB Dac is disconnected

2021-03-07 Thread Man in a van


This explains a little about the difference between usb on rpi4 and zero

https://www.raspberrypi.org/documentation/hardware/raspberrypi/usb/README.md



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=109934

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS no longer imports MusicIP headers after reinstalling

2021-03-07 Thread Matt Drown


I don't have any direct experience with MacOS, but sounds like a
security enforcement.  Under newer linux's with SE linux enforcing, it's
possible to have this behavior.



Matt Drown's Profile: http://forums.slimdevices.com/member.php?userid=69476
View this thread: http://forums.slimdevices.com/showthread.php?t=114101

___
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?

2021-03-07 Thread philchillbill

gordonb3 wrote: 
> 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;
  > }
  > 

> > 

It’s only the web UI that has issues when you do this - the jsonrpc
interface still works just fine despite that green screen of death.





philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920
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


[SlimDevices: SqueezeCenter] AC-3 files not recognised

2021-03-07 Thread AnythingElse


Hello all, I'm running LMS 8.1.1 on a Raspberry Pi

I uploaded an AC3 file demuxed from a video. It plays fine on my PC
using VLC or foobar2000

I uploaded it to LMS using FTP along with some other FLACs and MP3s but
the AC3 wasn't recognised.

Permissions and owners are unchanged and no different to the FLACs and
MP3s which worked fine.

I transcoded it to FLAC on my PC and FTP'd it to the LMS - that was fine
too.

I've not changed anything under Settings -> Advanced -> File Types

Any suggestions please?

Thanks for reading.



AnythingElse's Profile: http://forums.slimdevices.com/member.php?userid=63262
View this thread: http://forums.slimdevices.com/showthread.php?t=114104

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Outdated firmware, not recognizing this version of Logitech Media Server

2021-03-07 Thread stevevm


stevevm wrote: 
> I rebooted my server and now my slimp3 can no long connect. Funny thing
> is that it gives the wrong IP address when it asks if a server is
> running.

I ended up deleting my Docker image and rerunning it and things returned
to normal.



stevevm's Profile: http://forums.slimdevices.com/member.php?userid=14348
View this thread: http://forums.slimdevices.com/showthread.php?t=114091

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS could not reestablish any USB connection after USB Dac is disconnected

2021-03-07 Thread sisiko


Thank you for responding!

Raspberry Pi 4:

I can do whatever I want (turn speakers or squeezelite on and off) and
the active speakers with their build in DAC will be recognized by the
Pi.
I also have a setup with it where I power the speakers on and off with
sequeezelite (see the post "'[piCorePlayer] Turn off USB output when
turning off player?'
(https://forums.slimdevices.com/showthread.php?112760-piCorePlayer-Turn-off-USB-output-when-turning-off-player)").

Raspberry Pi Zero:

The speakers are also used by my TV, so I would appreciate the Pi 4
independence of turning squeezelite or speakers randomly on and off. But
due to (maybe usb controller hardware?) technological differences
between the Pi Zero and the Pi 4 it won't work with the Zero.

The "plughw" also didn't solve it. I have this issue also under
Raspberry Pi Os with a Pi Zero: turning the speakers off and on again
will not show them with the command lsusb again. To get them visible
again I also have to reboot the Raspberry Pi OS Pi Zero.



sisiko's Profile: http://forums.slimdevices.com/member.php?userid=70536
View this thread: http://forums.slimdevices.com/showthread.php?t=109934

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Outdated firmware, not recognizing this version of Logitech Media Server

2021-03-07 Thread Paul Webster


It does not affect old devices like slimp3.
However, has the IP address of your LMS changed?



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=114091

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Outdated firmware, not recognizing this version of Logitech Media Server

2021-03-07 Thread garym


stevevm wrote: 
> I rebooted my server and now my slimp3 can no long connect. Funny thing
> is that it gives the wrong IP address when it asks if a server is
> running.

I suspect this is a very different problem.  You should start a new
thread with your problem.  And in that thread, give some details about
your sever (LMS version, operating system running LMS, etc.).  Thanks.



*Home:* Pi4B-8GB/pCP7.x/4TB>LMS 8.1.x>Transporter, Touch, Boom, Radio
(all ethernet)
*Cottage:* rPi4B-4GB/pCP7.x/4TB>LMS 8.1.x>Touch>Benchmark DAC I, Boom,
Radio w/Battery (Radio WIFI)
*Office:* Win10(64)>foobar2000
*The Wild: *rPi3B+/pCP4.0/4TB>hifiberry Dac+Pro (LMS & Squeezelite) 
*Controllers:* iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin,
or SqueezePlay 7.8 on Win10(64)
*Files:* -Ripping-: dbpoweramp > FLAC; -Post-rip-: mp3tag, PerfectTunes,
TuneFusion; -Streaming:- Spotify

garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=114091

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Outdated firmware, not recognizing this version of Logitech Media Server

2021-03-07 Thread stevevm


I rebooted my server and now my slimp3 can no long connect. Funny thing
is that it gives the wrong IP address when it asks if a server is
running.



stevevm's Profile: http://forums.slimdevices.com/member.php?userid=14348
View this thread: http://forums.slimdevices.com/showthread.php?t=114091

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Outdated firmware, not recognizing this version of Logitech Media Server

2021-03-07 Thread Man in a van


@TDEHAN
I have absolutely no idea what is happening here :(:confused:

The Touch firmware is up to date and reporting the player correctly.

I have the same;

Logitech Media Server Version: 8.1.2 - 1614601415 @ Mon Mar 1 14:37:35
CET 2021

on a raspberry pi and it identifies in the same manner, without the
Radio warning

I have just installed the latest LMS on a Windows 10 pro desktop and
moved the Touch over; no red warning

I can only suggest you,

a) ignore the warning

b) restart LMS to see if the warning disappears

c) restore the touch to factory default and hope that all is well

Sorry, but I can't think of any other solution :o

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114091

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Outdated firmware, not recognizing this version of Logitech Media Server

2021-03-07 Thread tdehan


Man in a van wrote: 
> So, which version LMS
> 
> Which computer OS
> 
> Only Touch as a Player ?
> 
> Where do you see the message ? do you have a screen shot ?
> 
> 
> ronnie

LMS Version: 8.1.2
OS:  Windows 10 (version 20H2 - OS Build 19042.844)
I have 3 Touch players
Attached is a screen shot.

This only started happening with the latest update to LMS.

33677

33678


+---+
|Filename: Notes.JPG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33678|
+---+


tdehan's Profile: http://forums.slimdevices.com/member.php?userid=65180
View this thread: http://forums.slimdevices.com/showthread.php?t=114091

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] LMS no longer imports MusicIP headers after reinstalling

2021-03-07 Thread Tomusz


Hi there,

After reinstalling LMS (due to performance problems) and activating the
MusicIP plugin, LMS no longer scans for the MusicIP headers.

Spicefly sugarcube gives the error message that the plugin cannot
connect to localhost, port 10002.

However, the MusicIP server (or API) is accessible at localhost:10002
and still works fine.

I have tested LMS versions 8.1.1, 8.1.2 and 8.2 - always the same
problem.

LMS is running on a Mac mini with El capitan and everything else works
fine.

Thank you very much for your help,
Thomas



Tomusz's Profile: http://forums.slimdevices.com/member.php?userid=66311
View this thread: http://forums.slimdevices.com/showthread.php?t=114101

___
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?

2021-03-07 Thread Michael Herger

Good suggestion, thanks! Next time I am procrastinating real work, I'll
see if I can setup an nginx reverse proxy.


If you can use Docker and don't already have a web server to use for 
this proxying, I find the Nginx Proxy Manager to be a powerful and 
relatively easy to use tool for this task: https://nginxproxymanager.com

___
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?

2021-03-07 Thread gordonb3


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