To use the Play Button status of a music player notification as an event for Tasker

Is it possible to read the status of the "Play" button in the notification of a music app and use it as an event to enable / disable a Tasker profile?

I need to execute certain commands when playback starts or stops in a music app. I think Tasker can use notifications from certain apps as events to enable their profiles, or even search for specific texts in notifications. Can it respond to the media buttons in the notification of the music player or in the music app itself? I can not use the variable% atmusicplaying from the Autotools plugin or similar approaches to check if music is playing because I use the device to stream music over DLNA and for some reason the device does not "play" the music state. returns case (see another question and the comments of the answer).