2016-05-19, 19:44
Hello I'd need help, I'm writing a plugin that has to do with "now playing" and managed well so far, but I came upon an issue I don't know how to solve.
I am getting state of the player with "onPlayBackStarted" etc to capture playing song/movie and it works quite well. But I realized that this doesn't work for Radio streams, since the radio doesn't stop and restarts playback.
So my question - is there a "trigger" similar to "onPlayBackStarted" for when SONG NAME changes?
If not, I suppose the best way woud be to use timer on i.e. 3 minutes?
D>
I am getting state of the player with "onPlayBackStarted" etc to capture playing song/movie and it works quite well. But I realized that this doesn't work for Radio streams, since the radio doesn't stop and restarts playback.
So my question - is there a "trigger" similar to "onPlayBackStarted" for when SONG NAME changes?
If not, I suppose the best way woud be to use timer on i.e. 3 minutes?
D>