Refresh 'Now Playing' panel

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

Moderators: Gurus, Addon Administrators

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

Refresh 'Now Playing' panel

Post by mcow »

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?