Resume playing runs a automated task (ST, Logitech, AndroidTV), how to achieve?

I have SM running CoRE via SmartThings. I use Alexa with AndroidTV, and I used a harmony hub.

I would like to run a core piston when I resume the play button from a stop or pause position.

I am not sure what I can use to have core see that the app media in Android TV is paused and once it is playing again run the automation.