I seem to be getting some inconsistent data...
* I ignore all WAITING events
I have two sets of log events below - both for a track change while playing.
For the first track change I get a NOTIFY_TRACK_CHANGE / PLAYING and then a NOTIFY_PLAYERSTATE_CHANGE /
PLAYING
For the 2nd track change I get the same events, but in opposite order.
The first looks good to me and how I would expect the messages to be and note
that the FileKey is the same on both events.
But the second track change, is "wrong" and note the FileKey is different between the
events along with other values.
XX:20240222-131109 START McMonitorReader pid 12120
XX:20240222-131109 JSON READ COMPLETE 73
XX:20240222-131109 JSON file size 73
XX:20240222-131109 Size 73
XX:20240222-131109 !!! ARG1 [NOTIFY_TRACK_CHANGE]
XX:20240222-131109 !!! STATE [PLAYING]
XX:20240222-131110 !!! STATUS [Playing]
XX:20240222-131110 LINE [{]
XX:20240222-131110 LINE ["EventCounter": 173,]
XX:20240222-131110 LINE ["Timestamp": "2024-02-22T13:11:09",]
XX:20240222-131110 LINE ["Source": "MCEvent",]
XX:20240222-131110 LINE ["Type": "MCCommand",]
XX:20240222-131110 LINE ["Arg1": "NOTIFY_TRACK_CHANGE",]
XX:20240222-131110 LINE ["Arg2": "0",]
XX:20240222-131110 LINE ["State": "PLAYING",]
XX:20240222-131110 LINE ["InfoTimestamp": "2024-02-22T13:11:09",]
XX:20240222-131110 LINE ["PlaybackInfo": {]
XX:20240222-131110 LINE ["ZoneID": "0",]
XX:20240222-131110 LINE ["State": "2",]
XX:20240222-131110 LINE ["FileKey": "35922195",]
XX:20240222-131110 LINE ["NextFileKey": "35922201",]
XX:20240222-131110 LINE ["PositionMS": "0",]
XX:20240222-131110 LINE ["DurationMS": "354853",]
XX:20240222-131110 LINE ["ElapsedTimeDisplay": "0:00",]
XX:20240222-131110 LINE ["RemainingTimeDisplay": "-5:54",]
XX:20240222-131110 LINE ["TotalTimeDisplay": "5:54",]
XX:20240222-131110 LINE ["PositionDisplay": "0:00 / 5:54",]
XX:20240222-131110 LINE ["PlayingNowPosition": "4",]
XX:20240222-131110 LINE ["PlayingNowTracks": "1634",]
XX:20240222-131110 LINE ["PlayingNowPositionDisplay": "5 of 1634",]
XX:20240222-131110 LINE ["PlayingNowChangeCounter": "13",]
XX:20240222-131110 LINE ["Bitrate": "0",]
XX:20240222-131110 LINE ["Bitdepth": "16",]
XX:20240222-131110 LINE ["SampleRate": "44100",]
XX:20240222-131110 LINE ["Channels": "2",]
XX:20240222-131110 LINE ["Chapter": "0",]
XX:20240222-131110 LINE ["Volume": "-1",]
XX:20240222-131110 LINE ["VolumeDisplay": "N/A",]
XX:20240222-131110 LINE ["ImageURL": "MCWS/v1/File/GetImage?File=35922195",]
XX:20240222-131110 LINE ["Artist": "Jewell, Eilen",]
XX:20240222-131110 LINE ["Album": "2006 Boundary County",]
XX:20240222-131110 LINE ["Name": "Blow It All Away",]
XX:20240222-131110 LINE ["Rating": "2",]
XX:20240222-131110 LINE ["Status": "Playing"]
XX:20240222-131110 LINE [},]
XX:20240222-131110 STOP McMonitorReader pid 12120
-------------------------------------
XX:20240222-131110 START McMonitorReader pid 16668
XX:20240222-131110 JSON READ COMPLETE 73
XX:20240222-131110 JSON file size 73
XX:20240222-131110 Size 73
XX:20240222-131110 !!! ARG1 [NOTIFY_PLAYERSTATE_CHANGE]
XX:20240222-131110 !!! STATE [PLAYING]
XX:20240222-131110 !!! STATUS [Playing]
XX:20240222-131110 LINE [{]
XX:20240222-131110 LINE ["EventCounter": 174,]
XX:20240222-131110 LINE ["Timestamp": "2024-02-22T13:11:09",]
XX:20240222-131110 LINE ["Source": "MCEvent",]
XX:20240222-131110 LINE ["Type": "MCCommand",]
XX:20240222-131110 LINE ["Arg1": "NOTIFY_PLAYERSTATE_CHANGE",]
XX:20240222-131110 LINE ["Arg2": "0",]
XX:20240222-131110 LINE ["State": "PLAYING",]
XX:20240222-131110 LINE ["InfoTimestamp": "2024-02-22T13:11:09",]
XX:20240222-131110 LINE ["PlaybackInfo": {]
XX:20240222-131110 LINE ["ZoneID": "0",]
XX:20240222-131110 LINE ["State": "2",]
XX:20240222-131110 LINE ["FileKey": "35922195",]
XX:20240222-131110 LINE ["NextFileKey": "35922201",]
XX:20240222-131110 LINE ["PositionMS": "0",]
XX:20240222-131110 LINE ["DurationMS": "354853",]
XX:20240222-131110 LINE ["ElapsedTimeDisplay": "0:00",]
XX:20240222-131110 LINE ["RemainingTimeDisplay": "-5:54",]
XX:20240222-131110 LINE ["TotalTimeDisplay": "5:54",]
XX:20240222-131110 LINE ["PositionDisplay": "0:00 / 5:54",]
XX:20240222-131110 LINE ["PlayingNowPosition": "4",]
XX:20240222-131110 LINE ["PlayingNowTracks": "1634",]
XX:20240222-131110 LINE ["PlayingNowPositionDisplay": "5 of 1634",]
XX:20240222-131110 LINE ["PlayingNowChangeCounter": "13",]
XX:20240222-131110 LINE ["Bitrate": "0",]
XX:20240222-131110 LINE ["Bitdepth": "16",]
XX:20240222-131110 LINE ["SampleRate": "44100",]
XX:20240222-131110 LINE ["Channels": "2",]
XX:20240222-131110 LINE ["Chapter": "0",]
XX:20240222-131110 LINE ["Volume": "-1",]
XX:20240222-131110 LINE ["VolumeDisplay": "N/A",]
XX:20240222-131110 LINE ["ImageURL": "MCWS/v1/File/GetImage?File=35922195",]
XX:20240222-131110 LINE ["Artist": "Jewell, Eilen",]
XX:20240222-131110 LINE ["Album": "2006 Boundary County",]
XX:20240222-131110 LINE ["Name": "Blow It All Away",]
XX:20240222-131110 LINE ["Rating": "2",]
XX:20240222-131110 LINE ["Status": "Playing"]
XX:20240222-131110 LINE [},]
XX:20240222-131111 STOP McMonitorReader pid 16668
This is another track change but notice the FileKey and other values are different between the events.
XX:20240222-131212 START McMonitorReader pid 7644
XX:20240222-131212 JSON READ COMPLETE 73
XX:20240222-131212 JSON file size 73
XX:20240222-131212 Size 73
XX:20240222-131212 !!! ARG1 [NOTIFY_PLAYERSTATE_CHANGE]
XX:20240222-131212 !!! STATE [PLAYING]
XX:20240222-131212 !!! STATUS [Playing]
XX:20240222-131212 LINE [{]
XX:20240222-131212 LINE ["EventCounter": 177,]
XX:20240222-131212 LINE ["Timestamp": "2024-02-22T13:12:12",]
XX:20240222-131212 LINE ["Source": "MCEvent",]
XX:20240222-131212 LINE ["Type": "MCCommand",]
XX:20240222-131212 LINE ["Arg1": "NOTIFY_PLAYERSTATE_CHANGE",]
XX:20240222-131212 LINE ["Arg2": "0",]
XX:20240222-131212 LINE ["State": "PLAYING",]
XX:20240222-131212 LINE ["InfoTimestamp": "2024-02-22T13:12:12",]
XX:20240222-131212 LINE ["PlaybackInfo": {]
XX:20240222-131212 LINE ["ZoneID": "0",]
XX:20240222-131212 LINE ["State": "2",]
XX:20240222-131212 LINE ["FileKey": "35922195",]
XX:20240222-131212 LINE ["NextFileKey": "35922201",]
XX:20240222-131213 LINE ["PositionMS": "349031",]
XX:20240222-131213 LINE ["DurationMS": "354853",]
XX:20240222-131213 LINE ["ElapsedTimeDisplay": "5:49",]
XX:20240222-131213 LINE ["RemainingTimeDisplay": "-0:05",]
XX:20240222-131213 LINE ["TotalTimeDisplay": "5:54",]
XX:20240222-131213 LINE ["PositionDisplay": "5:49 / 5:54",]
XX:20240222-131213 LINE ["PlayingNowPosition": "3",]
XX:20240222-131213 LINE ["PlayingNowTracks": "1633",]
XX:20240222-131213 LINE ["PlayingNowPositionDisplay": "4 of 1633",]
XX:20240222-131213 LINE ["PlayingNowChangeCounter": "14",]
XX:20240222-131213 LINE ["Bitrate": "342",]
XX:20240222-131213 LINE ["Bitdepth": "16",]
XX:20240222-131213 LINE ["SampleRate": "44100",]
XX:20240222-131213 LINE ["Channels": "2",]
XX:20240222-131213 LINE ["Chapter": "0",]
XX:20240222-131213 LINE ["Volume": "-1",]
XX:20240222-131213 LINE ["VolumeDisplay": "N/A",]
XX:20240222-131213 LINE ["ImageURL": "MCWS/v1/File/GetImage?File=35922195",]
XX:20240222-131213 LINE ["Artist": "Jewell, Eilen",]
XX:20240222-131213 LINE ["Album": "2006 Boundary County",]
XX:20240222-131213 LINE ["Name": "Blow It All Away",]
XX:20240222-131213 LINE ["Rating": "2",]
XX:20240222-131213 LINE ["Status": "Playing"]
XX:20240222-131213 LINE [},]
XX:20240222-131213 STOP McMonitorReader pid 7644
-------------------------------------
XX:20240222-131218 START McMonitorReader pid 17980
XX:20240222-131218 JSON READ COMPLETE 73
XX:20240222-131218 JSON file size 73
XX:20240222-131218 Size 73
XX:20240222-131218 !!! ARG1 [NOTIFY_TRACK_CHANGE]
XX:20240222-131218 !!! STATE [PLAYING]
XX:20240222-131218 !!! STATUS [Playing]
XX:20240222-131218 LINE [{]
XX:20240222-131218 LINE ["EventCounter": 178,]
XX:20240222-131218 LINE ["Timestamp": "2024-02-22T13:12:18",]
XX:20240222-131218 LINE ["Source": "MCEvent",]
XX:20240222-131218 LINE ["Type": "MCCommand",]
XX:20240222-131218 LINE ["Arg1": "NOTIFY_TRACK_CHANGE",]
XX:20240222-131218 LINE ["Arg2": "0",]
XX:20240222-131218 LINE ["State": "PLAYING",]
XX:20240222-131218 LINE ["InfoTimestamp": "2024-02-22T13:12:18",]
XX:20240222-131218 LINE ["PlaybackInfo": {]
XX:20240222-131218 LINE ["ZoneID": "0",]
XX:20240222-131218 LINE ["State": "2",]
XX:20240222-131218 LINE ["FileKey": "35922201",]
XX:20240222-131218 LINE ["NextFileKey": "35922198",]
XX:20240222-131218 LINE ["PositionMS": "606",]
XX:20240222-131218 LINE ["DurationMS": "175266",]
XX:20240222-131218 LINE ["ElapsedTimeDisplay": "0:00",]
XX:20240222-131218 LINE ["RemainingTimeDisplay": "-2:55",]
XX:20240222-131218 LINE ["TotalTimeDisplay": "2:55",]
XX:20240222-131218 LINE ["PositionDisplay": "0:00 / 2:55",]
XX:20240222-131218 LINE ["PlayingNowPosition": "4",]
XX:20240222-131218 LINE ["PlayingNowTracks": "1633",]
XX:20240222-131218 LINE ["PlayingNowPositionDisplay": "5 of 1633",]
XX:20240222-131218 LINE ["PlayingNowChangeCounter": "14",]
XX:20240222-131218 LINE ["Bitrate": "1100",]
XX:20240222-131218 LINE ["Bitdepth": "16",]
XX:20240222-131218 LINE ["SampleRate": "44100",]
XX:20240222-131218 LINE ["Channels": "2",]
XX:20240222-131218 LINE ["Chapter": "0",]
XX:20240222-131218 LINE ["Volume": "-1",]
XX:20240222-131218 LINE ["VolumeDisplay": "N/A",]
XX:20240222-131218 LINE ["ImageURL": "MCWS/v1/File/GetImage?File=35922201",]
XX:20240222-131218 LINE ["Artist": "Jewell, Eilen",]
XX:20240222-131218 LINE ["Album": "2007 Letters from Sinners and Strangers",]
XX:20240222-131218 LINE ["Name": "Rich Man\u0027s World",]
XX:20240222-131218 LINE ["Rating": "3",]
XX:20240222-131219 LINE ["Status": "Playing"]
XX:20240222-131219 LINE [},]
XX:20240222-131219 STOP McMonitorReader pid 17980