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

2022-02-06 Thread sparkyuk


MvL_1729 wrote: 
> Question about running LMS in a container: It is working perfectly for
> me.
> I have a couple of players connected to it, and I can see the player
> information in the info screen in the settings.
> But: whenever I restart my LMS container the connected players are lost;
> their information is no longer visible, there 
> are no players to choose from in the drop-down on the main screen and 
> the players are no longer connected to the server, so I need to
> reconnect them.
> Prior to my docker setup, I was running LMS on a synology server and
> before that on Windows home server - and on both of these there was no
> need to reconnect players 
> after the service was stopped or even after the server was rebooted.
> 
> It's not a major issue, but would like to resolve this if possible. Do
> you all have the same behaviour ?
> Does anyone know where the "player state"is stored on the server, I'd
> like to map this to a persistent volume to resolve this.
> 
> One more question: what is the purpose of the /lms/custom-convert.conf
> volume ?

My players reconnect automatically - a Touch, Radio and Squeezelite -
when the container is restarted.  I'm not sure if this is a result of
data stored in the config volume or something the players do.

The customer-convert.conf is part of my experimenting with room
correction and I'm using it to provide some custom settings for sox to
apply equalization.



sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
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] HiFiBerry DAC+ DSP install dsptoolkit on PiCoreplayer

2022-02-06 Thread SeanMiddleton


paul- wrote: 
> Have you been able to install python 3.8?  And python3.8-pip?
> 
> There is an extension button from the main menu.

Many thanks, I only just saw that Extension. Now installed, so at least
I now have Python PIP  3.8. Its a good start !



SeanMiddleton's Profile: http://forums.slimdevices.com/member.php?userid=65522
View this thread: http://forums.slimdevices.com/showthread.php?t=115917

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


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

2022-02-06 Thread slartibartfast


sdiesel77 wrote: 
> Issues fixed thx, I forgot to put 0:u32be in PCP>Squeezelite
> Settings>Device supports DSD/DoP[emoji106]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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] piCorePlayer 8.0.0 - Bluetooth Discussion

2022-02-06 Thread sdiesel77


slartibartfast wrote: 
> Did you change the squeezelite settings for the player regarding DSD
> files -D?
> 
> Sent from my Pixel 3a using TapatalkIssues fixed thx, I forgot to put 0:u32be 
> in PCP>Squeezelite
Settings>Device supports DSD/DoP





sdiesel77's Profile: http://forums.slimdevices.com/member.php?userid=64065
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 - Network Timing Protocol

2022-02-06 Thread mr-b


Greg Erskine wrote: 
> thanks mr-b,
> 
> I read your recommendations.
> 
> These "things" often just end up in [Extras]. It is just a result of my
> haphazard process.
> 
> In the meantime, I fixed the typos, ready for the next release.
> 
Great tx. It's far too useful a feature to hide away under a bushel! :-)



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

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0 - Network Timing Protocol

2022-02-06 Thread Julf


Meanwhile, a tiny nit to pick - it is "Network Time Protocol", not
"Network Timing Protocol", as per RFC 958, RFC 1059, RFC119. RFC 1305
and RFC 5905...



"To try to judge the real from the false will always be hard. In this
fast-growing art of 'high fidelity' the quackery will bear a solid gilt
edge that will fool many people" - Paul W Klipsch, 1953

Julf's Profile: http://forums.slimdevices.com/member.php?userid=42050
View this thread: http://forums.slimdevices.com/showthread.php?t=115268

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0 - Network Timing Protocol

2022-02-06 Thread Greg Erskine


thanks mr-b,

I read your recommendations.

These "things" often just end up in [Extras]. It is just a result of my
haphazard process.

In the meantime, I fixed the typos, ready for the next release.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=115268

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


Re: [SlimDevices: Unix] HifiBerry Digi2 Pro

2022-02-06 Thread chatt

In the meantime I have already two more RP 4 2GB and still same issue.

And I´ve now tested with Hifiberry DAC2 Pro and it´s the same problem.

It seams to be clear that hifiberry boards don´t work with RP4.



chatt's Profile: http://forums.slimdevices.com/member.php?userid=72508
View this thread: http://forums.slimdevices.com/showthread.php?t=115381

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


Re: [SlimDevices: Unix] Unable to mount share Pcp

2022-02-06 Thread dan323


