RPi-Jukebox-RFID icon indicating copy to clipboard operation
RPi-Jukebox-RFID copied to clipboard

🚀 | Execute custom commands

Open Piehti opened this issue 4 years ago • 2 comments

Hey!

I'm just adding some extra features to my phoniebox and wanted to add some own command. Where can I find the hooks for the %YOURCOMMAND% variables in rfig_trigger_play.conf.

I'd just like to change some to my favours (lights, videos, pictures... but without MQTT and stuff).

It's specially for video-playback, web-gui showing and stuff.

Best regards Peter Found this: https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/717

Ps.: You propably want to add 3 custom fields for custom command on systemlevel in the webinterace in further versions.

Piehti avatar Apr 20 '20 09:04 Piehti

@Piehti , you mentioned:

Ps.: You propably want to add 3 custom fields for custom command on systemlevel in the webinterace in further versions.

What do you mean with "3 custom fields for custom command"? Can you elaborate on it a little more? Looks like you already have a clear idea how this should work. I am currently thinking about a proposal for how to achieve this as well.

that-coding-human avatar Dec 13 '20 22:12 that-coding-human

For anyone interested in implementing this, you should target the new V3 (future3 branches).

V3 uses RPC commands (see here), which could be extended for the desired functionality.

s-martin avatar May 10 '24 13:05 s-martin