Touchbar widget compatible with Hermes pandora app

Is there any chance of making a touchbar widget that works with this app:

Or a similar pandora functionality to be able to thumb up and down. I use the "now playing" widget right now, and it gets the currently playing song, album, artist.


You can use Applescript to like/dislike a song:

tell application "Hermes"
    thumbs up # or thumbs down
end tell

You can make a button with this as an action.

Unfortunately the state of thumbs up/down isn't exposed by AppleScript, but this should get you part way.