Can media_player.media_next_track be detected so I can use it as an automation condition?

I’ve got an automation that changes the lights when a video is played/paused/stopped. But when someone uses “next track” / skip, the state of media_player goes to “idle” for a few seconds, which triggers the lights. So I need to check if the person hit the skip button, which is essentially what “media_player.media_next_track” does.
In other words, "if media player state changes to idle, then if media_player.media_next_track was pushed, do ".

Is this possible? media_player.plex_plex_for_android_tv_shield supported_features is 152127, which includes PREVIOUS_TRACK and NEXT_TRACK. I just need a way to detect if either of those was triggered.

How about checking for when the currently playing meta data changes?

Interesting. I’ll look into that.