Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread 4]4
uld be thanking you! :) -------- 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread: http://forums.slimdevices.com/showthread.php?t=113661 ___ unix mailing list unix@li

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-12 Thread 4]4
ke sure the DAC is connected and powered. Then look up the full device path of your DAC by running *systemctl list-units --all --full | grep ".device"* and add it to 'Requires', 'BindsTo', 'After' and 'WantedBy'. Change the squeezelite parameters to m

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-09 Thread 4]4
name=$2 # look for cardname in /proc/asound/cards to determine card number cardno=$(cat /proc/asound/cards | grep -m 1 $cardname | awk {'print $1'}) # extract idVendor and idProduct from /proc/asound/card/usbid usbid=$(cat /proc/asound/card$cardno/usbid)

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-09 Thread 4]4
x27;} | awk -F , {'print $1'}) I might also need to change the command to get the card name, but I don't have time right now to test it 4]4's Profile: http://forums.slimdevices.com/member.php?user

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-09 Thread 4]4
zelite I will update the script with these commands. ---- 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread: http://forums.slimdevices.com/showthread.php?t=113661 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-09 Thread 4]4
in it, so i quess it worked :) I still need to test the DietPi custom boot script combined with the DAC on/off behaviour to check if the added rules work as expected. I will report about the results ASAP. ---- 4]4's Prof

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-09 Thread 4]4
ith the DAC switched on yields no output. ---- 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread: http://forums.slimdevices.com/showthread.php?t=113661 ___ unix mailing list unix@lists.slimdev

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-08 Thread 4]4
an it from Putty. Any suggestions on what might be causing this error? -------- 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread: http://forums.slimdevices.com/showthread.php?t=113661 __

Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-08 Thread 4]4
e or directory Can I omit this section or should I add the rules file to a different file? -------- 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread: ht

[SlimDevices: Unix] SMB share: LMS keeps last played file locked

2021-02-05 Thread 4]4
I tested it and the NAS goes to hibernate after 20 minutes of inactivity. No problems with LMS locking the last played file. 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread:

[SlimDevices: Unix] SMB share: LMS keeps last played file locked

2021-02-05 Thread 4]4
NAS :) My NAS needs to be running in order to access the music collection, so it makes sense to run LMS from the NAS. It also runs much smoother compared to the Rpi. -------- 4]4's Profile: http://forums.slimdevices.com/member.p

[SlimDevices: Unix] SMB share: LMS keeps last played file locked

2021-02-05 Thread 4]4
Player plugin. -------- 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread: http://forums.slimdevices.com/showthread.php?t=113851 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix

[SlimDevices: Unix] SMB share: LMS keeps last played file locked

2021-02-04 Thread 4]4
? Thanks! -------- 4]4's Profile: http://forums.slimdevices.com/member.php?userid=71351 View this thread: http://forums.slimdevices.com/showthread.php?t=113851 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix