Possible to get RoonBridge Player state in Linux?

I succesfully installed the RoonBridge Package on my Raspberry Pi (and I love it)!
I was wondering if there is a command in the package to get the current player state within the pi. I’d like to find this out, so that another script in the Pi could communicate over RS232 with my Amp to switch to the right input automatically when it starts playing or send a command to power it off when Roon stops playing.
This could also be used to display certain information, like artist, track name or album on a connected display.
Is there already something like this in the RoonBridge available or maybe can the server tell me things like that with a special command?