I have been back into the Nas and added in the IP address of the Pi but
no luck



dan323's Profile: http://forums.slimdevices.com/member.php?userid=71350
View this thread: http://forums.slimdevices.com/showthread.php?t=115921

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


Re: [SlimDevices: Unix] Unable to mount share Pcp

2022-02-06 Thread paul-


Are  you sure you are using NFS?

vers=1.0 is not a valid setting for NFS.   I think you were probably
using CIFS



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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=115921

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-06 Thread Aldoszx


Thanks !
I am looking forward for the update.
Best regards !



Aldoszx's Profile: http://forums.slimdevices.com/member.php?userid=69750
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-02-06 Thread paul-


I'll have to make that update.  I'm looking to do a web page update
soon.  I'll post when I do



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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-02-06 Thread Aldoszx


@paul- Thank you for your answer !

SSD is mounted as /dev/nvme0n1p1



Aldoszx's Profile: http://forums.slimdevices.com/member.php?userid=69750
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 on Fiveninjas Slice?

2022-02-06 Thread tcj


SUCCESS

Had to load the slice dtoverlay by adding "dtoverlay=slice" into
config.txt



tcj's Profile: http://forums.slimdevices.com/member.php?userid=66959
View this thread: http://forums.slimdevices.com/showthread.php?t=115887

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


Re: [SlimDevices: Unix] Unable to mount share Pcp

2022-02-06 Thread d6jg

dan323 wrote: 
> Afternoon all, 
> Previously had duo2 Nas connected to Pcp. A change of rooms and now it
> will not connect nor can I remembered how I set it up in the first
> place. When I try to mount I get the unable to mount warning come up. 
> 
> The Nas has not changed so all settings should be ok and I connected via
> NFS previously. 
> 
> Does anyone have the same setup and could share settings so I am able to
> copy ? 
> 
> Currently I am trying - 
> Mount point - Nas 
> IP - 192.168.0.34
> Share name - /media/Music
> Share type - NFS 
> Option - vers=1.0,uid=1001,gid=50
> 
> Can anyone help ? 
> 
> Thanks in advance 
> 
> Dan

Has the Pi IP changed?
You need to allow it’s IP in the NAS NFS settings.



Jim
https://jukeradio.double6.net


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

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

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

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-06 Thread paul-


If it is not in the list of mounted drives, how is the drive mounted?



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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] pCP on Fiveninjas Slice?

2022-02-06 Thread paul-


Then you need to do some investigation as to what else the card needs. 
Are there any errors anywhere when you load the driver?



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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=115887

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


Re: [SlimDevices: Unix] pCP on Fiveninjas Slice?

2022-02-06 Thread tcj


paul- wrote: 
>  See if the card is listed in the output options.
No, it isn't :mad:



tcj's Profile: http://forums.slimdevices.com/member.php?userid=66959
View this thread: http://forums.slimdevices.com/showthread.php?t=115887

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-06 Thread Aldoszx


Sorry if that was discussed lately.

I have pCp 8.1.0 installed on RPi CM4 board.
Also, I have a M.2 SSD (EXT4 partition) attached to the PCI-Express port
of CM4 official IO board.
I am trying to use it for LMS cache and music files, but I have a
problem.
First of all, The GUI button for "Fix Permissions" did nothing. I had to
SSH and manually assign mounted drive to tc:staff instead of root in
order to could write on it.
Second, I could not move LMS cache and preferences to mounted SSD
because it not appears on the list of mounted drives in GUI.

Could you please help me to solve that?
Thank you !



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


[SlimDevices: Unix] Unable to mount share Pcp

2022-02-06 Thread dan323


Afternoon all, 
Previously had duo2 Nas connected to Pcp. A change of rooms and now it
will not connect nor can I remembered how I set it up in the first
place. When I try to mount I get the unable to mount warning come up. 

The Nas has not changed so all settings should be ok and I connected via
NFS previously. 

Does anyone have the same setup and could share settings so I am able to
copy ? 

Currently I am trying - 
Mount point - Nas 
IP - 192.168.0.34
Share name - /media/Music
Share type - NFS 
Option - vers=1.0,uid=1001,gid=50

Can anyone help ? 

Thanks in advance 

Dan



dan323's Profile: http://forums.slimdevices.com/member.php?userid=71350
View this thread: http://forums.slimdevices.com/showthread.php?t=115921

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


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

