Refresh 'Now Playing' panel

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

mcow
Posts: 820
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

Refresh 'Now Playing' panel

Post by mcow » Mon Aug 18, 2014 4:09 pm

If my script calls SDB.Player.PlaylistDelete(N), the Now Playing pane and the MainTracksWindow (if showing Now Playing) both automatically refresh.

If my script calls SDB.Player.PlaylistMoveTrack(M, N), neither automatically refreshes. (The MainTracksWindow will refresh if the mouse cursor moves over the affected area of the tree, but the Now Playing pane does not.) I would call this a bug.

To mitigate this, I can call SDB.MainTracksWindow.Refresh(). I can't find a similar way to get at the Now Playing display to refresh it. Is there one?