Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


... continued ...
However, without seeing the logs with the http running it is hard to be
sure that it was not just a coincidence.



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


mherger wrote: 
> 
> About the theory around "sleep": are you saying that the plugin 
> installer tries to validate the download before the data has fully been
> 
> written to disc, thus failing the check (again, probably a few bytes 
> short)? I think it would still be good to test the download using 
> network.asynchttp=DEBUG. It will be noisy, but the interesting parts 
> will hopefully be towards the end of the download.
> 

My suggestion to try the "sleep" (which seems to have stopped the
checksum failing) was because this LMS is running on a NAS and perhaps
the NAS OS/hardware has some oddities.
e.g. it might return success on a file write before the write has been
committed to disk but then when the file open/read happens a few
microseconds later it gets the contents from disk without taking the
write cache into account.
That would be a pretty big bug (so unlikely) but perhaps it would only
be seen by 3rd-party software running directly on the NAS ... which
would make it less common in the wild.



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Oops, sorry, you meant the part where the download is written to the
disk. Still waiting for my triple espresso. I meant no disrespect.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


mherger wrote: 
> 
> Are you saying that the plugin 
> installer tries to validate the download before the data has fully been
> 
> written to disc, thus failing the check (again, probably a few bytes 
> short)?


Again, the file was NOT a few bytes short. It was missing two-thirds
(20MB) of the file (30MB). I watched the download progress live: LMS
restarting on the left screen, the download progress on the right
screen. The download did NOT finish. IF I wait for the download (the one
BEFORE I click on "Restart now") to finish, the installation will be
successful.

(I thought it might be a good idea to color this red as this piece of
information seems to get lost over and over again.)

But yes, that's what I was trying to say in my first post:

dolodobendan wrote: 
> For some reason downloading from sourceforge is painstakingly slow these
> days. Is there any check if the download actually is completed before
> LMS tries to install it?

and saying in my second. :)

dolodobendan wrote: 
> Of course. But is there a check to wait for the download to complete
> before doing the SHA checksum check?

mherger wrote: 
> 
> I think it would still be good to test the download using 
> . It will be noisy, but the interesting parts 
> will hopefully be towards the end of the download.

Then I'll do just that. Anything else besides network.asynchttp=DEBUG?
Today's gonna be busy, but I think I can do this tonight.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Michael Herger

No, you didn't. It's Deutsche Telekom.


The reason why I was asking is that only a week or two ago I was 
investigating Spotty installation failures with very similar symptoms. 
The downloaded files would always be a few kB short. And IIRC all users 
having that problem were located in Germany, most of them using 
Unitymedia. Ok, there is the highest density of Spotty users in Germany, 
which increases the chance to run into issues. But anyway.


About the theory around "sleep": are you saying that the plugin 
installer tries to validate the download before the data has fully been 
written to disc, thus failing the check (again, probably a few bytes 
short)? I think it would still be good to test the download using 
network.asynchttp=DEBUG. It will be noisy, but the interesting parts 
will hopefully be towards the end of the download.

--

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


Re: [SlimDevices: SqueezeCenter] Update to LMS 8.0

2020-05-18 Thread Michael Herger

So will there be anymore updates to 7.9.x?
Or will the fixes and improvements only be added to 8.x from now on?


Latest changes to 7.9.3 were applied a day or two ago. Important fixes 
still go there.


--

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


Re: [SlimDevices: SqueezeCenter] Update to LMS 8.0

2020-05-18 Thread HumanMedia


So will there be anymore updates to 7.9.x?
Or will the fixes and improvements only be added to 8.x from now on?



HumanMedia's Profile: http://forums.slimdevices.com/member.php?userid=44865
View this thread: http://forums.slimdevices.com/showthread.php?t=112123

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


Re: [SlimDevices: SqueezeCenter] LMS Video Folder Artwork with UPnP/DLNA Media Interface Plugin

2020-05-18 Thread d6jg

sodface wrote: 
> Noted, and I appreciate the feedback.  We'll see how it goes, I'm not
> completely against another solution.  To be honest though, If I went
> another direction it would probably be just a different dlna server,
> like minidlna or something else that's already in the Alpine repos.

You didn’t say you were on Alpine but yes minidlna is probably better
than LMS as a dlna server for Films.

LMS dlna was something that appeared when LMS was truly a Logitech
product but after it went open source I don’t think it’s been touched at
all. You’d have to ask Michael Herger to be sure.

Dlna has no true standard and that’s its biggest problem. Dlna things
can be dlna compliant, dlna certified or dlna supported. It’s a
nightmare. Plex includes a dlna server but when used with a Plex client
(which is available for Roku) it uses its own protocol that works.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> I'm off to sleep on it.

