Hi everyone,
PMS: 1.18.3.2156 on Windows 10
Android: 7.26.0.14578(eaeeea5c) / OnePlus 7T (Android 10)
I listen to music at work all day every day using the Android app. As such, accurate play history is important to me. I often browse my top played list and search for songs I’ve played within the last week or month.
Recently I noticed that play history isn’t being accurately captured and thought I’d watch the PMS logs to see what’s happening (this only appears to be a problem when using Plex for Android, not the web app, Roku or other players). In a working situation, after you play a given song, this is what shows up in the log (in this case the song title is ‘A Dialogue’):
Dec 30, 2019 09:57:36.409 [16788] DEBUG - Play progress on 416072 'A Dialogue' - got played 68716 ms by account 1!
Dec 30, 2019 09:57:46.425 [17332] DEBUG - Play progress on 416072 'A Dialogue' - got played 79690 ms by account 1!
Dec 30, 2019 09:57:56.428 [16788] DEBUG - Play progress on 416072 'A Dialogue' - got played 88668 ms by account 1!
Dec 30, 2019 09:58:06.503 [17332] DEBUG - Play progress on 416072 'A Dialogue' - got played 99645 ms by account 1!
Dec 30, 2019 09:58:16.456 [14772] DEBUG - Play progress on 416072 'A Dialogue' - got played 109613 ms by account 1!
Dec 30, 2019 09:58:26.459 [17332] DEBUG - Play progress on 416072 'A Dialogue' - got played 119595 ms by account 1!
Dec 30, 2019 09:58:36.457 [14772] DEBUG - Play progress on 416072 'A Dialogue' - got played 129577 ms by account 1!
Dec 30, 2019 09:58:46.463 [17332] DEBUG - Play progress on 416072 'A Dialogue' - got played 139561 ms by account 1!
Dec 30, 2019 09:58:56.504 [14772] DEBUG - Play progress on 416072 'A Dialogue' - got played 149538 ms by account 1!
Dec 30, 2019 09:59:06.519 [16796] DEBUG - Play progress on 416072 'A Dialogue' - got played 159519 ms by account 1!
Dec 30, 2019 09:59:16.504 [14772] DEBUG - Play progress on 416072 'A Dialogue' - got played 169496 ms by account 1!
Dec 30, 2019 09:59:26.519 [16796] DEBUG - Play progress on 416072 'A Dialogue' - got played 179481 ms by account 1!
Dec 30, 2019 09:59:36.550 [16796] DEBUG - Play progress on 416072 'A Dialogue' - got played 189454 ms by account 1!
Dec 30, 2019 09:59:46.723 [16796] DEBUG - Play progress on 416072 'A Dialogue' - got played 199444 ms by account 1!
Dec 30, 2019 09:59:56.541 [14772] DEBUG - Play progress on 416072 'A Dialogue' - got played 209435 ms by account 1!
Dec 30, 2019 10:00:06.614 [16796] DEBUG - Play progress on 416072 'A Dialogue' - got played 219412 ms by account 1!
Dec 30, 2019 10:00:16.613 [17812] DEBUG - Play progress on 416072 'A Dialogue' - got played 229383 ms by account 1!
Dec 30, 2019 10:00:26.583 [16796] DEBUG - Library item 416072 'A Dialogue' got played by account 1!
PMS first records that the song is playing after 60 seconds. Then there’s an update every 10 seconds or so that it’s still playing. Finally there’s a notification that a song ‘got played’. That final line appears to be the indicator that the play history was updated successfully.
A common pattern I’ve noticed is this:
- I’ll start to play an album
- The first few songs will play and play history will be recorded correctly
- After 3 - 4 songs the log for a given track will no longer finish with the ‘got played by account 1’ message (and the play history won’t be captured)
- This pattern will play out for the remainder of the album
For example, track 4 of a particular album is called ‘Noise Of The Void’ and track 5 is ‘Dolls In the Dark’. The log looks like this:
Dec 30, 2019 10:16:13.910 [17500] DEBUG - Play progress on 416075 'Noise of the Void' - got played 262646 ms by account 1!
Dec 30, 2019 10:16:23.968 [6588] DEBUG - Play progress on 416075 'Noise of the Void' - got played 273631 ms by account 1!
Dec 30, 2019 10:16:33.946 [6588] DEBUG - Play progress on 416075 'Noise of the Void' - got played 283617 ms by account 1!
Dec 30, 2019 10:16:43.947 [17060] DEBUG - Play progress on 416075 'Noise of the Void' - got played 293600 ms by account 1!
Dec 30, 2019 10:16:53.981 [17060] DEBUG - Play progress on 416075 'Noise of the Void' - got played 303585 ms by account 1!
Dec 30, 2019 10:17:03.942 [6588] DEBUG - Play progress on 416075 'Noise of the Void' - got played 313560 ms by account 1!
Dec 30, 2019 10:17:13.939 [17060] DEBUG - Play progress on 416075 'Noise of the Void' - got played 323537 ms by account 1!
Dec 30, 2019 10:18:17.905 [11412] DEBUG - Play progress on 416076 'Dolls in the Dark' - got played 60087 ms by account 1!
Dec 30, 2019 10:18:27.891 [17060] DEBUG - Play progress on 416076 'Dolls in the Dark' - got played 70073 ms by account 1!
‘Noise Of The Void’ wasn’t skipped, it played through in its entirety, but there’s no ‘got played by account 1!’ indicator and we’re straight on to the next song (without updating the play history for ‘Noise Of The Void’).
While researching the problem I came across a post suggesting sweet fades might be an issue but I see the same thing with sweet fades turned off.
If I look at the Android log between the same time codes (see attached) I can’t find any clues.
If there’s anyone out there who can suggest something I can try / test next I’d be enormously grateful. 
Thank you!
plex-android.txt (19.9 KB)


