Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-20 Thread jeroen2
romanempire wrote: > While the volume control works on the Pi its plugged into, pressing the > knob has the effect of pausing everywhere. I just want that control to > work on the player its attached to. So I changed KEY_MUTE to 1 pcp > power. That seemed to have the desired effect. > >

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-19 Thread romanempire
Spoke too soon :eek: While the volume control works on the Pi its plugged into, pressing the knob has the effect of pausing everywhere. I just want that control to work on the player its attached to. So I changed KEY_MUTE to 1 pcp power. That seemed to have the desired effect. Cheers, Paul

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-11 Thread romanempire
Finally got it working :D Made use of WinSCP. Makes it much easier to navigate and edit files than wrestling with vi :cool: Thank you everyone for your help and guidance. Just need to sort a suitable housing for the Pi+amp and do something to tone down the mega bright blue LED on the volume

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-10 Thread jeroen2
paul- wrote: > Don’t forget to backup PCP BU :p jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418 View this thread: http://forums.slimdevices.com/showthread.php?t=113605

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-10 Thread jeroen2
romanempire wrote: > > thd --daemon --triggers media.conf --normalize > /dev/input/event1 > > I assume "media.conf" is the config file? And I need to change it in the > way suggested by Paul Webster in post#10? > Yes, media.conf is in the home directory. Mine looks like this: Code:

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-10 Thread paul-
Yes, you need to create it. You can put it in your home directory, and the tell the daemon where to find it. Don’t forget to backup piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-10 Thread Paul Webster
In my post you can see the "vi" command with a full path to the file. I don't know if it is present before editing. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-10 Thread romanempire
Hi Paul, Thank you for your help and adding TriggerHappy to the repository. I've installed it OK and added the startup command that "Jeroen2" mentioned:- thd --daemon --triggers media.conf --normalize /dev/input/event1 I assume "media.conf" is the config file? And I need to change it in the

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread jeroen2
paul- wrote: > The knob is a usb keyboard. Triggerhappy is a hot key daemon. You can > do what you wish to control volume. Indeed. I attached it to a Zero with HigiBerry Mini Amp. So a very minimal setup (and used in a very small room). Since the player is synched on/off and volume up/down

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread paul-
The knob is a usb keyboard. Triggerhappy is a hot key daemon. You can do what you wish to control volume. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread markiii
I assume its controlling volume digitally rather than at the analog output stage? PiCorePlayer 6.1 on Allo Digi One Signaturewith (Lounge) PiCorePlayer 6.1 with pi official touchscreen and hifiberry Dig+ (Office) PiCorePlayer 6.1 with pi official touchscreen and hifiberry DAC+(Kitchen) Radio

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread jeroen2
paul- wrote: > Yes, I don’t have time to do development on old releases. So it’s only > been pushed for pCP7. No problem at all. Doing an In Situ update was a surprisingly smooth process. Thanks! jeroen2's Profile:

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread paul-
Yes, I don’t have time to do development on old releases. So it’s only been pushed for pCP7. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate'

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread jeroen2
Paul Webster wrote: > I just checked and it is listed on my pCP 7 32-bit. > Maybe the time has come to make the leap to the current pCP. Yep, that must be it. Thanks, will do that! jeroen2's Profile:

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread Paul Webster
I just checked and it is listed on my pCP 7 32-bit. Maybe the time has come to make the leap to the current pCP. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread jeroen2
Paul Webster wrote: > Paul- said he would make it available via the built-in pCP Extension > manager. > I dont know if it has been done yet. > Have you checked (see Extensions on main page). Yes, and I noticed it was recently added here: https://repo.picoreplayer.org/repo/12.x/ (Thanks, Paul!

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread jeroen2
Paul Webster wrote: > > To do the same on pCP simply change the script that is called sp it > becomes something like > Yep, got that. Where I got stuck is on how to install Triggerhappy on pCP...? jeroen2's Profile:

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread Paul Webster
The post from ronanempire linked to a thread elsewhere that contained an example. It was: Code: $vi /etc/triggerhappy/triggers.d/media.conf KEY_VOLUMEUP 1 /usr/bin/mpc volume +1 KEY_VOLUMEDOWN 1 /usr/bin/mpc volume -1 KEY_MUTE 1 /usr/bin/mpc

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-09 Thread jeroen2
paul- wrote: > > There is an extension page in the pCP web interface that allows you to > download and install packages. > Thanks. I guess that's what I was looking for but couldn't find. What's it called? paul- wrote: > What packages are you looking for besides triggerhappy? I assume

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-08 Thread paul-
pCP and piCore does not use apt packaging. It never has. There is an extension page in the pCP web interface that allows you to download and install packages. I have not had a chance to package triggerhappy yet. I can get it this evening. What else might you need? piCorePlayer a small

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-08 Thread jeroen2
paul- wrote: > Names are fairly close to the application names. i.e. when I upload > triggerhappy, the extension name will be triggerhappy.tcz > A little disappointed because I'm kind of lost already (although I know I managed to solve this once before) because "apt-get" is not included in

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-07 Thread jeroen2
paul- wrote: > when I upload triggerhappy, the extension name will be triggerhappy.tcz paul- wrote: > Triggerhappy should be the only thing you need, other than making > scripts for trigger happy to call. I ordered one of the USB volume devices and expect to have it before the weekend. I

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-06 Thread paul-
Names are fairly close to the application names. i.e. when I upload triggerhappy, the extension name will be triggerhappy.tcz There is an info file with each extension. Which can be viewed on the extension page. Triggerhappy should be the only thing you need, other than making scripts for

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-06 Thread romanempire
So what would I need to do to get it working? (On a side note, I wasn't aware of the repository functionality. I've had a look through it but a lot of the names are quite cryptic. Is there a lookup table/listing?) Thanks, P

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-05 Thread jeroen2
paul- wrote: > Based on the postings from moode, it should work the same way. > > the triggerhappy extension is floating around somewhere.but its easy > for me to add to our repo too. > > That does look interesting. Would be a really easy way to create some controls for small players.

Re: [SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-03 Thread paul-
Based on the postings from moode, it should work the same way. the triggerhappy extension is floating around somewhere.but its easy for me to add to our repo too. We have a command line utility to send commands to LMS too. Code: - pcp play : play

[SlimDevices: Unix] USB volume control in PiCorePlayer

2021-01-03 Thread romanempire
Hi all, Got several RPi's with Justboom DAC's dotted around the house feeding either the hifi or powered speakers. All working great - whole house sound system :D I'm in the process of replacing the RPi/DAC/2.1 powered speaker combo in the bedroom with an RPi/IQaudio DigiAMP+/passive speaker