2022-02-06 Thread paul-


uudruid74 wrote: 
> Android Developer Settings, at least on my phone, will let you force
> these codecs to be used.  Yeah, mine is on AAC now, likely
> auto-detected, but I can set to AptX, AptXHD, LDAC, LHDC, AptX Adaptive,
> and AptX TWS+.
> 
> Would love to be a guinea pig.
> 
> Also, any way for LMS to see the volume changes?  I tap into the
> internal command line to be notified of volume changes and then
> dynamically compute a new EQ curve so that it sounds more-or-less the
> same at all volumes (more bass and treble at low volumes, less at
> higher, much less at extreme volume, etc) and now I have to click volume
> buttons on the box (which don't work - would like to have that working
> as well) to fix the EQ if I change volume with the phone.  I was hoping
> the "Streamer" option would have done what I wanted.

When you are playing from your phone to rpi sound device, LMS is not
involved in the slightest.  And the streamer option is creating a
network streamer.   But there is no control interface to that.  Its not
different than a radio station at that point.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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] pCP on Fiveninjas Slice?

2022-02-06 Thread paul-


Just as a quirk with the way pCP works, I would set the device at the
top of the page to USB.  I know you are not using USB, but that just
tells pCP there is no overlays required.

Then go to the squeezelite page and expand the output setting.  See if
the card is listed in the output options.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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=115887

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0 - Network Timing Protocol

2022-02-06 Thread mr-b


Greg Erskine wrote: 
> Thanks.
> 
> Not often needed but its now there when required.
> 
> I use it on my LMS pCP as the time drifted a minute or two over many
> months.
> 
> I think my Duet controller time was wrong because of that??
>From various forum postings it appears there's an ever growing number of
folks using LMS on PCP and it causes real problems if the time isn't set
correctly so it'd be great to raise the profile of this feature that
improves reliability, rather than leaving it as a mysterious acronym
buried under Beta > Extras. Or even enable it by default if LMS is
enabled. That would save folks from tripping over this issue, having to
trying to diagnose what's wrong and hunting for sol'ns on here.



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

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


Re: [SlimDevices: Unix] pCP on Fiveninjas Slice?

2022-02-06 Thread tcj


ok 
added "modprobe snd_slice" to the user commands @Tweaks and now the
module is loaded



tcj's Profile: http://forums.slimdevices.com/member.php?userid=66959
View this thread: http://forums.slimdevices.com/showthread.php?t=115887

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


Re: [SlimDevices: Unix] pCP on Fiveninjas Slice?

2022-02-06 Thread tcj


- no
- no
- Could you please tell me how to do this?



tcj's Profile: http://forums.slimdevices.com/member.php?userid=66959
View this thread: http://forums.slimdevices.com/showthread.php?t=115887

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


Re: [SlimDevices: Unix] HiFiBerry DAC+ DSP install dsptoolkit on PiCoreplayer

2022-02-06 Thread paul-


Have you been able to install python 3.8?  And python3.8-pip?

There is an extension button from the main menu.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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=115917

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-06 Thread Smitty2k1


Hey everyone thanks for the feedback. For the record it was output
volume that was my issue and the other playback options didn't solve
that so I'm not worried about the rate change as I'll continue to use
HW. I did more research last night and the Apple USB-C dongle only
outputs 1V RMS so that's less than many other line output devices. I'm
going to purchase and try a similar dongle that does 2V RMS to hopefully
volume match my Chromecast.



Smitty2k1's Profile: http://forums.slimdevices.com/member.php?userid=72535
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 on Fiveninjas Slice?

2022-02-06 Thread paul-


Did the module load?  Does lsmod show it loaded?  The rpi normally uses
overlays to load modules for i2s sound devices.  The kernel cannot
detect these and automatically load drivers.  So you need to manually
load this at each boot.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
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=115887

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


Re: [SlimDevices: Unix] pCP on Fiveninjas Slice?

2022-02-06 Thread tcj


meanwhile the driver source has been updated for kernel 5.10 and I
forked it to match pCP
https://github.com/tcj-lev/slice-drivers/tree/kernel-5.10%2B

then I followed
https://github.com/piCorePlayer/pCP-Kernels
to build and install an extension

which seemed to run without any error

but at the end there is no new audio output to be chosen and no slice
sound driver module loaded

