Hello.
I'm trying to customize the jivelite NowPlaying applet/screen.
I have 2 questions I can't seem to solve on my own and I'm hoping you can help me with:
#1
If I understand the code of the NowPlaying applet correctly, it usually only gets information like the track name, (album)artist, album title, elapsed/remaining time and X of Y (of the current player playlist).
How can I make jivelite request the comment tag value of the current track? It's in the LMS database but I don't know how to query that in lua.
#2
I've also tried to make the NowPlaying applet load custom title formats used/broadcast by Erland's CustomClockHelper plugin.
It works but it always shows the value of the previous track, not the current one. I guess it takes a while before the result comes in from Erland's CustomClockHelper plugin and by then the NowPlaying applet has already initialized the screen - with the old value.
Is there a way to make the applet refresh the value as soon as the result from the updatecustomtitleformats function is available?
- Or maybe I missed a place/function in the NowPlaying applet where I need to call the updatefunction or its result (again)?
Please, if you feel you know where my mistake is please let me know. Your help is greatly appreciated.
Thank you.
Best rgards,
A.
I'm trying to customize the jivelite NowPlaying applet/screen.
I have 2 questions I can't seem to solve on my own and I'm hoping you can help me with:
#1
If I understand the code of the NowPlaying applet correctly, it usually only gets information like the track name, (album)artist, album title, elapsed/remaining time and X of Y (of the current player playlist).
How can I make jivelite request the comment tag value of the current track? It's in the LMS database but I don't know how to query that in lua.
#2
I've also tried to make the NowPlaying applet load custom title formats used/broadcast by Erland's CustomClockHelper plugin.
It works but it always shows the value of the previous track, not the current one. I guess it takes a while before the result comes in from Erland's CustomClockHelper plugin and by then the NowPlaying applet has already initialized the screen - with the old value.
Is there a way to make the applet refresh the value as soon as the result from the updatecustomtitleformats function is available?
- Or maybe I missed a place/function in the NowPlaying applet where I need to call the updatefunction or its result (again)?
Please, if you feel you know where my mistake is please let me know. Your help is greatly appreciated.
Thank you.
Best rgards,
A.