Hi Steven,
I've been encountering an issue while updating my add-in. You can see the full thread here:
https://getmusicbee.com/forum/index.php?topic=25944.60 I figured out that when you change from a normal music track to a 'continuous' stream, it begins by sending one "track changed" notification, but carries over a random selection of the data from the last track played (size, file URL, duration, etc.).
Less than a second afterwards, it sends another "track changed" notification, and updates all of the NowPlaying data to the correct values for the stream (size N/A and duration -1).
Here is a log of it occurring with the duration of the track:
3/2/2019 3:54:25 PM:
Track changed or Plugin Startup.
3/2/2019 3:54:25 PM: Current Song Duration: 336432
3/2/2019 3:54:25 PM: Get file path.
3/2/2019 3:54:25 PM: Raw Title: Something to Believe In-DRS ft. Calibre-1586-173 ////// Processed Title: SomethingtoBelieveIn-DRSft.Calibre-1586-173
3/2/2019 3:54:25 PM: Size: 9.6 MB
3/2/2019 3:54:30 PM:
Track changed or Plugin Startup.
3/2/2019 3:54:30 PM: Current Song Duration: 336432
3/2/2019 3:54:30 PM: Get file path.
3/2/2019 3:54:30 PM: Raw Title: Heights-Melorman-1586-173 ////// Processed Title: Heights-Melorman-1586-173
3/2/2019 3:54:30 PM: Size: N/A
3/2/2019 3:54:30 PM:
Track changed or Plugin Startup.
3/2/2019 3:54:30 PM: Current Song Duration: -1
3/2/2019 3:54:30 PM: Get file path.
3/2/2019 3:54:30 PM: Raw Title: Heights-Melorman-1586-173 ////// Processed Title: Heights-Melorman-1586-173
3/2/2019 3:54:30 PM: Size: N/A
3/2/2019 3:54:36 PM:
Thanks!