Good idea. And thank you so much.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] LMS Video Folder Artwork with UPnP/DLNA Media Interface Plugin

2020-05-18 Thread sodface

d6jg wrote: 
> I run LMS for music and Plex for films on the same machine with all data
> on a NAS. 
> The LMS upnp/dlna implementation isn’t great and I think I’m right in
> saying there has been zero development on it for years. It is also known
> to flood your network from time to time.
> I’d rethink if I was you.

Noted, and I appreciate the feedback.  We'll see how it goes, I'm not
completely against another solution.  To be honest though, If I went
another direction it would probably be just a different dlna server,
like minidlna or something that's in the Alpine repos.



sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=112196

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


I'm off to sleep on it.



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> Positive side is that the checksums matched each time.
> So perhaps that part of the theory is right.

Progress, at last.

Paul Webster wrote: 
> Do you have automatic plugin update enabled?

Yes.

Is it just me going crazy or is there really a green dot in my post here
above "Restart now":

30336


+---+
|Filename: LMS_green_dot.png|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30336|
+---+


QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


Positive side is that the checksums matched each time.
So perhaps that part of the theory is right.



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Didn't work either:

30333


Code:


  [20-05-18 23:51:59.8776] Slim::Utils::PluginDownloader::_downloadDone (180) 
downloaded RaopBridge to 
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/DownloadedPlugins/RaopBridge.zip
  [20-05-18 23:52:01.4371] Slim::Utils::PluginDownloader::_downloadDone (217) 
digest matches - scheduling RaopBridge for install on restart
  [20-05-18 23:52:02.8839] Slim::Utils::PluginDownloader::install (163) install 
- downloading RaopBridge from 
http://downloads.sourceforge.net/project/lms-plugins-philippe44/RaopBridge-0.4.23.0.zip
  



Sure, if the digest match, just download it again...


+---+
|Filename: server - sleep hack & trigger happy.zip  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30333|
+---+


QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] LMS Video Folder Artwork with UPnP/DLNA Media Interface Plugin

2020-05-18 Thread d6jg

sodface wrote: 
> No really good reason.  I'm sure it's fine software.  I just like to
> keep things as simple as possible and I know I'm going to run LMS
> regardless so if I can use that to stream an occasional old movie to my
> roku, that's all I need.  That I make it complicated by getting under
> the hood and fiddling is beside the point ;)
> 
> Plus, every time someone anywhere on the internet asks "How do I get
> [insert program name that's not Plex here] to do XY or Z?"  the first
> answer is usually:
> 
> "Why don't you just use Plex?"
> 
> Which reflexively just makes me not want to use Plex.

I run LMS for music and Plex for films on the same machine with all data
on a NAS. 
The LMS upnp/dlna implementation isn’t great and I think I’m right in
saying there has been zero development on it for years. It is also known
to flood your network from time to time.
I’d rethink if I was you.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> That is a shame.
> You could still try the "sleep" hack.

Sleep hack it is. Just a sec.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] LMS Video Folder Artwork with UPnP/DLNA Media Interface Plugin

2020-05-18 Thread sodface

d6jg wrote: 
> Why don’t you want to use Plex?

No really good reason.  I'm sure it's fine software.  I just like to
keep things as simple as possible and I know I'm going to run LMS
regardless so if I can use that to stream an occasional old movie to my
roku, that's all I need.  That I make it complicated by getting under
the hood and fiddling is beside the point ;)

Plus, every time someone anywhere on the internet asks "How do I get
[insert program name that's not Plex here] to do XY or Z?"  the first
answer is usually:

"Why don't you just use Plex?"

Which reflexively just makes me not want to use Plex.



sodface's Profile: http://forums.slimdevices.com/member.php?userid=19057
View this thread: http://forums.slimdevices.com/showthread.php?t=112196

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


30332

I waited for the download to finish and then clicked on "Restart now".
The installation was successful. I think that if "Restart now" is
clicked, the file is checked. If it's done downloading and there were no
real CRC errors, it will pass the test and then be installed. If not
(because maybe I was trigger happy), the checksum test fails and a new
download is triggered. This download and its installation will fail,
too, if the download is not completed before LMS shuts down whatever
process is downloading the plugin.


+---+
|Filename: LMS_plugin_installer.png |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30332|
+---+


QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


That is a shame.
You could still try the "sleep" hack.



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Code:


  [20-05-18 23:19:37.3032] Slim::Utils::PluginDownloader::install (163) install 
- downloading RaopBridge from 
http://downloads.sourceforge.net/project/lms-plugins-philippe44/RaopBridge-0.4.23.0.zip
  [20-05-18 23:19:37.5706] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:19:40.3726] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:19:42.8304] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:19:44.3911] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:19:47.3142] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:19:52.2360] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:19:54.7950] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:19:56.2438] Slim::Utils::PluginDownloader::install (163) install 
