Sub, is there are a way that ACTCMS can extract the value that you call @songName in your screensaver and @nowPlaying in the Now Playing panel for MLPanel?
mvallevand Wrote:Sub, is there are a way that ACTCMS can extract the value that you call @songName in your screensaver and @nowPlaying in the Now Playing panel for MLPanel?
Martin
I just checked, and unfortunately no.
They can get notified of the currently playing audio file using the IEventNotification interfaces, but this is unfortunately the filename, not the description set by IPluginHelper.SetAudioDescription().
If you want, I can add a new event for this for the next release though? Its only a two minute change.
sub Wrote:They can get notified of the currently playing audio file using the IEventNotification interfaces, but this is unfortunately the filename, not the description set by IPluginHelper.SetAudioDescription().
For Web Radio, I can see the 'CurrentAudioTrack' and 'CurrentAudioPath' events (showing the filename) when running on the NMT, but I don't see them when running on the PC.
The behaviour of Net Radio, where I get 'CurrentAudioTrack' and 'CurrentAudioPath' events (showing the filename) plus 'playing now' info via 'CurrentAudioTrack' events (on both the NMT and the PC) is much better.
Quote:If you want, I can add a new event for this for the next release though? Its only a two minute change.
Would there be a lot more involved in allowing plugins to issue their own Notify events?
ACTCMS Wrote:For Web Radio, I can see the 'CurrentAudioTrack' and 'CurrentAudioPath' events (showing the filename) when running on the NMT, but I don't see them when running on the PC.
That's expected, on the PC, I am not using GB-PVR as an audio player, I am just setting the description.
I suppose if you created saved your singleton to a file, I could read it and notify MLPanel of events.
Edit: sub your solution sounds good enough for what we want to achieve.