Closed VorTechS closed 6 years ago
Notes for myself for later:
Modify the .IsEnabled property to make it a private set, and use this property purely for representing the enabled state (as per settings).
Add specific entry point functions for 'ResumeScrobbling' and 'StopScrobbling' to control the behaviour of the plugin, and have the 'ResumeScrobbling' function return the current media item (so pause/unpause also works). Use the return result from 'ResumeScrobbling' to populate the Ui.
I added a new Scrobbler Factory method to allow plugins to push media updates based on the current state of the media player, as often as a poll occurs. Whilst the Ui is not reflecting this change, the addition of the current track into the context menu, means this bug was still valid.
Pausing then resuming Scrobbling doesn't re-instate the current track name on Ui until the next track plays.