- downloading RaopBridge from 
http://downloads.sourceforge.net/project/lms-plugins-philippe44/RaopBridge-0.4.23.0.zip
  [20-05-18 23:19:57.2253] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:00.5208] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:02.4306] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:04.5136] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:08.5443] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:12.4222] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:14.4930] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:18.4502] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:20.2909] Slim::Web::Cometd::handler (421) errorNeedsClient: 
aa:aa:b1:aa:aa:aa, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
  [20-05-18 23:20:20.4031] Slim::Utils::PluginDownloader::_downloadDone (180) 
downloaded RaopBridge to 
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/DownloadedPlugins/RaopBridge.zip
  [20-05-18 23:20:20.9587] Slim::Utils::PluginDownloader::_downloadDone (200) 
digest does not match 
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/DownloadedPlugins/RaopBridge.zip
 - RaopBridge will not be installed: expected 
1f6d91f22845a272a0f51eb26c75709618b528c7, got 
347d903159e22df2b7473d6b72c135a85d7ad112
  [20-05-18 23:20:20.9740] Slim::Utils::PluginDownloader::_downloadDone (180) 
downloaded RaopBridge to 
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/DownloadedPlugins/RaopBridge.zip
  [20-05-18 23:20:22.2848] Slim::Utils::PluginManager::shutdownPlugins (409) 
Shutting down plugins...
  [20-05-18 23:20:25.6527] main::init (388) Starting Logitech Media Server 
(v8.0.0, 1589794609, Mon May 18 11:54:32 CEST 2020) perl 5.030001 - 
x86_64-linux-thread-multi
  



It did not install. The download was faster now, it could have finished
right on time.

The file was not renamed and moved to /Cache this time.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> Yes

On it.

And thanks.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


Yes



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> I just did a very quick search on Synology and Write Cache ... and it
> seems that there is a setting for it ... per drive (and perhaps per
> system).
> 
> You could take a chance and find and change that setting (might need a
> graceful shutdown and reboot of the NAS for the change to have an
> effect).

I found that setting for my QNAP (Administration / Hardware) and
disabled it. It said "Applied.", but I'm rebooting the NAS to be sure.

I have reverted the sleep change for now.

And now what, just uninstall and reinstalling ROAP?



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


I just did a very quick search on Synology and Write Cache ... and it
seems that there is a setting for it ... per drive (and perhaps per
system).

You could take a chance and find and change that setting (might need a
graceful shutdown and reboot of the NAS for the change to have an
effect).



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> No - you would have to edit the file Slim/Utils/PluginDownloader.pm and
> put a
> sleep 1;
> just before that line in the file.
> However, if you are not used to editing Perl files on your NAS then it
> is best not to attempt it and wait instead for further analysis/testing
> from bpa or mherger since that would probably result in an official
> software change that you could install by more regular routes (assuming
> something is found).

I'm just bad at programming and mediocre at Linux, that's all. I'll give
it a try.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


No - you would have to edit the file Slim/Utils/PluginDownloader.pm and
put a
sleep 1;
just before that line in the file.
However, if you are not used to editing Perl files on your NAS then it
is best not to attempt it and wait instead for further analysis/testing
from bpa or mherger since that would probably result in an official
software change that you could install by more regular routes (assuming
something is found).



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> See the message that I wrote just afterwards.

I wasn't sure if that was for me. I tried it nonetheless but got an
error. Do I just paste this in my NAS' prompt?



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster

dolodobendan wrote: 
> I like happy coincidences. :)
> ¯\_()_/¯
> 
> How do I test that?
> 

See the message that I wrote just afterwards.



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=112241

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


Re: [SlimDevices: SqueezeCenter] Update to LMS 8.0

2020-05-18 Thread Michael Herger

Thanks for continuing to improve LMS. I am trying to download LMS 8.0 to
my Synology DS-713+ which currently runs LMS 7.9.1 which was installed
from  the Synology package center. I cannot figure out which file to
download. The Synology NAS requires packages with the .pkg file
extensions? I tried to install any of the files shown at the URL but all
give an error message "Invalid File Format". Can anybody help?


Search for pinkdot's Synology packages in this forum.

--

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


