Hi Doof
Thanks for the info. Yeah, I finally realized about midnight last night that that's what's going on (copying a playlist to Now Playing), which then explains why there's two different objects (the curplaylist and the normal playlists) to represent playlists...
I came to the same conclusion as you about scanning the playlists looking for the one that's playing. I think I've about got something going there...
The reason I'm looking to do this is I'd like to be able to react to a remote control keypress, but there's nothing I can find that allows a plugin to monitor remote control activity.
The only thing I've found so far is to add a few commands to the remote configuration, using the "Play Playlist" option, then specify a playlist that has just few arbitrary songs in it.
I name the playlist something like "Command1", "Command2" etc.
Then, each time a track starts playing, I can check what the "Current Playlist" is and if it's one of the "command" playlists, I can stop playing and do whatever I need to based on the command, then resume playing (that last part is still up in the air<g>)
Also for switching play lists, it'd be nice to be able to "announce" the playlist when I switch (so I know I got the right one).
The whole thing would be piles simpler if the remote plugin sourced some events <sigh>
But, hey, MC is pretty sweet all things considered so this is pretty minor.