I made a simple media player with 2 layers (Tunein Radio and Spotify - both selected as preferred players in Kustom). Both set to use always/never variables in visibility options and i.e. $mi(cover)$ for fetching the music data.
When I start playing Spotify (by tasker launching an app in the background) it plays and populates nicely, the same when I switch by the other button to play Tunein Radio, all is good (both are also opened now in my notifications media player on my Pixel 5 with Android 14). Now is the tricky part…
…when I switch back to Spotify, music starts playing in the background as it should but play/pause/skip buttons, titles, cover art etc stays as Tunein Radio untill the end of the song. When the next song starts playing (by itself or me pushing the next button on android player), all buttons titles and artwork populates nicely again.
Is there any way to “refresh” that quicker or send some android intent to make it react?