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.

Perhaps the pCP team can come up with a way to make it more efficient
(e.g. store result in a file and recreate the file if user choose to
move cache via pCP menu).

While you wait, you could edit LMS.cgi and make it always set
DISABLECACHE to "".



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 playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

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

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-11-19 Thread Viragored


Viragored wrote: 
> Yup - weird alright. I chose 8.0.0 when 8.2.0 wouldn't play nicely
> because that's what's running on my Pi Zero W that serves music over BT
> to my Sony headphones. And that's been rock solid 24/7*365 (apart from a
> little hiccup that turned out to be nothing to do with pCP or LMS). 
> My PC downloaded the target file with no problem at the same time the Pi
> was failing.
> Anyway 8.0.0 is doing fine for me at the mo.

Just an update from an issue that arose a couple of weeks back -
https://forums.slimdevices.com/showthread.php?114828-Announce-piCorePlayer-8-0-0=1063624=1#post1063624


Today I needed to recover from a dead SD card in a Pi 3B (damn those
local 2-second power cuts) I downloaded a fresh image of pCP 8.2.0
onto a 32GB card, and with the Pi on ethernet went through the steps
before installing LMS. Same result as before - "There was a error
downloading slimserver.tcz"
So I downloaded a fresh image of 8.1.0 and all went as it should,
slimserver.tcz just downloaded and that's now got my music player
running once more.

Weird, eh?



Digital: Raspberry Pi 3B; piCorePlayer 8 + LMS 8; HifiBerry DAC+DSP >
Yamaha RX-V2700 > Jamo speakers
Analogue: HifiBerry DAC+DSP > Speakercraft MZC-66 > whole house 
Library: External USB drive
Android: Squeezer app

Viragored's Profile: http://forums.slimdevices.com/member.php?userid=32954
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


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

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


Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion

2022-11-19 Thread Plush


I am using Bluetooth in Player mode. Streaming audio works from all my
devices, but volume control does not: I can control the volume when
playing music from an Android phone, but when using a Mac as the source,
the Mac's volume setting is ignored. I experimented a bit and found that
this is because bluetoothd was started without the --plugin=a2dp flag.
By default, it is started as /usr/local/lib/bluetooth/bluetoothd
--experimental. When I kill it and restart it as
/usr/local/lib/bluetooth/bluetoothd --experimental --plugin=a2dp, volume
control works with all my devices.

I cannot find the sources for this part of piCorePlayer anywhere, so I
can't make a patch and I am not sure how to make my fix persistent. For
now, I SSH in after every boot and restart bluetoothd with the correct
flags. It would be nice if this fix would be upstreamed.



Plush's Profile: http://forums.slimdevices.com/member.php?userid=73168
View this thread: http://forums.slimdevices.com/showthread.php?t=114834

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


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2022-11-19 Thread Joschi75


HarryPotter wrote: 
> Yes, its all set to German. The web interface is displayed in German as
> well.
> 
> The screensaver date is displayed like this: 
> 
> Tuesday, 22. December 2020 
> 
> I can change the format of the date display on the screensaver. But If I
> change the language , its changed everywhere, but not on the screensaver
> date, that one stays English.

Was facing a similar issue recently, Logitechmediaserver language set to
German and working fine (using the "official" community image
lmscommunity/logitechmediaserver)
But screensaver of my Squeezebox Classic showing the date in english
format ("Tuesday", and not "Dienstag") while in screensaver mode

Reason: the screensaver does not derive its format from the language
selected within Logitechmediaserver, but from the locale used on the
underlying Linux system

My solution: 
Use of the custom-init.sh script functionality the official docker
container does luckily provide + change of two language related
environment variables in docker compose
This will generate German locale on Linux level at start of container,
and set it as default locale
Afterwards the screensaver will show the date in German format as
expected :)

Docker compose:

Code:


  environment:
  - LANGUAGE=de_DE.UTF-8
  - LANG=de_DE.UTF-8
  



custom-init.sh, to be placed into the root folder of the /config
directory

Code:


  #!/bin/sh
  apt-get update -qq
  apt-get install --no-install-recommends -qy locales
  sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
  sed -i -e 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/' /etc/locale.gen
  echo 'LANG="de_DE.UTF-8"'>/etc/default/locale
  dpkg-reconfigure --frontend=noninteractive locales
  update-locale LANG=de_DE.UTF-8
  




Joschi75's Profile: http://forums.slimdevices.com/member.php?userid=40093
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-11-19 Thread mr-b