Re: [SlimDevices: SqueezeCenter] Update to LMS 8.0

2020-05-18 Thread UnterDenLinden


CJS wrote: 
> LMS 8.0 can be found here: http://downloads.slimdevices.com/nightly/
> 
> Btw, I am using the latest 7.9.3 version on a windows system, and don't
> have any of the issues that you describe.
> I am not sure if updating to the latest LMS 8.0 version will solve the
> problems that you have. Of course you can always try.

Thanks for continuing to improve LMS. I am trying to download LMS 8.0 to
my Synology DS-713+ which currently runs LMS 7.9.1 which was installed
from  the Synology package center. I cannot figure out which file to
download. The Synology NAS requires packages with the .pkg file
extensions? I tried to install any of the files shown at the URL but all
give an error message "Invalid File Format". Can anybody help?

Thank you so much.
raimund



UnterDenLinden's Profile: http://forums.slimdevices.com/member.php?userid=40927
View this thread: http://forums.slimdevices.com/showthread.php?t=112123

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan

Paul Webster wrote: 
> Just as FYI ... that number is the line number in the source code not a
> HTTP response code.
> The 200 just below in the log was a happy coincidence.
> > 
Code:

  >   > 
  > Line 200 - $log->error("digest does not match $file - $name will not be 
installed: expected $digest, got " . $gotDigest);
  > 

> > 

I like happy coincidences. :)

Paul Webster wrote: 
> That is the expected checksum - the problem is that LMS calculated a
> different checksum each time it downloaded it - implying it was doing
> the checksum against a partially downloaded file.
> Note - this is running on a NAS ... so is it also possible that the NAS
> is doing something wrong with with file write and a quick open/read of
> that file that has (in theory) just been written is not being handled
> properly by the NAS OS because the write has not really completed yet
> but it is opening the file on disk without taking the write cache into
> account?

¯\_()_/¯

How do I test that?

mherger wrote: 
> Oh, did I ask the OP whether he was using Unitymedia already?
> 
> -- 
> 
> Michael

No, you didn't. It's Deutsche Telekom.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Michael Herger

Oh, did I ask the OP whether he was using Unitymedia already?

--

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


Maybe the NAS OS handles it properly when the quick read happens over
the network (which in any case would be slower and so less likely to
happen before the real write completes).
But here LMS is running on the NAS.

Quick hack to test that as a theory ... put a sleep 1s call before the
file open call ...

Code:


  open my $fh, '<', $file or $log->error("Failed to open $file");
  




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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


mherger wrote: 
> > Exactly. I get "1f6d91f22845a272a0f51eb26c75709618b528c7" for all
> these
> > files:
> > 
> > RaopBridge-4c7cdf557084eeceded85676be2a3438db2687d0.zip
> 
> If you get the exact same checksum for all these files, then you should
> 
> definitly look what the files' actual content is.
> 

That is the expected checksum - the problem is that LMS calculated a
different checksum each time it downloaded it - implying it was doing
the checksum against a partially downloaded file.
Note - this is running on a NAS ... so is it also possible that the NAS
is doing something wrong with with file write/read and a quick open/read
of a file that has (in theory just been written) is not being handled
properly by the NAS OS because the write has not really completed yet
but it is opening the file on disk without taking the write cache into
account?



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


dolodobendan wrote: 
> 
> 2. _downloadDone (180). <- That's not done, is it? Didn't you say 2xx?
> But it doesn't look like an open file anymore.
> 

Just as FYI ... that number is the line number in the source code not a
HTTP response code.
The 200 just below in the log was a happy coincidence.

