ohnonot from the BL forum has created this script for use with MPD, Audacious and mocp as at Tint2 executor. I haven’t tested it as I use a different method.
https://github.com/ohnonot/media-player-info
Forum Link:
https://forums.bunsenlabs.org/viewtopic.php?pid=68288#p68288