Tx for that. I should have mentioned that this is a RPi 4B/4GB and LMS
has 100k tracks and Database Memory Config = max.
Will keep an eye on it, but have had no issues before.



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion

2022-11-19 Thread paul-


Codec can only be set for the encoding to a Bluetooth speaker.   The
phone is going to dictate the codec.



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 like
the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=114834

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-11-19 Thread paul-


Just reboot,  if you continue to see memory issues. You may need to turn
down the memory usage setting in LMS, or turn on a swap file.



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 like
the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-11-19 Thread mr-b


Hi

LMS on my PCP seems to be unresponsive both from players and the PCP LMS
UI page just hangs.
The main PCP admin pages are fine though.

Diagnostics shows quite  few of these (though my music lib server is
working and accessible via CIFS from another machine):

[5433590.068175] CIFS: VFS: \\192.168.1.3 has not responded in 180
seconds. Reconnecting...
[5433961.911655] CIFS: VFS: \\192.168.1.3 has not responded in 180
seconds. Reconnecting...
[5434335.035200] CIFS: VFS: \\192.168.1.3 has not responded in 180
seconds. Reconnecting...
[5434543.403947] TCP: out of memory -- consider tuning tcp_mem
[5434543.404859] TCP: out of memory -- consider tuning tcp_mem
[5434543.414137] TCP: out of memory -- consider tuning tcp_mem
[5434543.420116] TCP: out of memory -- consider tuning tcp_mem
[5434543.429620] TCP: out of memory -- consider tuning tcp_mem
[5434543.453499] TCP: out of memory -- consider tuning tcp_mem
[5434556.027709] usb 1-1.1: cannot get ctl value: req = 0x81, wValue =
0x100, wIndex = 0xa00, type = 1
[5434556.040343] usb 1-1.1: cannot get ctl value: req = 0x81, wValue =
0x100, wIndex = 0xa00, type = 1
[5434556.289103] TCP: out of memory -- consider tuning tcp_mem
[5434556.654969] usb 1-1.1: cannot get ctl value: req = 0x81, wValue =
0x100, wIndex = 0xa00, type = 1
[5434556.668279] usb 1-1.1: cannot get ctl value: req = 0x81, wValue =
0x100, wIndex = 0xa00, type = 1
[5434811.026638] TCP: out of memory -- consider tuning tcp_mem
[5434813.373934] usb 1-1.1: cannot get ctl value: req = 0x81, wValue =
0x100, wIndex = 0xa00, type = 1
[5434813.386070] usb 1-1.1: cannot get ctl value: req = 0x81, wValue =
0x100, wIndex = 0xa00, type = 1

Before I try rebooting PCP and losing the info is there anything else
amiss?



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion

2022-11-19 Thread godzini...@gmail.com


paul- wrote: 
> Yes it should work.   But using LMS, shairport and Bluetooth are likely
> going to cause conflicts.

Would you be so kind and help me what the setup should be, please?

On the pcp only squeezelite and shairport are running. BT would be the
third option. Or Chromecast, but as far as I know it is hard to achieve
(getting it to work).

Here is my current configuration:
https://photos.app.goo.gl/gyWHc8bU6mWrpDrb6

Be advise that:
- I am currently using the USB dac, which is set under *Squeezelite
settings/Output setting* as *hw:CARD=Audio,DEV=0*. The *Audio output
device settings* is set to *None* because I did not find the correct
option to use just any usb connected device,
- I can't set the BT to be always discoverable - the Save button is not
available for this option,
- device connected to pcp is my phone, Samsung A52S - I can not set the
codec option for it on the phone and pcp too - option is not available
to choose.

Thank you!



godzini...@gmail.com's Profile: 
http://forums.slimdevices.com/member.php?userid=72522
View this thread: http://forums.slimdevices.com/showthread.php?t=114834

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-11-19 Thread themicksa


Man in a van wrote: 
> I would 
> 
> a) Connect with Ethernet and enter the required wifi details either
> before you go to the flat or when you are at the flat, whichever is
> easier.
> 
> b) Burn a copy of a working configuration to another SD card and check
> that it works, take it with you as insurance and if all goes well, leave
> it at the flat as a backup, or make a copy at the flat and check before
> you leave. Remember a SD card reader :)
> 
> ronnie

Sounds good. I look forward to giving it a whirl tomorrow. Thanks for
the advice.



themicksa's Profile: http://forums.slimdevices.com/member.php?userid=40582
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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