Re: [SlimDevices: Unix] Squeezelite cannot connect LMS when started from udev

2022-02-14 Thread Sven_R
After some investigation, I found a solution to my problem. According to *man udev*: > > RUN{type} > [...] > Add a program to the list of programs to be executed after processing > all the rules for a specific event, depending on type: > This can only be used for very short-running foreground

Re: [SlimDevices: Unix] Squeezelite cannot connect LMS when started from udev

2022-02-12 Thread Sven_R
Thanks, Paul! I tried it - without success, unfortunately... I tried 127.0.0.1 as well as the RPi's IP, with and without Port specified. :( Code: /usr/bin/squeezelite -o hw:CARD=ND8006,DEV=0 -s 127.0.0.1 -D -n MediaPlayer -d all=debug -f /tmp/sq.log

Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-12 Thread Sven_R
Hi there, I know it‘s not exactly a pCP related question which is why I opened a new thread, but it has something to do with why udev behaves differently under Raspbian OS compared to the pCP OS… may I kindly ask you pCP pros to take a look at 'this thread?'

[SlimDevices: Unix] Squeezelite cannot connect LMS when started from udev

2022-02-11 Thread Sven_R
Hi there, I am running a RPi 4b with Raspbian (Bullseye), LMS 8.2.0 and Squeezelite 1.9.9. For automated startup of the Squeezelite process whenever my USB DAC is connected, I have defined the following *udev* rules: Code: SUBSYSTEM=="usb", ACTION=="add",

Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-08 Thread Sven_R
Greg Erskine wrote: > I think Raspberry Pi OS+Squeezelite+LMS+TVheadend would be the easiest > solution. Thanks! I will try this. Sven_R's Profile: http://forums.slimdevices.com/member.php?userid=72492 View this thread:

Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-02-07 Thread Sven_R
Hi there, I run an RPi4b wih 8GB RAM with pCP+Squeezelite+LMS as my preferred NAP. Runs like a charm - Life is beautiful. However, before I started using the RPi as my NAP, it hosted my TVheadend server that distributed the TV signal from my Panasonic TV to my Wifi clients. I am now wondering

Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-01-20 Thread Sven_R
paul- wrote: > #!/bin/sh must be the first line of the script. Thanks, Paul, this really solved the problem! :) :) :) Although I don't fully understand why: When I executed the scripts manually, they worked. I implemented the same concept under Raspbian - it worked like a charm. However, I

Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-01-20 Thread Sven_R
paul- wrote: > > Adding rules to udev that way, udev is already running. You need to > reload the udev rules manually during the boot process. You will need to > do this every boot. > > > Code: > > > udevadm control —reload-rules > udevadm trigger >

Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-01-19 Thread Sven_R
Hi there, I am using PiCorePlayer 8.1.0 and tried to implement restart of squeezelite when a USB device is added according to https://docs.picoreplayer.org/projects/autostart-squeezelite-from-usb-dac/. I think the manual is not perfectly pCP 8.1.0 compatible, but I think I worked around the