Code:


  Line 200 - $log->error("digest does not match $file - $name will not be 
installed: expected $digest, got " . $gotDigest);
  




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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Michael Herger

Exactly. I get "1f6d91f22845a272a0f51eb26c75709618b528c7" for all these
files:

RaopBridge-4c7cdf557084eeceded85676be2a3438db2687d0.zip


If you get the exact same checksum for all these files, then you should 
definitly look what the files' actual content is.


--

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


Re: [SlimDevices: SqueezeCenter] LMS Video Folder Artwork with UPnP/DLNA Media Interface Plugin

2020-05-18 Thread d6jg

Why don’t you want to use Plex? It’s much better for Films etc 
I’d never use it for music though



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread bpa


dolodobendan wrote: 
> So I'll just uninstall ROAP, restart LMS, enable network.asynchhttp and
> that from last time and reinstall it?
Hold off on that.
network.asynchttp generates a huge number of messages and I think other
downloads were initiated at the same time as my log.

I've looked at file LMS download code "saveAs".  (i) timeout seems to be
implemented properly  and (ii) HTTP Header "Contents-length" is checked
against file against bytes read with GET - which should mean correct
file size.

The error is why the "downloadDone" of plugin downloader is called so
early.

I can't do any more tonight - other stuff is waiting.



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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


bpa wrote: 
> It's clear that is happening if you enable network.asynchhttp logging to
> debug.
> 
> Main problem is the download is processed 16kbytes at a time which is
> standard for http Get audio chunk but it make the file download very
> slow.,

So I'll just uninstall ROAP, restart LMS, enable network.asynchhttp and
that from last time and reinstall it?



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Two wifi's, players can see LMS only on one

2020-05-18 Thread d6jg


LanceInMN wrote: 
> Thanks for the suggestion. I have an Arris TG862 modem from Xfinity, and
> looked for a client isolation feature, but could not find a setting for
> that.

In which case you need to do as Paul suggested and ensure you only have
one DHCP server running on your home network. As Paul suggests this is
better on the Cable Modem where your internet connection is.

LMS and all clients need to be on the same network subnet either
192.168.x.x or 10.x.x.x



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread bpa


dolodobendan wrote: 
> Exactly. I get "1f6d91f22845a272a0f51eb26c75709618b528c7" for all these
> files:
> 
> RaopBridge-4c7cdf557084eeceded85676be2a3438db2687d0.zip
> RaopBridge-68627e7ac99880b65cd29765e361344188050a88.zip
> RaopBridge-73901f2fce15e5870375e9efbc464663078fce7b.zip
> RaopBridge-b3dc5595762c57dbee32fcc291ff7e2d8da92cb3.zip
> 
> That's why assume that a) the SHA checksum test was done on an
> incomplete file and b) the download continued after that.
It's clear that is happening if you enable network.asynchhttp logging to
debug.

Main problem is the download is processed 16kbytes at a time which is
standard for http Get audio chunk but it make the file download very
slow.,



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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


Paul Webster wrote: 
> Just to double check .. for the 
> 
> For the saved file
> /Cache/RaopBridge-b3dc5595762c57dbee32fcc291ff7e2d8da92cb3.zip
> you get a SHA1 checksum of
> 1f6d91f22845a272a0f51eb26c75709618b528c7
> 
> rather than
> b3dc5595762c57dbee32fcc291ff7e2d8da92cb3
> that LMS downloader said it calculated?

Exactly. I get "1f6d91f22845a272a0f51eb26c75709618b528c7" for all these
files:

RaopBridge-4c7cdf557084eeceded85676be2a3438db2687d0.zip
RaopBridge-68627e7ac99880b65cd29765e361344188050a88.zip
RaopBridge-73901f2fce15e5870375e9efbc464663078fce7b.zip
RaopBridge-b3dc5595762c57dbee32fcc291ff7e2d8da92cb3.zip



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Two wifi's, players can see LMS only on one

2020-05-18 Thread LanceInMN


Thanks for the suggestion. I have an Arris TG862 modem from Xfinity, and
looked for a client isolation feature, but could not find a setting for
that.



Lance Schneider

LanceInMN's Profile: http://forums.slimdevices.com/member.php?userid=8258
View this thread: http://forums.slimdevices.com/showthread.php?t=112246

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


Re: [SlimDevices: SqueezeCenter] Advanced search handling of genres in exclusion list

2020-05-18 Thread RobbH


Thinking about this some more, it seems to me that the crucial issue
here is how Advanced Search handles the "not in text search" option.
What I expected and hoped was that the search would result in a list of
all tracks that do not contain the listed genre tag(s). I also
considered the possibility that, in the case of multiple genre tags,
only the first genre tag is checked. Another possibility is that any
file that includes a tag that is NOT in the text search field will be
included in the results.

I've done some testing and it appears that, unfortunately, the last
possibility is correct. In other words, the "not in text search" option
seems not to work with multiple genre tags.

So far, I have only tried this with a double backslash ( \\ ) used as
the separator. The results might be different when using a semicolon ( ;
).



LMS 8 nightly; 3 Squeezelite players connected by powerline ethernet; 5
wireless players connected via Airplay Bridge; 1 SqueezeAmp player
no high-end or esoteric audio gear
1 Squeezebox Radio (upgraded UE Smart Radio) now mostly retired

RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008
View this thread: http://forums.slimdevices.com/showthread.php?t=112151

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


Re: [SlimDevices: SqueezeCenter] Migrated to new LMS, playlists now empty

2020-05-18 Thread d6jg

karlek wrote: 
> As far as I remember, Notepad++ is even capable of replacing text in all
> files of a certain directory.