why?
what am I doing wrong?



tcj's Profile: http://forums.slimdevices.com/member.php?userid=66959
View this thread: http://forums.slimdevices.com/showthread.php?t=115887

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-06 Thread bpa


ralphy wrote: 
> I would recommend using *-o hw:CARD=A,DEV=0* for the output device, this
> way squeezelite knows the "true" capabilities of the device. ie. only
> supports 48Khz

Although in this case the iec958 seems to have the same h/w
capabilities, I think it is better practice to use "hw" to be sure no
ALSA processing.  
To help understand why the rate change in playback is happening, I think
the player.source logging is also necessary to see what processing LMS
is performing and whether it is the source of the problem (e.g. after
resampling is audio sent as Flac or PCM to player) .



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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-02-06 Thread Man in a van


ralphy wrote: 
> I would recommend using *-o hw:CARD=A,DEV=0* for the output device, this
> way squeezelite knows the "true" capabilities of the device. ie. only
> supports 48Khz
> 
> add *-u E* to the command line which configures squeezelite to resample
> all streams with sample rates that are NOT 48K.  For 48K content no
> resampling occurs.
> 
> add *-r 384000* to the command line so LMS doesn't resample any streams,
> this avoids content from being resampled twice.

Thanks Ralphy :)



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
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-02-06 Thread ralphy


I would recommend using *-o hw:CARD=A,DEV=0* for the output device, this
way squeezelite knows the "true" capabilities of the device. ie. only
supports 48Khz

add *-u E* to the command line which configures squeezelite to resample
all streams with sample rates that are NOT 48K.  For 48K content no
resampling occurs.

add *-r 384000* so LMS doesn't resample any streams to avoid content
from being resampled twice.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
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-02-06 Thread Man in a van


A comment from @Ralphy which I bookmarked sometime ago

Squeezelite setting

> When you use plughw: instead of hw:, the linux alsa subsystem will
> resample to a rate your sound card supports. I find the better option is
> to use hw: and add -u E to the Upsample settings field on the
> squeezelite tab of the picoreplayer web gui. With that squeezelite will
> only resample the audio when the sound card does not have support for
> lower or higher sample rates otherwise the audio is played untouched.
> Also, the resampler built into squeezelite does a much better job than
> the default resampler used by alsa.



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
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-02-06 Thread Man in a van


I forgot about plughw, doh!, which plays fine for me:)

37147

ronnie

looking forward to next weekends game v France


+---+
|Filename: Apple dongle plughw.txt  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37147|
+---+


Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
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-02-06 Thread bpa


Man in a van wrote: 
> And these are the other commands :)

Full marks for diligence.

The output shows there is *no* difference in capabilties between the
hw:CARD=A and the iec958:CARD=A.
If you tried with plughw:CARD=A   not usually worthwhile, as it should
show all possible capabilities as ALSA will resample / convert any
format request from an application so that it can be played on the h/w
device.

Why plughw: results in no audio whereas iec958: got slow rate might
point to an issues about the format that OP is trying to play.

Hypothesis:
If requested format was say 192kHz/32 and device was plughw. LMS would
pass audio to standard plughw and it would accept it but ALSA buffering
might be too small to start audio.
If requested format was say 192kHz/32 and device was iec958. LMS would
do some transcoding to say 48k (perhaps incorrectly) and then iec958
would be play it but with errors due to transcoding issue.

I suggest OP provides details of format of requested audio and when
playing to iec958 - log LMS transcoding if any (i.e. player.source set
to INFO for the "song")



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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-02-06 Thread bpa


Man in a van wrote: 
> 
> > 
Code:

  >   > 
  > Card 2, ID `A', name `USB-C to 3.5mm Headphone Jack A'
  > Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
  > 2 channels, sampling rate 48000..48000 Hz
  > Sample formats: S16_LE, S24_3LE
  > Buffer size range from 96 to 262144
  > Period size range from 48 to 131072
  > 

> > 
> 

This shows ALSA is reporting that card 'A' is only capable of 48kHz and
squeezelite should report this to LMS unless overriden.
I wonder whether Smitty2K1 has some parameter on the squeezelite command
line to override this info or mangle the data (e.g. resample)

@Smitty2K1  - get a better understanding of what has gone wrong - the
rate change should be measured (e.g. how long does it take in realtime
to play 30 secs of a CD quality 44.1Khz/16 bit audio)  - factor of 2
usually means channel issue, fast/slow factor of 8% usually means 44.1k
vs 48k mixup.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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-02-06 Thread Man in a van


And these are the other commands :)



Code:


  tc@pCP:~$ aplay  -v --dump-hw-params  -D hw:CARD=A,DEV=0  -f cd /dev/zero
  Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
  HW Params of device "hw:CARD=A,DEV=0":
  
  ACCESS:  MMAP_INTERLEAVED RW_INTERLEAVED
  FORMAT:  S16_LE S24_3LE
  SUBFORMAT:  STD
  SAMPLE_BITS: [16 24]
  FRAME_BITS: [32 48]
  CHANNELS: 2
  RATE: 48000
  PERIOD_TIME: [1000 2730667)
  PERIOD_SIZE: [48 131072]
  PERIOD_BYTES: [192 524288]
  PERIODS: [2 1024]
  BUFFER_TIME: [2000 5461334)
  BUFFER_SIZE: [96 262144]
  BUFFER_BYTES: [384 1048576]
  TICK_TIME: ALL
  
  Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
  please, try the plug plugin
  Hardware PCM card 2 'USB-C to 3.5mm Headphone Jack A' device 0 subdevice 0
  Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min: 6000
  period_event : 0
  start_threshold  : 24000
  stop_threshold   : 24000
  silence_threshold: 0
  silence_size : 0
  boundary : 1572864000
  appl_ptr : 0
  hw_ptr   : 0




and



Code:

tc@pCP:~$ aplay  -v --dump-hw-params  -D iec958:CARD=A,DEV=0  -f cd 
/dev/zero
  Playing raw data '/dev/zero' : Signed 16 bit Little Endian, Rate 44100 Hz, 
Stereo
  HW Params of device "iec958:CARD=A,DEV=0":
  
  ACCESS:  MMAP_INTERLEAVED RW_INTERLEAVED
  FORMAT:  S16_LE S24_3LE
  SUBFORMAT:  STD
  SAMPLE_BITS: [16 24]
  FRAME_BITS: [32 48]
  CHANNELS: 2
  RATE: 48000
  PERIOD_TIME: [1000 2730667)
  PERIOD_SIZE: [48 131072]
  PERIOD_BYTES: [192 524288]
  PERIODS: [2 1024]
  BUFFER_TIME: [2000 5461334)
  BUFFER_SIZE: [96 262144]
  BUFFER_BYTES: [384 1048576]
  TICK_TIME: ALL
  
  Warning: rate is not accurate (requested = 44100Hz, got = 48000Hz)
  please, try the plug plugin
  Hardware PCM card 0 'USB-C to 3.5mm Headphone Jack A' device 0 subdevice 0
  Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min: 6000
  period_event : 0
  start_threshold  : 24000
  stop_threshold   : 24000
  silence_threshold: 0
  silence_size : 0
  boundary : 1572864000
  appl_ptr : 0
  hw_ptr   : 0
  




Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
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-02-06 Thread streifenleopard


streifenleopard wrote: 
> In addition, I wonder why the RPI4/LMS is not discovered by the WinSCP
> file transfer programme but this might be my shortcomings.
I did it. It's all there if you are willing to wait awhile...



dsm 6.2.2 (synology disk station 115) running lms 8.0 -- rpi with a
hifiberry dac+ running picoreplayer -- plugins: material skin, mai,
podcasts, musik - folge mir, squeezelite-x, ratings light, exclude
folders

streifenleopard's Profile: http://forums.slimdevices.com/member.php?userid=42019
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-02-06 Thread Man in a van


bpa wrote: 
> Use the tool "alsacap" to check the difference in playback capabilities
> between the "iec958:CARD=A,DEV=0" device and the  "hw:CARD=A,DEV=0"
> 
> Rate issues are usually because Squeezelite reports back to LMS that
> device is native capable of the playing various output rates - it would
> be good to see what ALSA reports for the iec device and the hw device.
> 
> alternative to alsacap would be to use command below  but you have to
> CTRL/C to stop it "playing".  Dewvice being tested is after "-D".
> > 
Code:

  >   > 
  > aplay  -v --dump-hw-params  -D iec958:CARD=A,DEV=0  -f cd /dev/zero
  > 

