Server Version#: 1.32.8.7639
Player Version#: Plexamp 4.9.0, Plex Web (Latest)
In some cases “Most Played in <Month/Year>” may show the wrong album. The affected album(s) are “Holy Diver” by Dio and “Holy Diver Live” by Dio.
I’ve been seeing this particular issue for a number of months, and upon actually looking into my play history via the web dashboard I’m not really sure what’s going on. I only have 1 album affected that I know of (or 2 depending on how you look at it). I originally thought the issue was metadata related, but I’m not really sure anymore.
So for some background, when I originally set up my library a lot of the media files were old MP3s, and I’ve been gradually upgrading them to lossless. The process for this looks something like:
- Delete the old MP3 files
- Add the new lossless files
- Re-scan the library
- Empty trash
Both affected albums have the same track list (by name), and when they were originally added their ratings where tied together (likely due to an issue with metadata). As a result of this all plays for “Holy Diver”'s tracks would show up as plays for “Holy Diver Live” under the “Most Watched in <>” section of Plexamp. Once I finally got around to upgrading these albums to lossless the metadata issue seemed to have been cleared up and the ratings were no longer shared (all of the actually rated tracks were on the non-live version of the album. The issue with the “Most Watched <>” section was not resolved though.
At this point, I assumed that the plays may have been either been tracked under the wrong album, or that there were actual plays on the live album while my device was muted (The smart playlist I was using at the time was based on track ratings [which were shared for these two albums], and had a tendency to play the live tracks over the regular studio versions). Upon actually checking my play history in the Plex WebUI dashboard, I noticed that I don’t actually have any track plays for “Holy Diver Live” for the month in question. Instead all related track plays were for the studio version of “Holy Diver”, which is I believe is correct.
I suspect that this issue may be due to a number of things:
- The original albums had shared upstream MusicBrainz (or similar) IDs for the tracks on these two albums, which resulted in certain tracking data to be associated to the wrong album
- Plays during this time were rolled up into cached blocks of historic information to prevent querying the database every time a user opens the Plexamp homescreen.
- Replacing the tracks with lossless versions forced Plex to generate entirely new database entries for these tracks and to pull new metadata (which was now correct).
- The cached play history data isn’t recalculated as part of the regular house-keeping process because it is assumed that past track plays aren’t going to be changed.
Is there any way short of manually updating the database that I can fix this? Is there potential for this issue to occur on other albums where the metadata may be changed upstream and re-fetched by Plex?