It’s a cracking piece of software. I use it for all sorts of things - I
particularly like the line numbers and the colour highlight feature when
editing certain file types e.g. html files.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread bpa


dolodobendan wrote: 
> 
> "downloadDone (180)" I'm still convinced that the download was not done
> as it was still at 9 MB when I clicked "Restart now". I watched it live.

This is the step to be checked.  I believe the timeout applied is the
Radio Station Timeout and when timeout occurs I would have thought that
is an error but I can't see the error path - to confirm I'll have to go
through LMS code.

> Is there ANY way the download could have just merrily continued AFTER it
> was moved and renamed? I ask because I just checked that file here:
> 
> /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/RaopBridge-b3dc5595762c57dbee32fcc291ff7e2d8da92cb3.zip
> 
> myself. Along with the other discarded files, its download completed,
> and the checksums of each and every one of them matches. And that file's
> change date says 23:14. :confused:

Possibly (a file handle is separate from the directory)  - but again it
need to be checked by adding additional logging and confirming the
error.

The checking by additing adidtional logging an running test is time
consuming but I think only way to be sure.

BTW as a test, I downloaded the ZIP file a number of times in quick
succession and timing varied from 2secs to 40 secs. - after a few
download, the time went up and then went down again dramatically - so I
suspect throttling and then caching.



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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


Just to double check .. for the 

For the saved file
/Cache/RaopBridge-b3dc5595762c57dbee32fcc291ff7e2d8da92cb3.zip
you get a SHA1 checksum of
1f6d91f22845a272a0f51eb26c75709618b528c7

rather than
b3dc5595762c57dbee32fcc291ff7e2d8da92cb3
that LMS downloader said it calculated?



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=112241

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


Re: [SlimDevices: SqueezeCenter] Two wifi's, players can see LMS only on one

2020-05-18 Thread d6jg

Also check that the WiFi on the cable modem does not have a “client
isolation” feature switched on.

It’s a security feature that isolates a WiFi connected client from
everything else on the network. This would explain why a wired
connection works when a wireless one doesn’t.



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

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

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


Re: [SlimDevices: SqueezeCenter] Migrated to new LMS, playlists now empty

2020-05-18 Thread karlek


As far as I remember, Notepad++ is even capable of replacing text in all
files of a certain directory.





karlek's Profile: http://forums.slimdevices.com/member.php?userid=64321
View this thread: http://forums.slimdevices.com/showthread.php?t=112244

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


dolodobendan wrote: 
> 
> Is there ANY way the download could have just merrily continued AFTER it
> was moved and renamed?

To answer myself, I would say no, but I'll test just that.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


bpa wrote: 
> No I had hoped to get to it but ... you may know the phrase "Men Plan
> and God Laughs"

Yes. :D

Paul Webster wrote: 
> I'm not sure how uninterruptible the process is ... but ... the count of
> outstanding downloads is decremented before the checksum is calculated
> and compared ... and I think the restart prompt arrives between 0 and 2
> seconds after the count reaches 0 (might be minimum 2 rather than 0 ...
> not sure).
> 
> So - a big plugin that takes a long time to do the checksum comparison
> along with a trigger happy user who clicks "restart" as soon as it
> appears could be a way to shutdown LMS before it has finished doing its
> processing so it would not know to complete the install on restart.
> 
> Perhaps the decrement of the "$downloading" variable should come later
> ... and in particular after
> > 
Code:

  >   > 
  > $prefs->set($name, 'needs-install');
  > 