> > 
> 
> I don't know PCP but in general you should also check out the
> "default" device in case system sounds are being routed out through
> the "CARD=A" DAC.
> 
> To check if there is a "hidden" or non standard control for the DAC  -
> use the amixer command scontent to show controls and their contents. 
> The card being checked is after the "-c" option - example shows for
> "CARD=A"
> > 
Code:

  >   > 
  > amixer -c A  scontents
  > 

> > 




I think *@Smitty2K1* is Stateside :confused:

This is /usr/local/bin/squeezelite -n "piCorePlayer" -o
iec958:CARD=A,DEV=0 -a 80:4::0:  which plays fine for me :)



Code:

tc@pCP:~$ alsacap
  *** Scanning for playback devices ***
  
  Card 0, ID `b1', name `bcm2835 HDMI 1'
  Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 1, ID `Headphones', name `bcm2835 Headphones'
  Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 2, ID `A', name `USB-C to 3.5mm Headphone Jack A'
  Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
  2 channels, sampling rate 48000..48000 Hz
  Sample formats: S16_LE, S24_3LE
  Buffer size range from 96 to 262144
  Period size range from 48 to 131072
  Subdevice 0, name `subdevice #0'
  tc@pCP:~$




Code:


  tc@pCP:~$ amixer -c A  scontents
  Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 120
  Mono:
  Front Left: Playback 120 [100%] [0.00dB] [on]
  Front Right: Playback 120 [100%] [0.00dB] [on]
  tc@pCP:~$




change to /usr/local/bin/squeezelite -n "piCorePlayer" -o
hw:CARD=A,DEV=0 -a 80:4::0:


Code:


  tc@pCP:~$ alsacap
  *** Scanning for playback devices ***
  
  Card 0, ID `b1', name `bcm2835 HDMI 1'
  Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 1, ID `Headphones', name `bcm2835 Headphones'
  Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 4 subdevices (4 
available)
  1..8 channels, sampling rate 8000..192000 Hz
  Sample formats: U8, S16_LE
  Buffer size range from 80 to 131072
  Period size range from 80 to 131072
  Subdevice 0, name `subdevice #0'
  Subdevice 1, name `subdevice #1'
  Subdevice 2, name `subdevice #2'
  Subdevice 3, name `subdevice #3'
  
  Card 2, ID `A', name `USB-C to 3.5mm Headphone Jack A'
  Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
  2 channels, sampling rate 48000..48000 Hz
  Sample formats: S16_LE, S24_3LE
  Buffer size range from 96 to 262144
  Period size range from 48 to 131072
  Subdevice 0, name `subdevice #0'
  tc@pCP:~$





Code:

tc@pCP:~$ amixer -c A  scontents
  Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 120
  Mono:
  Front Left: Playback 120 [100%] [0.00dB] [on]
  Front Right: Playback 120 [100%] [0.00dB] [on]
  tc@pCP:~$




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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-06 Thread bpa


Use the tool "alsacap" to check the difference in playback capabilities
between the "iec958:CARD=A,DEV=0" device and the  "hw:CARD=A,DEV=0"

Rate issues are usually because Squeezelite reports back to LMS that
device is native capable of the playing various output rates - it would
be good to see what ALSA reports for the iec device and the hw device.

alternative to alsacap would be to use command below  but you have to
CTRL/C to stop it "playing".  Dewvice being tested is after "-D".

Code:


  aplay  -v --dump-hw-params  -D iec958:CARD=A,DEV=0  -f cd /dev/zero
  



I don't know PCP but in general you should also check out the "default"
device in case system sounds are being routed out through the "CARD=A"
DAC.

To check if there is a "hidden" or non standard control for the DAC  -
use the amixer command scontent to show controls and their contents. 
The card being checked is after the "-c" option - example shows for
"CARD=A"

Code:


  amixer -c A  scontents
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
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-02-06 Thread slartibartfast


sdiesel77 wrote: 
> Hi All
> I just updated my Rpi4 setup from using my Synology Nas as LMS server to
> directly my Rpi4 as server now.
> Everything is great, the interface is nicer, more modern however, even
> if not a super big deal, I can't play DSD/DSF files anymore. (I
> installed the DSD plugin).
> The player seems to play the file but there is no sound and the DAC
> doesn't recognize the file anymore.
> Any idea?Did you change the squeezelite settings for the player regarding DSD
files -D?

Sent from my Pixel 3a using Tapatalk





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