Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Stig Nygaard wrote: > For the record, and trying to get something useful out of this thread > :-) ... > > > > Yes, ReadyNAS Ultra is running: Perl Version: 5.8.8 - > i486-linux-gnu-thread-multi. > > Regarding the crashes I got when doing the initial setup of a clean > LMS79x installs on my ReadyNAS and on my Windows PC, I came to think > about the new 79x option to include pictures and videos in your > scanning/library. I think I saw in some thread that scanning for > pictures might make LMS crash. I just tried installing LMS791 on > Synology DS716+ II (via pinkdot's LmsRepack packages), and noticed it > did not crash when setting the Media Library Name on the Basic Settings > tab. But this time I also de-selected the "Picture" and "Video" > check-boxes before applying the settings. I'm not sure if I did that > already at this point when installing on my NAS or on my Windows PC. > > It made me think: > 1) It would of course be good to fix it so it doesn't crash, but... > 2) Maybe "Pictures" and "Video" shouldn't be selected by default on a > clean install? I would guess it are nice bonus features for a few > people, but most probably just install LMS for streaming and handling of > their Music collection. And it 's such a bad start to crash the first > time you start LMS. It's a good point I thought everybody knew that it was "best practice" to deselect pictures and videos for a trouble free scan I've been doing that for years . Not many are actually using the features and plugins it once was implemented for and is suspect that many recent cases of scanning problems could be avoided . Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
For the record, and trying to get something useful out of this thread :-) ... mherger wrote: > > Is it still running Perl 5.8.x? > Yes, ReadyNAS Ultra is running: Perl Version: 5.8.8 - i486-linux-gnu-thread-multi. Regarding the crashes I got when doing the initial setup of a clean LMS79x installs on my ReadyNAS and on my Windows PC, I came to think about the new 79x option to include pictures and videos in your scanning/library. I think I saw in some thread that scanning for pictures might make LMS crash. I just tried installing LMS791 on Synology DS716+ II (via pinkdot's LmsRepack packages), and noticed it did not crash when setting the Media Library Name on the Basic Settings tab. But this time I also de-selected the "Picture" and "Video" check-boxes before applying the settings. I'm not sure if I did that when installing on my NAS or on my Windows PC. It made me think: 1) It would of course be good to fix it so it doesn't crash, but... 2) Maybe "Pictures" and "Video" shouldn't be selected by default on a clean install? I would guess it are nice bonus features for a few people, but most probably just install LMS for streaming and handling of their Music collection. And it 's such a bad start to crash the first time you run LMS. */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
There must have been a performance-difference also on LMS781 then, but DNS-lookups in such smaller numbers that you wouldn't notice? Yes. If only every tenth call was slow, you probably wouldn't notice when only one call is done a day or every few hours. But with the new imageproxy it's done for every single image on a page. I am ashamed. I was sure it wasn't my setup that was the problem. They always do ;-). "Wasn't me!" -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > I still believe this is an issue particular to your setup. Sometimes DNS > lookups seem to be very slow. What changed from 7.8 to 7.9 is that we do > a lot of those lookups when rendering a page with artwork (in order to > figure out what resizing method to use). > BANG, there it was! I was just looking through the configuration settings on my NAS and stumbled over a DNS-page where the IP-addresses of three domain name servers was entered. But why do they have to be that on my NAS I wondered? So I deleted them all. Well, that was not the solution. Half of the menus in LMS disappeared (pretty much all the stuff that is not purely local was gone). Okay, so apparently the NAS has to explicitly be told the address of at least one domain name server. Two of the previously entered addresses was external. Probably from an ISP I was using 4-5 years ago. The third was just pointing to my router. When I just enter the local IP of my router as DNS, performance is on top again! The two others was significantly slower it turned out. There must have been a performance-difference also on LMS781 then, but DNS-lookups in such smaller numbers that you wouldn't notice? I am ashamed. I was sure it wasn't my setup that was the problem. I'm happy we have found the reason, but soo sorry to taking all that time from you. I owe you if there's anything you ever need someone to check on an ReadNAS Ultra. Thanks so much for helping me here and for the work you continue to do on LMS :-) */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
I also have another router somewhere I could try if you think that might make a difference? It might be worth a try. But as you don't experience the same problem on your desktop, I'd assume the ReadyNAS is part of the problem. Is it still running Perl 5.8.x? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > Therefore I wonder whether the following would improve the situation for > you. It's adding caching in our code. Basically replace > Slim::Utils::Network::ip_is_private with the following code: > I'll try that tonight. I also have another router somewhere I could try if you think that might make a difference? */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
I still believe this is an issue particular to your setup. Sometimes DNS lookups seem to be very slow. What changed from 7.8 to 7.9 is that we do a lot of those lookups when rendering a page with artwork (in order to figure out what resizing method to use). What surprises me is the fact that this lookup seems not to apply any caching. Or maybe there's some caching going on in the OS, and that's what is broken on your system ;-). Therefore I wonder whether the following would improve the situation for you. It's adding caching in our code. Basically replace Slim::Utils::Network::ip_is_private with the following code: Code: my %cache; require Tie::Cache::LRU::Expires; tie %cache, 'Tie::Cache::LRU::Expires', EXPIRES => 60, ENTRIES => 100; sub ip_is_private { my $ip = shift; my $cached = $cache{$ip}; return $cached if defined $cached; my $packed_ip = inet_aton($ip); my $is_private; if ($packed_ip) { # http://www.perlmonks.org/?node_id=791164 $is_private = $packed_ip =~ m{ ^ (?: \x0A # 10.0.0.0/8 | \xAC[\x10-\x1F] # 172.16.0.0/12 | \xC0\xA8 # 192.168.0.0/16 ) }x; } $cache{$ip} = $is_private ? 1 : 0; return $is_private; } Michael http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR mherger's Profile: http://forums.slimdevices.com/member.php?userid=50 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Stig Nygaard wrote: > > Anyway, here's the log with your latest changes. Unfortunately I cannot > see a pattern? : > Or the longer list for Copenhagen local. It's almost every 7th, but once the 8th: 22539 +---+ |Filename: LMSImageresizerCPHLog.txt| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=22539| +---+ */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > Thanks a lot! Yes, that log is quite interesting. Let's look at this > snippet: > > As you can see, most requests would be dealt with within a fraction of a > second. But there are two which took >5s! Unfortunately we don't have > the URLs logged... Could I therefore ask you for another test? Could you > please edit this line: > > > Code: > > warn "mysb: " . (Time::HiRes::time() - $t); > > > > to include the URL: > > > Code: > > warn "mysb ($url, $host): " . (Time::HiRes::time() - $t); > > I was actually trying to include urls. But guessing perl when you have never done perl before is not easy :-) Anyway, here's the log with your latest changes. Unfortunately I cannot see a pattern? : 22537 +---+ |Filename: LMSImageresizerLog.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=22537| +---+ */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Thanks a lot! Yes, that log is quite interesting. Let's look at this snippet: Code: [17-04-19 21:51:17.6780] Slim::Utils::Misc::msg (1244) Warning: [21:51:17.6773] mysb: 0.0032862548828 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:17.6924] Slim::Utils::Misc::msg (1244) Warning: [21:51:17.6916] mysb: 0.00301098823547363 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:17.7207] Slim::Utils::Misc::msg (1244) Warning: [21:51:17.7200] mysb: 0.0169610977172852 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:17.7531] Slim::Utils::Misc::msg (1244) Warning: [21:51:17.7524] mysb: 0.0210268497467041 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:22.7725] Slim::Utils::Misc::msg (1244) Warning: [21:51:22.7718] mysb: 5.00802183151245 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:22.7891] Slim::Utils::Misc::msg (1244) Warning: [21:51:22.7884] mysb: 0.00420618057250977 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:22.8044] Slim::Utils::Misc::msg (1244) Warning: [21:51:22.8037] mysb: 0.00397300720214844 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:22.8195] Slim::Utils::Misc::msg (1244) Warning: [21:51:22.8187] mysb: 0.00370192527770996 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:22.8348] Slim::Utils::Misc::msg (1244) Warning: [21:51:22.8341] mysb: 0.00311899185180664 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:22.8495] Slim::Utils::Misc::msg (1244) Warning: [21:51:22.8487] mysb: 0.00323700904846191 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:22.8713] Slim::Utils::Misc::msg (1244) Warning: [21:51:22.8705] mysb: 0.0104079246520996 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. [17-04-19 21:51:27.8907] Slim::Utils::Misc::msg (1244) Warning: [21:51:27.8900] mysb: 5.00787615776062 at /usr/share/perl5/Slim/Web/Template/SkinManager.pm line 283. As you can see, most requests would be dealt with within a fraction of a second. But there are two which took >5s! Unfortunately we don't have the URLs logged... Could I therefore ask you for another test? Could you please edit this line: Code: warn "mysb: " . (Time::HiRes::time() - $t); to include the URL: Code: warn "mysb ($url, $host): " . (Time::HiRes::time() - $t); Michael http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR mherger's Profile: http://forums.slimdevices.com/member.php?userid=50 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Hi Michael Okay, I have tested performance of a LMS791-installation on my Windows 10 desktop PC. Performance was very fine opening lists like for example the Alternative Rock station list. So no performance problem on Windows it seems. I did however see the same crash of LMS when trying to set the Library Name for the first time on the initial setup, as I have seen when doing clean installs of LMS791 on my NAS. But that's probably a completely different story... On my NAS-installation of LMS791 I have now also applied the modifications of SkinManager.pm, and I have attached the log from when I opened the Alternative Rock stationlist afterwards. I clicked to open the station list at 21:51:15: 22536 Hope it makes you wiser :-) +---+ |Filename: LMSImageproxyLog.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=22536| +---+ */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Regarding my internet connection, it is not DSL. I would describe it something like Fiber via our Housing Association's network. But don't really know the terms you would use in English. Just to make sure your issue isn't related to your internet connection: could you install LMS on your desktop and see whether it's showing the same delays? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > I don't think this is related. Yet it's good to know. What kind of ISP > are you using? Cable or DSL? > I suddenly got tired last night, so editing SkinManager.pm again must be tonight. Regarding my internet connection, it is not DSL. I would describe it something like Fiber via our Housing Association's network. But don't really know the terms you would use in English. */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Ah, I probably misunderstood you before when you asked me to disable images in the browser. I disabled images in my browser's settings. Didn't see the little option-dropdown in the lower left of columns. And yes, disabling images directly in the UI by selecting "Text only" does indeed solve the performance problem. That's ok. Both tests make sense. But I'll try. As far as I can see, you are only adding lines? Yes, the first line is storing a timestamp, the others will tell us what exit path the call took, and how long it took to get there. What does ip_is_private mean? It's a call we use to figure out whether a URL is internal to your network, or out in the wild. The issue I fixed a few weeks ago was that failed lookups would take really long on Windows. I wonder whether we're seeing something similar in your case. And I apparently cannot use some functions of the router, such as it's built-in DDNS Client. My router says my WAN ip-number is something like 100.96.xxx.xxx, but in reality I'm something like 89.23.xxx.xxx when seen from "the outside". I don't think this is related. Yet it's good to know. What kind of ISP are you using? Cable or DSL? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > Stig, > > I think your log leads back to where I found the previous issue: > _resizeImage in SkinManager.pm (the file you edited last time). LMS > seems to be spending a long time in there, for every image on the page. > Disable the images (set the option bottom left to "Text only") and > re-try. Would that improve the situation? > Ah, I probably misunderstood you before when you asked me to disable images in the browser. I disabled images in my browser's settings. Didn't see the little option-dropdown in the lower left of columns. And yes, disabling images directly in the UI by selecting "Text only" does indeed solve the performance problem. I also checked Spotify and my list of playlist. And ditto, much better performance with "Text only". mherger wrote: > > Could you please edit that file again and apply the following few > changes: > I'll try. Not used to read those diffs. Especially not when perl and without colors... hmm, and not looking forward to fight that VI thing again :-) But I'll try. As far as I can see, you are only adding lines? I'll be back soon when done - hopefully... mherger wrote: > > It would hopefully tell us whether the issue is ip_is_private (again). > What does ip_is_private mean? After I some time ago changed from static IP to dynamic IP at my internet provider, my router gives me the warning: -The WAN IP is not the external IP. External IP-based services will not work.- And I apparently cannot use some functions of the router, such as it's built-in DDNS Client. My router says my WAN ip-number is something like 100.96.xxx.xxx, but in reality I'm something like 89.23.xxx.xxx when seen from "the outside". */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Stig, I think your log leads back to where I found the previous issue: _resizeImage in SkinManager.pm (the file you edited last time). LMS seems to be spending a long time in there, for every image on the page. Disable the images (set the option bottom left to "Text only") and re-try. Would that improve the situation? Could you please edit that file again and apply the following few changes: Code: diff --git a/Slim/Web/Template/SkinManager.pm b/Slim/Web/Template/SkinManager.pm index 2c241d5..88e3d0f 100644 --- a/Slim/Web/Template/SkinManager.pm +++ b/Slim/Web/Template/SkinManager.pm @@ -269,18 +269,23 @@ my ($host) = Slim::Utils::Misc::crackURL($url); +my $t = Time::HiRes::time(); # don't use imageproxy on local network if ( $host && (Slim::Utils::Network::ip_is_private($host) || $host =~ /localhost/i) ) { +warn "local: " . (Time::HiRes::time() - $t); return $url; } # fall back to using external image proxy for external resources elsif ( !main::NOMYSB && $url =~ m{^https?://} ) { +warn "mysb: " . (Time::HiRes::time() - $t); return Slim::Networking::SqueezeNetwork->url( "/public/imageproxy?w=$width&h=$height&u=" . uri_escape($url) ); } +warn "imageproxy: " . (Time::HiRes::time() - $t); + # $url comes with resizing parameters if ( $url =~ /_((?:[0-9X]+x[0-9X]+)(?:_\w)?(?:_[\da-fA-F]+)?(?:\.\w+)?)$/ ) { return $url; It would hopefully tell us whether the issue is ip_is_private (again). Michael http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR mherger's Profile: http://forums.slimdevices.com/member.php?userid=50 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > Loading those pages take a second or two only on my systems. > > What if you disabled image loading in the browser? Would it still take > that long? Do the menus on smartphone app or Touch/Radio take > excessively long, too? > Disabling images in browser makes no difference. It is just a slow as with images. Opening the same station list directly from Touch devices' UI or in apps is instant (I would say less than 1 second). mherger wrote: > > If you were able to edit a source file: what if you enabled the > following line: > > ... > > Basically remove the hashtag from that line. That would log some > profiling information for every web page rendered. What would you get > for such a station list? > I have removed the hashtag from the following line in SkinManager.pm: Code: #$Template::Config::CONTEXT = 'Slim::Web::Template::Profiler'; I have the log attached as a file: 22507 I don't get much wiser looking at that, but maybe you do? I tried to click the menu exactly at 13:37. As you can see from the log I have (re-)installed the MusicArtistInfo plugin, however it is not causing the problem. I've been running clean LMS installs (no extra plugins or fancy settings) with this performance problem for weeks now. It's been a long thread and you of course involved in a lot of other stuff and threads, so thought I would do a short summary of how I see the problems and findings done so far: - Problem started when upgrading to LMS79x. On the 781 nightlies performance was fine. - Problem is so far found to be isolated to the -Default -theme in LMS79x's webinterface and it is very dependent of value of "Items per page" in Interface settings (Currently I have this value at the default 50 - If I set to 200, lists doesn't open at all). - Performance is fine when opening menus directly on my Touch devices and performance is also fine in various apps like Orange Squeeze on Android phone and tablet, or if using the Windows 10 Squeeze Control app. - While waiting for one of those slow lists to open on LMS79x, I cannot control/access LMS in another browser-tab, browser or app meanwhile. LMS is not responding. - I have made clean re-installs of both LMS781 and LMS79x several times to make sure everything has equal and clean setups. I have even reinstalled the firmware on my NAS. - It looks like the lists giving trouble, are lists where communication to MySB.com is required? - Something that might or might not be related to my problems, is how (apparently?) missing SSL support seems to be handled. I have noticed I get "Unable to load IO::Socket::SSL" warnings in the log when running LMS781. But I do NOT get these warnings in the log when running LMS79x (I remember you were a bit surprised I didn't get the same warnings on LMS79x). However on LMS791 I DO get an 'SSL error when trying to run the Bands Campout plugin' (http://forums.slimdevices.com/showthread.php?107155-Problems-with-LMS79x-and-Spotify-on-ReadyNAS-Ultra-2-1-3&p=880568&viewfull=1#post880568). - Another error I have noticed in my many -clean re-installs-, is that LMS79x crashes when trying to set the "Media Library Name" in "Basic Settings" under my initial setup (When I'm prompted to rescan my library. Btw, I wonder why a rescan is necessary just because I change the name?). This does not happen when doing a clean install of 781. It is only a problem on -clean -installs of LMS79x (When upgrading from prior version, the name is already set. But trying to change the name after it has been set, doesn't seem to be a problem either). Though I think this is an error that would be nice to get fixed, I have no reason to believe it is directly related to my other problem. +---+ |Filename: LMSProfilerLog.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=22507| +---+ */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... -
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Maybe it is easier to look at *Home -> Radio -> Music -> Alternative Rock -> Stations (26+)* which I mentioned in an updated version of the post you are quoting. I assume we see the same list there. And it's bit shorter, so you get the complete list of image urls: http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs90437q.png That looks ok. I just don't understand why you are having these issues... there clearly was a problem with certain URLs with a @ in the file name (im...@2x.jpg). But that's not the case here. Loading those pages take a second or two only on my systems. What if you disabled image loading in the browser? Would it still take that long? Do the menus on smartphone app or Touch/Radio take excessively long, too? If you were able to edit a source file: what if you enabled the following line: diff --git a/Slim/Web/Template/SkinManager.pm b/Slim/Web/Template/SkinManager.pm index 2c241d5..a8b8849 100644 --- a/Slim/Web/Template/SkinManager.pm +++ b/Slim/Web/Template/SkinManager.pm @@ -27,7 +27,7 @@ # Use our custom Template::Context subclass $Template::Config::CONTEXT = 'Slim::Web::Template::Context'; # Use Profiler instead if you want to investigate page rendering performance -# $Template::Config::CONTEXT = 'Slim::Web::Template::Profiler'; + $Template::Config::CONTEXT = 'Slim::Web::Template::Profiler'; $Template::Provider::MAX_DIRS = 128; } Basically remove the hashtag from that line. That would log some profiling information for every web page rendered. What would you get for such a station list? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > On my LMS 791 I did a test *opening a list of local radiostations*, > > which in my case points to 52 stations in the Copenhagen area. > > The issue I identified back in March was indeed not limited to Spotify > or any other service. It was exposed by the artwork URL's format. Could > you give me some example URL from those pages you mention? And is this > running 7.9.1 from April on your ReadyNAS or something else? > > The big difference between the two skins obviously is using artwork or > not. > What would be your resizing setting in Settings/Advanced/Performance? > Running April 8th LMS791 on my ReadyNAS. I have noticed finding artwork sometimes seems very slow compared to LMS781, but haven't thought about it until current LMS791 installation, so haven't done any direct comparisons between 781 and 791 in this area. Maybe it is easier to look at *Home -> Radio -> Music -> Alternative Rock -> Stations (26+)* which I mentioned in an updated version of the post you are quoting. I assume we see the same list there. And it's bit shorter, so you get the complete list of image urls: http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs90437q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs29726q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs221580q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs111382q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs31929q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs20270q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs2707q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs162354q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs24031q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs30372q.png 'http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs223158q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs48937q.png ' (http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs223158q.png)http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs22543q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs187420q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs26555q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs32312q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs140358q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs95135q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs151799q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs47734q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs21226q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs3276q.png http://www.mysqueezebox.com/public/imageproxy?w=50&h=50&u=http%3A%2F%2Fcdn-radiotime-logos.tunein.com%2Fs28576q.png http://192.168.1.150:9000/music/0/cover_50x50_o Performance settings should be default for a clean install of LMS791: Database Memory Config High (ReadyNas Ultra has 1GB RAM) Trigger Scan on Preference Changes Prompt to scan, but don't trigger automacly Library Statistics Enabled Artwork Pre-caching Pre-cache album artwork Artwork resizing Use mysqueezebox Server Priority Current server priority Scanner Priority 0 Normal Maximum Playlist Length 500 */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scrip
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
On my LMS 791 I did a test *opening a list of local radiostations*, which in my case points to 52 stations in the Copenhagen area. The issue I identified back in March was indeed not limited to Spotify or any other service. It was exposed by the artwork URL's format. Could you give me some example URL from those pages you mention? And is this running 7.9.1 from April on your ReadyNAS or something else? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Hi Michael The slow list response problem is -not- a Spotify specific problem. On my LMS 791 I did a test *opening a list of local radiostations*, which in my case points to 52 stations in the Copenhagen area. HOME -> RADIO -> LOCAL/COPENHAGEN -> STATIONS Using *Default skin* and 50 items per page in Interface settings: -*32 seconds* to open the station list- Using *Classic skin* and 50 items per page in Interface settings: -*1 second* to open the station list- */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Stig Nygaard wrote: > > So I continued and installed latest LMS791 nightly on top of this, and > unsurprisingly the performance problems when using Spotify on LMS79x > re-appeared :-/ ... > In another thread I saw that synchronization of playlists was working again in Triode's unofficial Spotify plugin. So I decided to try that plugin again. Guess what, Triode's and the official plugin shows very similar behavior/performance on LMS791. With "Items Per Page" set to 50 in Settings, I tried opening the Playlists list in Triode's plugin: Triode with Default skin -> 34 secs. Triode with Classic skin -> 2-3 secs. That's pretty much exactly the same timings as I got with the official plugin on LMS791. */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Mnyb wrote: > Regarding the SSL thing , this plagues odd linux distros and NAS distros > . > Did you ever try LMS on a more regular platform , some mainstream linux > OSX or Linux In the old days I was running LMS on my Windows desktop PCs, but I rather have it on some always-running server. I'm not a Linux user in general (Besides my Android devices and my NAS'es, but I just use them as a standard end-user). Not that I never have seen a unix/linux commandline before, but it is not a world I have spent much energy on. I have recently purchased a Synology DS716+ II, which I might transfer my LMS79 setup to if I cannot get it to work properly on my ReadyNAS Ultra. But what I really like about the ReadyNAS Ultra is that Logitech/mherger builds 'official prebuild nightlies for it' (http://downloads.slimdevices.com/nightly/?ver=7.9) every day, which I can download and install directly any day/version I want. And I don't have to be a superuser to do it. */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1491548882 @ Sat Apr 8 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Regarding the SSL thing , this plagues odd linux distros and NAS distros . Did you ever try LMS on a more regular platform , some mainstream linux OSX or Linux Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > The folder would be /c/.squeezeboxserver. File/foldername starting with > a dot usually are hidden. So if that's the case there, you'll need some > way to tell it where exactly to go. > > As someone else mentioned you should try to get shell (ssh) access to > your NAS. > So I made a complete uninstall of LMS, and checked if the NAS did a complete cleanup when uninstalling. The ".squeezeboxserver" folder was completely gone, so apparently yes. I did -not -follow up with a direct clean re-install of LMS791 this time. I have done that two times before, and thought I would try something new this time... I don't know if you have noticed it in all the information I have posted earlier, but whenever I do a clean install of LMS79x, the application/service crashes when I try to set a "Media Library Name" on the "Basic Settings" tab. It doesn't happen when doing a clean install of LMS781, only when doing clean install of LMS79x. I have no reason to believe this is directly related to my other problem(s), but maybe worth taking a look at anyway?... So to avoid the crashing this time, I first did an extremely basic install of LMS781. I installed 781 and entered a Media Library Name in Basic Settings. And that was it. I didn't even connect my players. I did notice though, that I still have the "Unable to load IO::Socket::SSL" warnings in the log when running LMS781. So I continued and installed latest LMS791 nightly on top of this, and unsurprisingly the performance problems when using Spotify on LMS79x re-appeared :-/ ... I still -don't- see any SSL warnings in the 791-log like I do on LMS781, but I tried installing the "Band's Campout" app on LMS791 and interestingly I got this message when trying to open the "is following..." submenu: Code: Unknown error: Can't connect to https URL lack of IO::Socket::SSL: https://bandcamp.com/stignygaard/following I haven't tried this app before, so I have no idea if it's generally working or not, or how it would have worked on LMS781. But might be interesting I suddenly get an IO:Socket:SSL error here on LMS791, but don't get the other warnings in the log?.. Now that I have PuTTY/SSH access to root commandline on the NAS, maybe there's something more I could investigate there? Maybe somehow see if that -IO::Socket::SSL- thing is there or not? And sorry, if you are disappointed that I didn't do yet another clean install of 791. I might try later to be 200% sure. But I have no reason to believe my two other clean 791 installs was "dirty" in any way. I followed precisely the same uninstall procedure in all attempts. Regarding the account/player problem, I will write you a pm with mac ids for my Touch devices as Mnyb suggests. I don't remember for sure if one of my players is a secondhand. But maybe you could check if there are some mysb account double registrations? Meanwhile, as long as I don't sync my 2 players, I don't have any account issues (At least not when using my primary player - which happens to be the one I primarily use:-)). */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.9.1 - 1490335303 @ Fri Mar 24 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Stig Nygaard wrote: > Resetting my SBTouch didn't help in the long run. Now it keeps asking > for password both when I switch to MySB and back to my LMS setup :-/ > It's probably broken and just a coincidence the problem started same > time as I updated to LMS79. Maybe it was triggered because it was the > first time in years I touched the player configurations? > > Anyway, I have turned synchronization of my 2 players off to prevent > login problems, and took the opportunity to order a Raspberry Pi and > Max2Play based kit of a SBTouch clone instead. It's going to be > interesting to see how that works... > > Meanwhile I didn't find time/energy this weekend to play further with > uninstall/install of LMS791. But I will hopefully be back with some news > regarding this soon... I dont think its broken is this a second hand unit ? Give mherger that mac id via pm so that he can check thTs its only or your mysb.com account ? Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Resetting my SBTouch didn't help in the long run. Now it keeps asking for password both when I switch to MySB and back to my LMS setup :-/ It's probably broken and just a coincidence the problem started same time as I updated to LMS79. Maybe it was triggered because it was the first time in years I touched the player configurations? Anyway, I have turned synchronization of my 2 players off to prevent login problems, and took the opportunity to order a Raspberry Pi and Max2Play based kit of a SBTouch clone instead. It's going to be interesting to see how that works... Meanwhile I didn't find time/energy this weekend to play further with uninstall/install of LMS791. But I will hopefully be back with some news regarding this soon... */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > As someone else mentioned you should try to get shell (ssh) access to > your NAS. > Okay, I'm in! Big thanks to both of you. Now I just need to take a deep breath and do another clean install. Well, it will probably be in the weekend. I'll be back... */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
"/c/.". However from here I cannot find any Squeezebox related folders The folder would be /c/.squeezeboxserver. File/foldername starting with a dot usually are hidden. So if that's the case there, you'll need some way to tell it where exactly to go. As someone else mentioned you should try to get shell (ssh) access to your NAS. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Use SSH via some terminal or if you use windows some terminal emulator like putty . And do it the old fashion way via command line . ( you can use search functions there to ) But you need some admin password to your NAS and probably some setting to gain terminal acess . Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
I have made a Reinstall of firmware + Restore Factory Settings on the SBTouch which was asking for password (Yesterday it also suddenly asked me for password to my LMS, so it apparently was a bit confused). I hope this helps with the Spotify connection problems... Regarding looking at if cache and other data is completely deleted when doing a complete uninstall, first step is to find out how I see this on my NAS. Normally I don't have direct access to the drive-content on my NAS. Long time ago I installed a filemanager (AjaXplorer), but remember I never really found out how to use it. I took a second look at this app, and I have now found out how to open a view (repository) into "/c/.". However from here I cannot find any Squeezebox related folders or files(*). I tried opening a view/repository directly for "/c/.squeezebox", but that fails (cannot be found or something like that). I'm not an experienced Linux/NAS superuser, so any suggestions are welcome :-) (*) I see folders "backup", "home", "lost+found", "media" and "webroot". But none of these seems to contain anything related to LMS. It could maybe be hidden, but how is it with those file attribs in Linux?? For the view/repository I have assigned the "File Creation Mask" a value of "0666", maybe this should be changed? (But I don't like the wording "CREATION mask" if it's just supposed to define what I can see?). */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector 2. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
I have of course also cleared my browser cache several times, and tried other browsers. But same experience :-( ... Make sure after the un-install /c/.squeezebox or similar is gone. That's where the cache etc. live. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > Would it be too much to ask you to completely uninstall > LMS 7.8 before installing 7.9? Obviously I'd suggest you keep the backup > > of the prefs around to be restored if needed. > That's actually exactly what I currently have done. I have tried both paths (upgrade from 781 and complete clean install(*)), and behavior is the same... I have of course also cleared my browser cache several times, and tried other browsers. But same experience :-( ... (*) Unless of course my UltraNAS doesn't do a complete cleanup when I tell it to remove data and configurations on an uninstall. But following install looked like a clean install starting complete from the bottom with no remembered settings. */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Not used: Squeezebox Classic,] 2x OrangeSqueeze. *Stereo:* Marantz PM6005 and F3/Lyd Audiovector. You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
I've been using Default theme. And if I ever have tried something else, it is so long ago that I don't remember. But a quick change to Classic theme on LMS791 makes big difference: Opening Spotify Playlists list with LMS791/Classic is at least as fast as it was opening with LMS781/Default. We're talking 4-5 seconds with "Items per page" set to 200 items, where it wouldn't even work at all if I was using the Default theme on LMS791. Spotify itself also seems to opens much faster using Classic theme on 791. Hmm... this all makes so no sense to me :-). I'm wondering whether there's an issue with some cached/stale data, or something which changed from 7.8 to 7.9 which I'm not seeing, as I'm running from git and not from a package. Would it be too much to ask you to completely uninstall LMS 7.8 before installing 7.9? Obviously I'd suggest you keep the backup of the prefs around to be restored if needed. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Suggestions try the Touch players directly on mysb.com for Spotify . Check that the controll part of players is controlling it's own player , hopefully you named them diffrently so that you can se which one you pick on the Touch select player menu ? ( hint while controlling another player from the Touch also set a different background idealy the same as that other players uses so that you see this from 5 meters away ). Then the switch to mysb.com and back migth work more smoothly ? Booth players are regognised on your mysb.com account ? Try without sync enable at one player at the time ? Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > > [17-03-25 09:46:48.6133] > Plugins::MusicArtistInfo::Common::__ANON__ (107) garbage after JSON > object, at character offset 4 (before "read timeout\n") at > /c/.squeezeboxserver/cache/InstalledPlugins/Plugins/MusicArtistInfo/Common.pm > line 100. > > That's the Music and Artist Information plugin trying to download artist > > artwork or missing cover art. > Makes sense. I have continued my setup of LMS791 including installing this and other plugins. Except for above, no other new "strange" things seen. mherger wrote: > > > 10:32 Try to open Playlists in Spotify. DoesnÂt open. LMS Âstalls > (In > > another browser tab the system log is also hanging trying to update > > itself). > > How many playlists would you have (assuming you're talking about the > list of your playlists)? > Yes, talking about my own playlists in Spotify. I have approx. 250 playlists in Spotify (In LMS781 it was never a problem). mherger wrote: > > What skin are you using? Could you try http://yourserver:9000/Classic > (unless you're using Classic as your skin anyway, in which case I'd ask > you to test Default instead)? > I've been using Default theme. And if I ever have tried something else, it is so long ago that I don't remember. But a quick change to Classic theme on LMS791 makes big difference: Opening Spotify Playlists list with LMS791/Classic is at least as fast as it was opening with LMS781/Default. We're talking 4-5 seconds with "Items per page" set to 200 items, where it wouldn't even work at all if I was using the Default theme on LMS791. Spotify itself also seems to opens much faster using Classic theme on 791. In Spotify the problem is NOT isolated to the Playlists list only. If I define "Items per page" as 50, it will for example take approx. 40 seconds to open "What's New" and "Top Tracks" lists in Spotify. But the problem has so far only been noticed in Spotify. With "Items per page" set to 200 and using same Default theme on 791 as I have been using on 781, I can open "My Music" lists like "Album Artists", "All Artists", "Albums" and "New Music" in 4-8 seconds each. Never timed it on 781, but it feels pretty much like I've been used to on 781. mherger wrote: > > > Switch SBTouch devices to MySB.com (one device asks for login, the > other > > does not need it) and back on LMS. Restart NAS/LMS. Enablemherger wrote: > > > What do you mean by "asks for login"? > It asked for username/password when trying to connect to MySB.com. And yes, I've been suspecting my problems is somehow related to my player(s) forgetting the MySB login? It worked nicely though on LMS781 with my two Touch devices synched. And as writing this, it currently works nicely on LMS791 too. But I will try to do some more experiments switching between MySB and LMS with or without synchronizing of players enabled. But it wont be now, I will post a follow-up on that later... Thanks for listening so far :-) */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 03:15:27 UTC 2017 on ReadyNAS Ultra 2. *Controllers & players:* 2x Squeezebox Touch, [Currently not used: Squeezebox Classic,] 2x OrangeSqueeze You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
[17-03-25 09:46:48.6133] Plugins::MusicArtistInfo::Common::__ANON__ (107) garbage after JSON object, at character offset 4 (before "read timeout\n") at /c/.squeezeboxserver/cache/InstalledPlugins/Plugins/MusicArtistInfo/Common.pm line 100. That's the Music and Artist Information plugin trying to download artist artwork or missing cover art. Might be a temporary issue. 10:32 Try to open Playlists in Spotify. Doesnt open. LMS stalls (In another browser tab the system log is also hanging trying to update itself). How many playlists would you have (assuming you're talking about the list of your playlists)? What skin are you using? Could you try http://yourserver:9000/Classic (unless you're using Classic as your skin anyway, in which case I'd ask you to test Default instead)? Switch SBTouch devices to MySB.com (one device asks for login, the other does not need it) and back on LMS. Restart NAS/LMS. Enable What do you mean by "asks for login"? There's something odd about one of your Touchs: it seems to be "half connected". Eg. the Controller part seems to be connected to mysb.com, while the player is not. Sure enough it's the one complaining about Spotify credentials: [17-03-25 11:29:33.4925] Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 Spotify error, code 6: Spotify login failed: Bad username and/or password Maybe a device reboot would help? > So I continue to the Interface tab to do more configurations. And here I > finally do a discovery directly connected to my problem with opening > submenus in Spotify via the webinterface. The critical setting is Items > Per Page. In my old LMS78 setup I had this setting on 200. Running > 781nightly it took 5 seconds opening the Playlists list in Spotify with > this setting on 200. On 791nightly it is completely different with this > setting: > > 20 items: 12 seconds > 50 items: 33 seconds > 100 items: 70 seconds > 200 items: It stops working Hmm... I use the default 50 and still have never seen this kind of issues. And it's only with this one menu? Other menus would work as expected with 200 items? -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Hi Michael After the earlier attempt today doing another 781nightly->791nightly update without much success, I have now tried another clean install of the latest 791nightly. I won't say it's a big success, but a couple of interesting observations are made. And I actually (kind of) solves the problem of not being able to open submenus in Spotify via the webinterface... The process: Stop previously installed LMS791nightly on NAS. Uninstall LMS including removal of existing configuration and data. Reboot NAS and do a clean install of 791nightly (7.9.1 - 1490335303 @ Fri Mar 24 06:09:34 UTC 2017). After initial setup (connection to MySB account, etc), let the triggered full scan complete: 22379 A lot faster than earlier today when I updated my existing LMS. But it seems mostly to be because of extra scans by Music and Artist Information plugin in my old setup. System log at this point: Code: 2017-03-25 16:14:02 squeezeboxserver_safe started. [17-03-25 16:14:07.1513] main::init (388) Starting Logitech Media Server (v7.9.1, 1490335303, Fri Mar 24 06:09:34 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-25 16:14:10.5947] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table [17-03-25 16:14:10.7797] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! [17-03-25 16:14:12.4658] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table [17-03-25 16:14:12.6265] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! [17-03-25 16:14:14.0135] main::checkDataSource () Warning: Schema updated or no media found in the database, initiating scan. [17-03-25 16:16:39.7404] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table [17-03-25 16:16:40.1592] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! I also notice, that the -scan log- does NOT contain the same warnings regarding garbage after JSON object as it did earlier today when scanning on the updated setup. The scan log looks good. Now testing Spotify before doing any more configuration . Via webinterface: Spotify Playlists list can open, but like on last weekends clean install, it takes almost 35 seconds to do so. But it plays fine. Via apps (Orange Squeeze and Squeeze Control): The Playlists list opens fast and tracks plays fine too. Via touchscreen on SBTouch: The Playlists list opens fast and tracks plays fine too. So at this point only the very slow opening of the Playlists list when using the webinterface, seems to be a problem with Spotify. No new log statements at this point. Now my plan was to quickly do all configurations up to the point where I gave up last weekend. This time just omitting all the checks and reboots on the way. But I quickly notice LMS wont make it easy for me to set the Media Library Name on the "Basic Settings" tab. And instead of starting a rescan after trying to define the name of my library (as a prompt says it does) it looks like LMS restarts itself? It takes long time before the webinterface responds again after each attempt. After two apparently failed attempts to set the name, I try rebooting NAS first. Once again I try setting name of library, and after (another) long wait I decide to start a rescan manually. New log entries at this point (before manually starting another rescan) shows that LMS died unexpectedly 3 times: Code: [17-03-25 17:16:41.1519] Slim::Utils::Misc::msg (1244) Warning: [17:16:41.1510] Argument "" isn't numeric in numeric gt (>) at /usr/share/perl5/Slim/Plugin/AudioScrobbler/HTML/EN/plugins/AudioScrobbler/settings/basic.html line 6. 2017-03-25 17:23:54 Logitech Media Server died. Restarting. [17-03-25 17:23:59.1037] main::init (388) Starting Logitech Media Server (v7.9.1, 1490335303, Fri Mar 24 06:09:34 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi 2017-03-25 17:32:28 Logitech Media Server died. Restarting. [17-03-25 17:32:34.0620] main::init (388) Starting Logitech Media Server (v7.9.1, 1490335303, Fri Mar 24 06:09:34 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi 2017-03-25 17:35:31 squeezeboxserver_safe stopped. 2017-03-25 17:36:38 squeezeboxserver_safe started. [17-03-25 17:36:45.1596] main::init (388) Starting Logitech Media Server (v7.9.1, 1490335303, Fri Mar 24 06:09:34 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi 2017-03-25 17:46:27 Logitech Media Server died. Restarting. [17-03-25 17:46:32.3311] main::init (388) Starting Logitech Media Server (v7.9.1, 1490335303, Fri Mar 24 06: To be sure, now doing a complete Clear library and rescan all - and reboots the NAS... Checking Media Library Name. This time the na
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Hi again I have now tried to upgrade to latest 791nightly build (7.9.1 - 1490335303 @ Fri Mar 24 06:09:34 UTC 2017) on top of 781nightly. "Activity log": Stop 781nightly on NAS. Reboot NAS. Install 791nightly. Let the triggered full scan complete: 22374 Final stats: Total Images: 0 Total Videos: 0 Total Tracks: 13,479 Total Albums: 1,298 Total Artists: 1,541 Total Genres: 58 Total Playing Time: 954:54:42 Nice clean system log so far: Code: [17-03-25 08:27:02.9379] main::init (388) Starting Logitech Media Server (v7.9.1, 1490335303, Fri Mar 24 06:09:34 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-25 08:27:10.8312] main::checkDataSource () Warning: Schema updated or no media found in the database, initiating scan. But scan log got approx. 280 identical lines of: Code: [17-03-25 09:46:48.6133] Plugins::MusicArtistInfo::Common::__ANON__ (107) garbage after JSON object, at character offset 4 (before "read timeout\n") at /c/.squeezeboxserver/cache/InstalledPlugins/Plugins/MusicArtistInfo/Common.pm line 100. Meta-data issues in my collection of flac/mp3 files? (Meta updated/edited mostly by various versions of Mp3tag or dBpoweramp). Collection looks correctly indexed though. So doesnt seem to be a serious problem. In the following I'm using web-frontend to control unless otherwise mentioned. All playing via my SBTouch devices. 10:25 Play track from local music collection. Ok. 10:30 Open Spotify 10:32 Try to open Playlists in Spotify. Doesnt open. LMS stalls (In another browser tab the system log is also hanging trying to update itself). 10:37 Close the browser tab thats trying to open the Playlists list in Spotify 10:38:50 Tab with system log finally stops hanging and updates itself. A couple of new lines added to log: Code: [17-03-25 10:34:23.1892] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 134. ; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0xcbf34d0) [17-03-25 10:36:38.1512] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::processHTTP: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 134. ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xada6e04) [17-03-25 10:38:55.1792] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::processHTTP: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 134. ; fh=Slim::Web::HTTP::ClientConn=GLOB(0xcbf32f0) 10:51 Open Spotify and Spotify Playlists on my tablet (Orange Squeeze connected to LMS). Playlists opens quickly (2 secs?). 10:52:30 Try to play Spotify track from Orange Squeeze. Doesnt play. Error in log: Code: [17-03-25 10:52:37.7762] Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 Spotify error, code 6: Spotify login failed: Bad username and/or password 11:03 Try playing track again on Spotify started with Orange Squeeze. This time it plays immediately. It could be simply the wait&retry fixing it. Or it could be because I disabled synchronization of my two SBTouch devices in the meantime. Also tries Squeeze Control Windows 10 app on my PC. It works just as fast & well as Orange Squeeze does on my tablet. Switch SBTouch devices to MySB.com (one device asks for login, the other does not need it) and back on LMS. Restart NAS/LMS. Enable synchronization of my SBTouch devices again. Verify Spotify on Orange Squeeze (tablet) and Squeeze Control (PC). Both open Playlists fast, but again fails playing: Code: 2017-03-25 11:22:23 squeezeboxserver_safe stopped. 2017-03-25 11:23:30 squeezeboxserver_safe started. [17-03-25 11:23:36.6567] main::init (388) Starting Logitech Media Server (v7.9.1, 1490335303, Fri Mar 24 06:09:34 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-25 11:29:33.4925] Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 Spotify error, code 6: Spotify login failed: Bad username and/or password [17-03-25 11:31:14.4401] Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 Spotify error, code 6: Spotify login failed: Bad username and/or password Again does the switching to MySB and back to LMS. And again one of the devices needs me to enter credentials. Tries playing track on Spotify via Orange Squeeze. It fails: Code: [17
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Stig Nygaard wrote: > Cool. I will. I does require some time and energy to do so, even though > I'm beginning to have the practice of installing and setting up:-) So it > might not be today or tomorrow. But I will try to find time in the > weekend if not before... > > Thanks for continuous effort :-) On the other hand if I just try installing on top of 781 it shouldn't take long. But there's always the risk that I feel the need to revert to a clean 781 install afterwards. So maybe sooner - maybe in weekend :-) ... */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 03:15:27 UTC 2017 on ReadyNAS Ultra 2. *Controllers/players:* 2x Squeezebox Touch, Squeezebox Classic, 2x OrangeSqueeze, SqueezePlayer You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > Stig, > > could you please re-try the very latest 7.9.1 nightly build? I > identified an issue with the LMS login which _could_ _potentially_ lead > to the problem you're seeing. > > Michael Cool. I will. I does require some time and energy to do so, even though I'm beginning to have the practice of installing and setting up:-) So it might not be today or tomorrow. But I will try to find time in the weekend if not before... Thanks for continuous effort :-) */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 03:15:27 UTC 2017 on ReadyNAS Ultra 2. *Controllers/players:* 2x Squeezebox Touch, Squeezebox Classic, 2x OrangeSqueeze, SqueezePlayer You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Stig, could you please re-try the very latest 7.9.1 nightly build? I identified an issue with the LMS login which _could_ _potentially_ lead to the problem you're seeing. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
But could it eventually be that it really ain't available and never has been, and that LMS79x doesn't handle/reports this correctly? I remember seeing more than a handful of SSL-check/handle related checkins on the 79 branch... 7.9 should still report the problem iirc. Did you ever install anything on your ReadyNAS using apt? You'd have to install libio-socket-ssl-perl... -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
On IO::Socket::SSL errors and possible install of it... Stig Nygaard wrote: > > Sorry, I have no idea of how to do that or if it is even possible? > > Even though I am an IT Developer and an it-nerd, I have never tried to > become a superuser on Linux/NAS platforms, and have no intention to be. > I rather just be a dumb normal enduser on these and use my IT-nerdness > elsewhere... And that should be a clear proof that I haven't done any > IO::Socket::SSL installations myself earlier :-) > > I have done a search trying to find out if it was possible to update the > Perl-version, but that is apparently not something you just do: > https://community.netgear.com/t5/Legacy-NETGEAR-and-Partners-Add/ReadyNAS-Ultra-Perl-upgrade/td-p/1208079 I don't remember for sure, but I think I saw these errors on my old LMS781 installations even before I started my attempts to update to LMS79x. But eventually I could try to re-install latest NAS firmware to see if something has mysteriously disappeared and could be re-installed that way. It could probably not do any harm. But could it eventually be that it really ain't available and never has been, and that LMS79x doesn't handle/reports this correctly? I remember seeing more than a handful of SSL-check/handle related checkins on the 79 branch... */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 03:15:27 UTC 2017 on ReadyNAS Ultra 2. *Controllers/players:* 2x Squeezebox Touch, Squeezebox Classic, 2x OrangeSqueeze, SqueezePlayer You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > > Is there any way I can set username/password in LMS' Spotify plugin? > As > > Oops... sorry, my fault: that's actually the username/password from > mysb.com... But still, they seem to be wrong, too. Don't know why this > would lock up the browsing, though. > If they were wrong it should fail all the time? But it was working most of the time, and it is also working now via LMS781. Nothing is changed on MySB.com since I verified/reentered credentials when installing the 79RC (the very first install in previous thread). Maybe it was actually a problem communicating with MySB.com? mherger wrote: > > > Both logs are from "clean installs" of LMS791 and LMS781 nightlies, > > Please try to install IO::Socket::SSL anyway. > Sorry, I have no idea of how to do that or if it is even possible? But that should be a clear proof that I haven't done anything like that earlier :-) */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 03:15:27 UTC 2017 on ReadyNAS Ultra 2. *Controllers/players:* 2x Squeezebox Touch, Squeezebox Classic, 2x OrangeSqueeze, SqueezePlayer You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 Spotify error, code 6: Spotify login failed: Bad username and/or password It says "bad username/password". Did you double/tripple check this (in the plugin settings, not mysb.com)? Is there any way I can set username/password in LMS' Spotify plugin? As Oops... sorry, my fault: that's actually the username/password from mysb.com... But still, they seem to be wrong, too. Don't know why this would lock up the browsing, though. Both logs are from "clean installs" of LMS791 and LMS781 nightlies, meaning I uninstalled previous LMS-version installed on NAS first, including confirming to delete all data/preferences from the LMS installations I was uninstalling. Also think I always did a reboot before starting the new installations. I have not installed any PERL/SSL things myself at any point. Haven't touched anything on the NAS but the LMS installations. Please try to install IO::Socket::SSL anyway. -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
mherger wrote: > > man, that's too much information in one go :-). > Yeah, sorry for the information overload. And get some sleep/spare-time (As far as I know you are in Europe, so this shouldn't be work hours - even if LMS78/79 is partly hobby?). mherger wrote: > > > [17-03-19 18:00:51.2973] > Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 > Spotify error, code 6: Spotify login failed: Bad username and/or > password > > It says "bad username/password". Did you double/tripple check this (in > the plugin settings, not mysb.com)? > Is there any way I can set username/password in LMS' Spotify plugin? As far as I can see it just connects to mysb.com and the Spotify account configured there? Anyway, the error seemed periodic most of the time... Except when I installed the 791nightly on top of 79RC it seemed permanent. But maybe I was just impatient there. mherger wrote: > > This one otoh is odd (as you noticed yourself): > > > [17-03-19 20:23:04.1586] Slim::Utils::Misc::msg (1311) Warning: > [20:23:04.1578] Async::HTTP: Unable to load IO::Socket::SSL, will try > connecting to SSL servers in non-SSL mode > > I only see it in the 7.8 log file, but not the 7.9. Did you install it > somewhere in between? Or restore the system to before its installation? > 7.9 should log the same if it was missing.g > Both logs are from "clean installs" of LMS791 and LMS781 nightlies, meaning I uninstalled previous LMS-version installed on NAS first, including confirming to delete all data/preferences from the LMS installations I was uninstalling. Also think I always did a reboot before starting the new installations. I have not installed any PERL/SSL things myself at any point. Haven't touched anything on the NAS but the LMS installations. Btw, on 791 I also noticed a lot of "Trying to commit transactions before DB is initialized" warnings in beginning of the installation. Is that ok? mherger wrote: > > I've put a copy of the last build here: > > http://downloads.slimdevices.com/LogitechMediaServer_v7.8.1_unreleased/ > thumbs up, and... Sleep well :-) */Stig* 'http://www.*rockland*.dk' (http://www.rockland.dk) - 'http://www.*last.fm*/user/rockland' (http://www.last.fm/user/rockland) - 'http://www.*discogs*.com/user/StigNygaard' (http://www.discogs.com/user/StigNygaard) - 'https://*plus.google*.com/+StigNygaard' (https://plus.google.com/+StigNygaard) *Server:* LMS 7.8.1 - 1483428886 @ Tue Jan 17 03:15:27 UTC 2017 on ReadyNAS Ultra 2. *Controllers/players:* 2x Squeezebox Touch, Squeezebox Classic, 2x OrangeSqueeze, SqueezePlayer You might like to try my *'Art Grabr' (https://greasyfork.org/en/scripts/20771-stig-s-art-grabr)* for fetching big *cover-art* from various sites - or *'Album Linkr' (https://greasyfork.org/en/scripts/21153-stig-s-last-fm-album-linkr)* for a better *last.fm* desktop experience... Stig Nygaard's Profile: http://forums.slimdevices.com/member.php?userid=4236 View this thread: http://forums.slimdevices.com/showthread.php?t=107155 ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
Styg, man, that's too much information in one go :-). [17-03-19 18:00:51.2973] Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 Spotify error, code 6: Spotify login failed: Bad username and/or password It says "bad username/password". Did you double/tripple check this (in the plugin settings, not mysb.com)? This one otoh is odd (as you noticed yourself): > [17-03-19 20:23:04.1586] Slim::Utils::Misc::msg (1311) Warning: [20:23:04.1578] Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL servers in non-SSL mode I only see it in the 7.8 log file, but not the 7.9. Did you install it somewhere in between? Or restore the system to before its installation? 7.9 should log the same if it was missing.g > Michael, I have noticed you have removed LMS781 nightlies from > http://downloads.slimdevices.com/nightly/?ver=7.8? Maybe a bit too early > to do so? Luckily I still had a version from January which I could > install... I've put a copy of the last build here: http://downloads.slimdevices.com/LogitechMediaServer_v7.8.1_unreleased/ -- Michael ___ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
REVERTING TO LMS7_8_1NIGHTLY So I uninstall my LMS completely again, and do a clean install of a LMS781nightly instead. Setup of this is almost complete now, including adding a handful extra plugins (I just miss re-entering my list of favorite radiostations and podcasts). Below follows complete server log for this LMS781 install process. LMS781 nightly now runs stable and well (again) on my NAS. Opening the Playlists menu in Spotify takes 5 seconds via webinterface now. The log shows some SSL issues, but not the same errors as when trying to install (or run) LMS79x Theres still a couple of error lines from when I try to play my beloved KCRW Eclectic24 station, but I have concluded it is the station that has changed its setup, and my link which needs an update. LMS7_8_1NIGHTLY SERVER LOG FROM INSTALL PROCESS Code: 2017-03-19 19:56:51 squeezeboxserver_safe started. [17-03-19 19:56:56.2598] main::init (368) Starting Logitech Media Server (v7.8.1, 1483428886, Tue Jan 17 03:15:27 UTC 2017) perl 5.008008 [17-03-19 19:56:58.3262] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table [17-03-19 19:56:58.4821] Slim::Schema::init (162) Warning: Creating new database - empty, outdated or invalid database found [17-03-19 19:57:01.0884] main::checkDataSource (1089) Warning: Schema updated or no media found in the database, initiating scan. [17-03-19 19:59:27.9058] Slim::Utils::Misc::msg (1311) Warning: [19:59:27.9049] Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL servers in non-SSL mode [17-03-19 20:00:00.5963] Slim::Utils::Scanner::Remote::__ANON__ (240) Error: Can't connect to remote server to retrieve playlist for, http://sc7.iad.llnw.net/stream/kcrw_aac_music: 404 File Not Found. [17-03-19 20:00:01.6031] Slim::Utils::Scanner::Remote::__ANON__ (240) Error: Can't connect to remote server to retrieve playlist for, http://sc7.iad.llnw.net/stream/kcrw_music: 404 File Not Found. [17-03-19 20:00:14.3213] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table 2017-03-19 20:21:43 squeezeboxserver_safe stopped. 2017-03-19 20:22:50 squeezeboxserver_safe started. [17-03-19 20:22:57.2779] main::init (368) Starting Logitech Media Server (v7.8.1, 1483428886, Tue Jan 17 03:15:27 UTC 2017) perl 5.008008 [17-03-19 20:23:04.1586] Slim::Utils::Misc::msg (1311) Warning: [20:23:04.1578] Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL servers in non-SSL mode [17-03-19 20:25:22.9558] Slim::Utils::Misc::msg (1311) Warning: [20:25:22.9551] Argument "" isn't numeric in numeric gt (>) at /usr/share/perl5/Slim/Plugin/AudioScrobbler/HTML/EN/plugins/AudioScrobbler/settings/basic.html line 6. [17-03-19 20:47:56.0491] Slim::Utils::Scanner::Local::rescan (174) Discovering audio files in [17-03-19 20:47:56.9818] Slim::Utils::Scanner::Local::__ANON__ (271) Removing deleted audio files (0) [17-03-19 20:47:56.9826] Slim::Utils::Scanner::Local::__ANON__ (349) Scanning new audio files (0) [17-03-19 20:47:56.9833] Slim::Utils::Scanner::Local::__ANON__ (427) Rescanning changed audio files (0) [17-03-19 20:47:57.2761] Slim::Music::Artwork::updateStandaloneArtwork (204) Starting updateStandaloneArtwork for 25 albums [17-03-19 20:48:00.1434] Slim::Utils::Scanner::Local::rescan (174) Discovering audio files in [17-03-19 20:48:01.0551] Slim::Utils::Scanner::Local::__ANON__ (271) Removing deleted audio files (0) [17-03-19 20:48:01.0562] Slim::Utils::Scanner::Local::__ANON__ (349) Scanning new audio files (0) [17-03-19 20:48:01.0905] Slim::Utils::Scanner::Local::__ANON__ (427) Rescanning changed audio files (0) [17-03-19 20:48:01.3834] Slim::Music::Artwork::updateStandaloneArtwork (204) Starting updateStandaloneArtwork for 25 albums [17-03-19 20:48:05.5270] Slim::Music::Artwork::__ANON__ (302) updateStandaloneArtwork finished in 8.24930381774902 [17-03-19 20:48:05.6978] Slim::Music::Artwork::precacheAllArtwork (608) Starting precacheArtwork for 23 albums [17-03-19 20:48:07.0539] Slim::Music::Artwork::__ANON__ (302) updateStandaloneArtwork finished in 5.66915416717529 [17-03-19 20:48:07.2238] Slim::Music::Artwork::precacheAllArtwork (608) Starting precacheArtwork for 23 albums [17-03-19 20:48:10.5302] Slim::Music::Artwork::__ANON__ (727) precacheArtwork finished in 4.83106398582458 [17-03-19 20:48:13.7049] Slim::Music::Artwork::__ANON__ (727) precacheArtwork finished in 6.47973203659058 [17-03-19 20:56:12.0390] main::init (368) Starting Logitech Media Server (v7.8.1, 1483428886, Tue Jan 17 03:15:27 UTC 2017) perl 5.008008 [17-03-19 20:56:19.0505] Slim::Utils::Misc::msg (1311) Warning: [20:56:19.0497] Async::HTTP: Unable to load IO::Socket::SSL, will try connecting to SSL servers in non-SSL mode [17-03-19 21:06:55.9789] main::init (368) Starting Logitech Media Server (v7.8.1, 148342
Re: [SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
LMS7_9_1NIGHTLY SERVER LOG FROM INSTALL PROCESS Code: 2017-03-19 16:53:14 squeezeboxserver_safe started. [17-03-19 16:53:19.3742] main::init (388) Starting Logitech Media Server (v7.9.1, 1489743085, Fri Mar 17 09:38:23 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-19 16:53:22.8860] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table [17-03-19 16:53:23.0487] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! [17-03-19 16:53:24.7427] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table [17-03-19 16:53:24.8956] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! [17-03-19 16:53:25.9628] main::checkDataSource () Warning: Schema updated or no media found in the database, initiating scan. [17-03-19 16:53:31.6054] Slim::Utils::Firmware::downloadAsyncError (581) Warning: Firmware: Failed to download http://update.slimdevices.com/update/firmware/7.9.1/fab4.version (404 Not Found), will try again in 10 minutes. [17-03-19 16:54:44.7912] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://sc7.iad.llnw.net/stream/kcrw_aac_music: 404 File Not Found. [17-03-19 16:54:45.7884] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://sc7.iad.llnw.net/stream/kcrw_music: 404 File Not Found. [17-03-19 16:54:59.7509] Slim::Utils::SQLiteHelper::postConnect (374) Optimizing DB because of missing or empty sqlite_stat1 table [17-03-19 16:55:00.0176] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized! [17-03-19 17:03:31.2738] Slim::Utils::Firmware::downloadAsyncError (581) Warning: Firmware: Failed to download http://update.slimdevices.com/update/firmware/7.9.1/fab4.version (404 Not Found), will try again in 20 minutes. [17-03-19 17:20:34.1138] Slim::Utils::Misc::msg (1244) Warning: [17:20:34.1131] Argument "" isn't numeric in numeric gt (>) at /usr/share/perl5/Slim/Plugin/AudioScrobbler/HTML/EN/plugins/AudioScrobbler/settings/basic.html line 6. 2017-03-19 17:27:24 Logitech Media Server died. Restarting. [17-03-19 17:27:29.3195] main::init (388) Starting Logitech Media Server (v7.9.1, 1489743085, Fri Mar 17 09:38:23 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-19 17:27:38.8100] Slim::Utils::Firmware::downloadAsyncError (581) Warning: Firmware: Failed to download http://update.slimdevices.com/update/firmware/7.9.1/fab4.version (404 Not Found), will try again in 10 minutes. 2017-03-19 17:33:25 squeezeboxserver_safe stopped. 2017-03-19 17:35:42 squeezeboxserver_safe started. [17-03-19 17:35:47.2589] main::init (388) Starting Logitech Media Server (v7.9.1, 1489743085, Fri Mar 17 09:38:23 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-19 17:35:54.6863] Slim::Utils::Firmware::downloadAsyncError (581) Warning: Firmware: Failed to download http://update.slimdevices.com/update/firmware/7.9.1/fab4.version (404 Not Found), will try again in 10 minutes. [17-03-19 17:45:54.0777] Slim::Utils::Firmware::downloadAsyncError (581) Warning: Firmware: Failed to download http://update.slimdevices.com/update/firmware/7.9.1/fab4.version (404 Not Found), will try again in 20 minutes. 2017-03-19 17:53:31 squeezeboxserver_safe stopped. 2017-03-19 17:54:38 squeezeboxserver_safe started. [17-03-19 17:54:44.7926] main::init (388) Starting Logitech Media Server (v7.9.1, 1489743085, Fri Mar 17 09:38:23 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-19 17:57:19.3307] Slim::Utils::Firmware::downloadAsyncError (581) Warning: Firmware: Failed to download http://update.slimdevices.com/update/firmware/7.9.1/fab4.version (404 Not Found), will try again in 10 minutes. [17-03-19 18:00:51.2973] Slim::Plugin::SpotifyLogi::Plugin::spds_handler (305) 00:04:20:22:73:35 Spotify error, code 6: Spotify login failed: Bad username and/or password 2017-03-19 18:07:03 squeezeboxserver_safe stopped. 2017-03-19 18:08:12 squeezeboxserver_safe started. [17-03-19 18:08:18.4186] main::init (388) Starting Logitech Media Server (v7.9.1, 1489743085, Fri Mar 17 09:38:23 UTC 2017) perl 5.008008 - i486-linux-gnu-thread-multi [17-03-19 18:15:36.0074] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://ahls.gss.dr.dk/A/A05H.stream/Playlist.m3u8: Couldn't resolve IP address for: ahls.gss.dr.dk. [17-03-19 18:16:07.2065] Slim::Utils::Scanner::Remote::__ANON__ (193) Error: Can't connect to remote server to retrieve playlist for, http://205.188.215.230:8016/: Connect timed out: . [17-03-19 18:18:03.2214] Slim::Utils::Firmware::downloadAsyncError (581) Warning: Firmware: Fail
[SlimDevices: Beta] Problems with LMS79x and Spotify on ReadyNAS Ultra 2 [1/3]
This is a continuation of posts from the '\"7.9.0 release candidates - please test!\"' (http://forums.slimdevices.com/showthread.php?107078-7-9-0-release-candidates-please-test%21) thread. -Short resume:- The Spotify Playlists menu and other submenus in Spotify wont open when I use LMS webinterface for Spotify. LMS hangs for several minutes when I tries, and selected submenu never opens. It works a bit better when controlling LMS/Spotify via apps. I can open the menus in Spotify, but occasionally I get username/password errors when trying to play a track. After the first attempt of getting LMS79RC to work on my NAS (as discussed in above linked thread), I have during this Sunday made -3 further attempts- to install a working version of LMS79x on my ReadyNAS Ultra. In the end I end up installing a nightly version of the older LMS781 again, but meanwhile I have taken some notes that might be helpful I hope First I tried installing a 791nightly on top of the previously installed 79RC to see if it would solve my problems. Unfortunately my problems opening my Spotify Playlists menu via LMS webinterface not only continued, but things got worse since Spotify now wouldnt play at all. Not either when controlled via apps or SBTouch touchscreen. Still different errors when using webinterface ("illegal file descriptor or filehandle" errors when trying to open Playlists or other submenus in Spotify) vs. "alternative controllers" (userid/password errors when trying to play a track). But now neither way could be used for Spotify. So next I completely uninstalled LMS from my NAS and started a clean install of latest 791nightly while sporadically checking status of my setup during the process. When the point arrived where I couldnt open the Spotify Playlists menu anymore, I tried to backtrack to the setup where it was slow but still somehow working. But unsuccessfully. So In yet another attempt, I again made a complete uninstall of LMS from my NAS and started a new completely clean installation of LMS791nightly. This time taking it in -very small steps- and keeping a log of my actions. Below follows first the log of my actions and next the complete LMS server log from the same process. LMS791NIGHTLY CLEAN INSTALL ACTIVITY LOG Clean install of latest LMS 9.7.1 nightly. Initial setup steps including connecting the LMS to my mysb.com account, and see the setup work by starting streaming a radiostation. Check Spotify Playlist opening Very slow but opens OK (Didn't time it, but 1/2 minute seems likely). Configure the Last.fm Audioscrobbler plugin and setting Media Library Name in Basic Settings. Long wait here where LMS is not responding (while rescanning because of change on Basic Settings page?). After some time the radio station I was playing also stops. Browser reports unable to connect to LMS. But after further waiting LMS starts responding again Rebooting NAS/LMS. Check Spotify Playlist opening Slow but OK (approx. 35 seconds to open). Play track on Spotify OK Setting up on Player settings page, including putting my 2x SBTouch in Sync mode and enabling Smart Gain. Reboot NAS/LMS. Reboot Touch devices. Restart browser. Check Spotify Playlist opening Slow but OK (approx. 35 seconds to open). Play track on Spotify Fails playing at first. Log says Spotify login failed: Bad username and/or password ??? Waits a few seconds and tries again. Now working OK. Setting LMS password protection up in Advanced>Security. Restarting browser and NAS/LMS. Check Spotify Playlist opening Slow but OK (approx. 35 seconds to open). Play track on Spotify: LMS browser UI says playing players also in LMS player dropdown, but Touch devices do not play or show Now Playing screen. Stops the playing, clear the LMS playlist and tries to start same Spotify playlist. Still silence though LMS shows it playing. Nothing in the log. Go to Touch devices. Switch to MySB and back to my local LMS. Prompted for LMS login/password which I enter. Check Spotify Playlist opening Slow but OK (approx. 35 seconds to open). Play track on Spotify OK. Reboots NAS/LMS. Check Spotify Playlist opening Slow but OK (approx. 35 seconds to open). Play track on Spotify OK. Setting up My Music: Treat TPE2 as Album Artist and set New Music Limit to 500. Allows the triggered rescan to complete. Restart NAS/LMS. Verifying LMS control via Orange Squeeze on my Android tablet and via Squeeze Control Win10 app on same PC as I use the webinterface from. Both apps not only works with Spotify, they are very fast and responsive! Spotify playlists opens almost instantly! I dont remember the webinterface being slow when using Spotify on the older LMS 781 nightlies, so Im a bit frustrated the webinterface isnt up to the same speed as the apps. It confirms an unhealty feel I have had about this LMS791 installation right from the start, even though hard errors have been few so far. Trying to control Spotify via SBTouch t