Re: [SlimDevices: Unix] [How To] Control LMS with any input device

2019-04-18 Thread Roland0
d6jg wrote: > Out of interest what is the make / model of said USB DAC and do you know > if it is supported by piCorePlayer? It's a 'HIRESFI USB DAC 9023 Mark II' (https://en.muc89.com/ud9023cp). Linux generally does not need specific drivers for USB DACs, so I'd assume it is. SW: 'Web UI fo

Re: [SlimDevices: Unix] [How To] Control LMS with any input device

2019-04-18 Thread d6jg
Roland0 wrote: > I recently bought an USB DAC with hardware volume buttons. Out of interest what is the make / model of said USB DAC and do you know if it is supported by piCorePlayer? VB2.4[/B] STORAGE *QNAP TS419P (NFS) [B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s *Off

Re: [SlimDevices: Unix] [How To] Control LMS with any input device

2019-04-18 Thread Roland0
mherger wrote: > > > >keypress.KEY_VOLUMEDOWN = /bin/bash /usr/local/bin/sb-command.sh > "mixer volume +5" > > Should be "-5"? > > >keypress.KEY_VOLUMEUP = /bin/bash /usr/local/bin/se-volume.sh > "mixer volume +5" > > sb-command.sh or se-volume.sh? > Copy/paste mixup (first versio

Re: [SlimDevices: Unix] [How To] Control LMS with any input device

2019-04-17 Thread Michael Herger
Interesting concept! Thanks for sharing. keypress.KEY_VOLUMEDOWN = /bin/bash /usr/local/bin/sb-command.sh "mixer volume +5" Should be "-5"? keypress.KEY_VOLUMEUP = /bin/bash /usr/local/bin/se-volume.sh "mixer volume +5" sb-command.sh or se-volume.sh? -- Michael

[SlimDevices: Unix] [How To] Control LMS with any input device

2019-04-17 Thread Roland0
I recently bought an USB DAC with hardware volume buttons. Unfortunately, it turned out that these buttons do not actually physically adjust the volume, but instead register as a keyboard and send media key keyboard events. After a bit of research, I found a fairly simple way to get the buttons w