Making Spotify now playing show playlist name instead of current track

I've made a widget which randomly selects a playlist from a list, and it'll display name of the one it's chosen, which is great. But I've also got shortcuts for set playlists, so if I select one of them, the first widget obviously displays the wrong name.

I have the widget that shows the currently playing Spotify song, but is there a way to make it (or another one) display the name of the current playlist instead?

edit: I may have a semi-workaround if I'm able to link the predefined action:run apple script to the Advanced Configuration (also an apple script) part.
i.e. Make the predefined action choose the random playlist, and have the Advanced Configuration reference that choice to determine the playlist name and display it.
Is that possible?