> > 
> (would need to be a bit further down to cover the if/then/else - in
> sub _downloadDone in Slim/Utils/PluginDownloader.pm
> 
> Seems very narrow case though

I had a look at this again:


Code:


  [20-05-17 23:10:26.8711] Slim::Utils::PluginDownloader::install (163) install 
- downloading RaopBridge from 
http://downloads.sourceforge.net/project/lms-plugins-philippe44/RaopBridge-0.4.23.0.zip
  [20-05-17 23:12:14.1969] Slim::Utils::PluginDownloader::_downloadDone (180) 
downloaded RaopBridge to 
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/DownloadedPlugins/RaopBridge.zip
  [20-05-17 23:12:14.5319] Slim::Utils::PluginDownloader::_downloadDone (200) 
digest does not match 
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/DownloadedPlugins/RaopBridge.zip
 - RaopBridge will not be installed: expected 
1f6d91f22845a272a0f51eb26c75709618b528c7, got 
b3dc5595762c57dbee32fcc291ff7e2d8da92cb3
  [20-05-17 23:12:14.5325] Slim::Utils::PluginDownloader::_downloadDone (208) 
Moving downloaded file for you to investigate:
  from: 
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/DownloadedPlugins/RaopBridge.zip
  to:   
/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/RaopBridge-b3dc5595762c57dbee32fcc291ff7e2d8da92cb3.zip
  



"downloadDone (180)" I'm still convinced that the download was not done
as it was still at 9 MB when I clicked "Restart now". I watched it
live.

Is there ANY way the download could have just merrily continued AFTER it
was moved and renamed? I ask because I just checked that file here:

/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/RaopBridge-b3dc5595762c57dbee32fcc291ff7e2d8da92cb3.zip

myself. Along with the other discarded files, its download completed,
and the checksums of each and every one of them matches. And that file's
change date says 23:14. :confused:



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Un-needed plugins

2020-05-18 Thread Apesbrain


Post a screenshot of your plugins page and you'll get feedback on what
can be disabled.



Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738
View this thread: http://forums.slimdevices.com/showthread.php?t=112247

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


Re: [SlimDevices: SqueezeCenter] Migrated to new LMS, playlists now empty

2020-05-18 Thread DavJon


dolodobendan wrote: 
> The horror.
> 
> >   > 
  - Download a better editor (for example 'Notepad++'
  > (https://notepad-plus-plus.org/downloads/))
  - Open all playlists in that editor
  - Select the old path with the mouse in any playlist you just
  > opened
  - Press ctrl + h
  - The old path should now be in "Find what:", if not, you didn't
  > select it in 3) Try that again.
  - Enter the new path in "Replace with:"
  - Click on "Replace All in All Opened Documents"
  - Click on the "Save All" symbol (three discs)
  > > > 
> 
> You might want to test it with one playlist file first by opening only
> one playlist.

Thanks for this.  I already took care of the critical playlists but I
will experiment with this idea to finish the job.



DavJon's Profile: http://forums.slimdevices.com/member.php?userid=69676
View this thread: http://forums.slimdevices.com/showthread.php?t=112244

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread Paul Webster


I'm not sure how uninterruptible the process is ... but ... the count of
outstanding downloads is decremented before the checksum is calculated
and compared ... and I think the restart prompt arrives between 0 and 2
seconds after the count reaches 0 (might be minimum 2 rather than 0 ...
not sure).

So - a big plugin that takes a long time to do the checksum comparison
along with a trigger happy user who clicks "restart" as soon as it
appears could be a way to shutdown LMS before it has finished doing its
processing so it would not know to complete the install on restart.

Perhaps the decrement of the "$downloading" variable should come later
... and in particular after

Code:


  $prefs->set($name, 'needs-install');
  


(would need to be a bit further down to cover the if/then/else - in sub
_downloadDone in Slim/Utils/PluginDownloader.pm

Seems very narrow case though



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=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread bpa


dolodobendan wrote: 
> Not criticizing you or me (or anyone, for that matter) for having other
> duties as well. :) I'm terribly sorry if it looked that way.
No I had hoped to get to it but ... you may know the phrase "Men Plan
and God Laughs"



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

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


bpa wrote: 
> I haven't had time (!)

Not criticizing you or me (or anyone, for that matter) for having other
duties as well. :) I'm terribly sorry if it looked that way.



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Un-needed plugins

2020-05-18 Thread tw99


Personally I've removed anything that I know I didn't use, and also
anything that I wasn't sure if I used.  You can easily put them back
again if you find you need them.



tw99's Profile: http://forums.slimdevices.com/member.php?userid=51684
View this thread: http://forums.slimdevices.com/showthread.php?t=112247

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


[SlimDevices: SqueezeCenter] Un-needed plugins

2020-05-18 Thread romanempire


Currently have LMS 7.9.2 running on an RPi3/pCP6 platform. I've had to
do a fresh install to a new SD card and try to remember all the config
changes (which I'll document this time :o ). But when I was looking at
the plug-ins page it did prompt the question are there any of the
default active plug-ins I can usefully remove? Not all of the
descriptions are helpful.

I've had a search but can't find anything useful. As its a limited
resource dedicated LMS instance I'm inclined to think its helpful to
strip out any unneeded plugins leaving more for the plugins I do want. 

I'm guessing anything to do with the old Squeezebox hardware can go as
all my players are RPi based.
Services like Amazon, Deezer, etc that I don't use can go?
Any dependencies I need to watch out for?

Thanks,

P



romanempire's Profile: http://forums.slimdevices.com/member.php?userid=67209
View this thread: http://forums.slimdevices.com/showthread.php?t=112247

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


Re: [SlimDevices: SqueezeCenter] Two wifi's, players can see LMS only on one

2020-05-18 Thread Paul Webster


Here is how I do something similar ...
I have only one DHCP server inside the regular home LAN - in your case
that could be the cable modem/router box.

Other access points are put into bridge mode and get their own IP
address via DHCP (although you could make them static in a range outside
that being used by the cable modem but in the same subnet).
Then when a device connects to the second access point (wired or
wireless) they get their IP address via DHCP from the cable modem.
Then everything is on the same 10.x.y.z subnet and, hopefully, your
problem would disappear.

In reality I have another router (X) between the LAN and the ISP router
and have nothing plugged/wifi into the ISP router apart from router X or
sometimes a house guest.
That way I can change ISP without relying on features that might not be
in the ISP router.



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=112246

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread bpa


dolodobendan wrote: 
> You're right of course, it does happen only with higher download times
> (or for people with insane reflexes). That it's downloaded three times
> however, that should not happen.
I haven't had time (!) so far to look again but there are a number of
possibilities, I tend to believe the download code is OK because it is
used in other places of LMS.   I haven't looked at what triggers the
presentation of the "Restart" box and that would be the first place I'll
look because a restart at the wrong time  is the issue,



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

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


[SlimDevices: SqueezeCenter] Two wifi's, players can see LMS only on one

2020-05-18 Thread LanceInMN


Several years ago my Xfinity cable modem was replaced with one that has
wifi. I kept my original wifi, as they broaden my access area. I can
connect my players to the original wifi and can play music from my LMS,
but cannot access the server from the cable modem wifi.

Here is my setup: My cable modem with wifi is on the second floor in my
den, with a router attached directly. My pc, Mac and printer are
attached to this. I have an ethernet cable run from the router to the
basement, attached to an ethernet switch. The NAS running LMS is
attached to this switch, as well as my original wifi access point.

I'm replacing a squeezebox that recently died with a piCoreplayer
device. While setting up the device, I attached it directly to the
router. I could see the LMS and play music. Then I set a connection to
the cable modem wifi, detached it from the router and rebooted. It was
unable to connect to the LMS while connected only to wifi. My connected
devices on the cable modem have IP's in the range of 10.0.0.x, while
those on the router and switch are 192.168.0.x.

I have tried port forwarding 9000 and 3483 on the router to 10.0.0.x,
but does not appear to help.

I would welcome any suggestions and can provide additional detail if
needed.



Lance Schneider

LanceInMN's Profile: http://forums.slimdevices.com/member.php?userid=8258
View this thread: http://forums.slimdevices.com/showthread.php?t=112246

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread dolodobendan


bpa wrote: 
> 
> 30M files downloaded for me in 4 secs - it is 300mbit/.sec connection so
> even at 60mbits it would be 20 sec

I didn't notice it until now, but for this to be correct, you'd need the
file to be downloaded at full speed. But it didn't: 4s for 30 MB, that's
around 60 Mbit/s for you. It should have been less than a second. (Slow
ISP much? :p )

bpa wrote: 
> I used to see it a lot with a slower ISP connection but again but I felt
> it wasn't serious enough and easily reproduced to warrant further
> investigation.

As of now, I see two (possibly connected) bugs here:

  
- LMS restarts without finishing the download and then finds itself
  puzzled that the checksums don't match
- LMS further enhances this problem by discarding perfectly fine
  FINISHED downloads when clicking on "Plugins have been updated -
  Restart Required" (2nd download is triggered) and then discarding
  whatever progress LMS made with that when clicking on "Changes will
  take place at the next application restart. Please click here to
  restart the server now." (3rd download is triggered) That last one is
  the only download LMS actually uses!
  

You're right of course, it does happen only with higher download times
(or for people with insane reflexes). That it's downloaded three times
however, that should not happen.

bpa wrote: 
> I seem to have less time to do things.

Far less enigmatic. ;)



QLMS 8.0.0@2.20 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=112241

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


Re: [SlimDevices: SqueezeCenter] Possible bug: Plugin updater

2020-05-18 Thread bpa


mherger wrote: 
> TBH: I've been wondering about this before. When I look at my server's 
> log files I often see the same IP download a plugin file two or three 
> times. It's not always the case, but often.
I used to see it a lot with a slower ISP connection but again but I felt
it wasn't serious enough and easily reproduced to warrant further
investigation.

> I'll take a note to investigate this. Feel free to investigate, too. I'm
> 
> running out of time.

I'll do some looking but like yourself - I seem to have less time to do
things.



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

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