Server Version#: 1.40.1.8227 (Affects older server versions as well)
Player Version#: Plexamp 4.10, Plex Web (Latest)
During my investigation for a different issue I saw quite a bit of weirdness with the play history for my library, though at the time the only example I had was with that one particular album and one of the underlying causes was resolved upstream which prevented me from investigating the actual cause further. I have a clearer idea of what’s happening at this point.
Recently I was playing the first few tracks from the following album while exploring the new Plexamp 4.10 update:
and noticed that the “Recently Played” entries that were showing up in Plexamp were referencing the correct tracks, but from wrong album:
I wanted to test if this was being caused by the new Plexamp update so I tested several other devices with older versions of Plexamp but the issue still occurs. It also occurs when playing the tracks via the Plex Web UI.
I decided to take a deeper look at my play history via the web dashboard and saw that the reported album was actually correct:
Upon clicking any of the entries that were affected in the Plexamp screenshots, it takes me to the wrong album in the Web UI - so it would seem that the actual history entries are messed up. Interestingly enough, the affected tracks all seem to share MusicBrainz IDs with the Greatest Hits album that I have. If I remember correctly, each play history item records the title, album, and artist names in plain text while also having guid references to the parent metadata items. Those GUID references are likely being saved incorrectly (as I found in the linked post); my best guess is that perhaps Plex Media Server is running a lookup based on the MusicBrainz ID of the track and using the first match (this would probably explain why depending on the order you added the albums to the library, the issue may or may not happen, since it would depend on the order of the metadata entries in the database).
Looking back at my play history for that particular artist, I can see each time that I chose to listen to that particular album for the duration that I’ve had that particular library (at least 2 years) - of which, all instances seem to have this issue which would lead me further to believe that this is a history recording issue on the server side.
At this point, I suspect that the other post that I had made essentially just tracks a number of symptoms that were caused by the issue I’m covering in this thread (hence why I made a new topic).
Additionally, the “History” view on Plexamp’s home view is now missing several entries (the attached image corresponds to the same time frame as the dashboard screenshot):
Related issue: