Plexamp headless gpio control

I would like to turn on and off my amplifier connected to my raspberry pi running plexamp through a DAC HAT. The power stage of the amplifier is controlled through a relay connected to one of the gpio pin of the pi.
Is there an api/websocket that can be used on the client to detect the start of a music or video being played? I only need to know the playing status (playing / paused).
Essentially I need a plugin equivalent to ampswitch for volumio
volumio-plugins-sources/ampswitch at master · volumio/volumio-plugins-sources · GitHub

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.