Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-22 Thread MAAC
NAs Wakeup is somewhat fast. Say 30s or so. The output doesn't lag but takes some time to read the entire NAS. The NAS is also old QNAP TS412 with non-upgradeable 256Mb memory, Marvell 1.5 Mhz Processor and 4x2TB disks.

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-20 Thread paul-
If the drive is not asleep, there should not be large delay. How long does it take for LMS to do an audio scan of the drive? piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://picoreplayer.org/index.html#donate) if you

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-19 Thread Paul Webster
MAAC wrote: > Why is it scanning the NAS? There is a button on the LMS page that allows the user to remove the LMS cache plus there is functionality to ask if cache should be preserved when LMS is being removed. Those items change behaviour depending on whether or not LMS cache is found.

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-19 Thread MAAC
The cache is on Sd card on the RPI and not on the NAS. MAAC's Profile: http://forums.slimdevices.com/member.php?userid=73036 View this thread: http://forums.slimdevices.com/showthread.php?t=116837

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-18 Thread paul-
ItÂ’s not searching the whole drive. Max depth limits the search. And the path in LMS prefs is not the actual path, as there are symlinks that make the connection. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-18 Thread MAAC
Did run the command in Putty and it took 5 or 6 minutes. Why is the script searching for the cache through the entire library if the cache is defined in the LMS configuration? You only have to follow the configured path and check if the file is there or not.

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-18 Thread Paul Webster
MAAC wrote: > How do I run the command ? > Via command line ? Details provided in earlier reply from pCP team member https://forums.slimdevices.com/showthread.php?116837-PCP-8-2-0-on-Pi4-very-slow-access-to-LMS-tab=1065730=1#post1065730 Paul Webster author of \"now playing\" plugins

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-18 Thread Michael Herger
How do I run the command ? Via command line ? You'd have to use something like Putty to connect over SSH to the device. Then run the command on the shell there. I don't think there's a way to run a command through the web UI. ___ unix mailing list

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-18 Thread MAAC
How do I run the command ? Via command line ? MAAC's Profile: http://forums.slimdevices.com/member.php?userid=73036 View this thread: http://forums.slimdevices.com/showthread.php?t=116837

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-17 Thread Michael Herger
No m3u.txt jpg or other files except a few albums with Pdfs with Kids Albums lyrics. No playlists either. So, no more than 3 directories depth Please try to run the command provided. The three levels are down from the pCP's point of view. ___ unix

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-17 Thread MAAC
My music is organized like this: Root\Tagged files\Index Letter A,B,C ...Z Root\Untagged Files\Few Index letters Inside Index Letter Artist - Album\01 - Title (single artists) Album\Artist - Title (compilations) No m3u.txt jpg or other files except a few albums with Pdfs with Kids Albums

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-17 Thread Greg Erskine
mherger wrote: > Skimming lms.cgi (takes 5s+ here) I'm seeing this candidate: > > > Code: > > # logic to activate/inactivate buttons depending upon whether LMS cache is present or not > TMP=$(find /mnt -type d -maxdepth 3 | grep slimserver/Cache) >

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-17 Thread MAAC
Would like to try but my problem is I'm a Windows user, and don't know nothing about Linux scripts. When I try to change files I get those permission messages errors. MAAC's Profile:

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-17 Thread Paul Webster
Why not try a a change to that file and see if it speeds things up for you? Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc australia and cbc/radio-canada and, via the extra \"radio now

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-17 Thread MAAC
... but the cache location is configured on the LMS configuration page... Script has only to read the config file not scanning all folders. That's my point of view. MAAC's Profile:

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-16 Thread Paul Webster
MAAC wrote: > > I just want to load the config page. Why the hell is LMS scanning all > folders? > Michael provided a line of code from the pCP web page provider that is called when you visit that page in pCP. I presume that pCP is trying to determine where the cache file is so that you can

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-16 Thread MAAC
Sorry I don't get it. Yes, the NAS is a bit old, but switched the RPI from WIFI to Ethernet and gained a minute or so. It takes about 7-8 min to load the config page. I just want to load the config page. Why the hell is LMS scanning all folders? Listing works fast on the LMS player interface

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-11-15 Thread mherger
Skimming lms.cgi (takes 5s+ here) I'm seeing this candidate: Code: # logic to activate/inactivate buttons depending upon whether LMS cache is present or not TMP=$(find /mnt -type d -maxdepth 3 | grep slimserver/Cache) If you've mounted a

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-24 Thread MAAC
sbp wrote: > I have seen something like that before. Please go to tweaks page and > untick the picore controls and the LMS panels. > Hit save. RPI4 8 Gb. Picoreplayer 8.2. 35 Tracks. Makes no difference...7 min for loading. I had version 8.3 installed but was same behavior.

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-24 Thread sbp
I have seen something like that before. Please go to tweaks page and untick the picore controls and the LMS panels. Hit save. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: 'https://www.picoreplayer.org' (https://www.picoreplayer.org/) Please donate if you like

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-24 Thread stereoptic
I'm running PcP LMS 8.2 server and player on an Rpi 4B attached to router through ethernet. I access the PCP page using a 2017 macbook pro on 5G wifi and Chrome browser. The pcp page opens immediately. The LMS tab took 2 seconds upon 'waking', after that clicking that tab the response was

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-24 Thread Paul Webster
You could try using the browser developer tools to trace the network activity to see if there is a request that takes a very long time to be responded to etc etc. On pCP 8 - the script that is being run is /var/www/cgi-bin/lms.cgi It does a bunch of things and then calls pcp_lms_status to see

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-23 Thread MAAC
Heuer wrote: > RPi4 with pCP running LMS 8.2.1 (server only) here and LMS page opens > immediately. On mine it does so on a fresh installation before music scanning, but then ... MAAC's Profile:

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-23 Thread Heuer
RPi4 with pCP running LMS 8.2.1 (server only) here and LMS page opens immediately. Lounge: Transporter>Audio Synthesis DAX Decade>Audio Research LS22>Krell FPB300>Wilson Benesch Act 1's + 2 x Velodyne SPL1000 sub's Kitchen: Touch>Topping DAC>Arcam Solo>Anthony Gallo Micro's+Sub, Joggler

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-23 Thread kidstypike
Paul Webster wrote: > Just to be 100% clear ... is this discussion about the tab at the very > top of the pCP screen that has a tab for each pCP player plus the LMS > tab? > Not the pCP LMS settings page that is underneath the piCorePlayer > banner. > > If yes (the tab at the top) then do you

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-23 Thread Paul Webster
Just to be 100% clear ... is this discussion about the tab at the very top of the pCP screen that has a tab for each pCP player plus the LMS tab? Not the pCP LMS settings page that is underneath the piCorePlayer banner. If yes (the tab at the top) then do you also find the LMS web interface to

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-23 Thread kidstypike
cramcram wrote: > Having similar problems. On my PI it takes around 20 seconds to load the > LMS tab. Always loads, but always has been very slow. Same here, slow to load (10-20 secs) been like this a goodish while now, 12 months? Used to be fairly instant. *Server - LMS 8.3.0 *RPi4B

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-23 Thread cramcram
Having similar problems. On my PI it takes around 20 seconds to load the LMS tab. Always loads, but always has been very slow. cramcram's Profile: http://forums.slimdevices.com/member.php?userid=22906 View this thread:

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-22 Thread Paul Webster
SSH into the RPi and take a look at the LMS logs and also use "top" to see if something is using all CPU. LMS logs can be seen via /var/log/slimserver/server.log Paul Webster author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm

Re: [SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-22 Thread MAAC
I have the same problem but mine is connected via WIFI, if that matters. I had the 8.3 version installed and the same happened. My library consists of 30+ tracks and 28000 albums if that matters. Thank You for Your attention.

[SlimDevices: Unix] PCP 8.2.0 on Pi4: very slow access to LMS tab

2022-09-22 Thread MrKettle
I have a Pi4 which runs PCP 8.2 64bit as a player/server. The Pi is connected via ethernet to an internal Wifi mesh. For the last couple of days the LMS tab on the PCP web interface is essentially unobtainable (once the header is loaded it then spins for minutes at a time before loading almost