So I've got a bit of an annoyance going on. This script is one component to the problem, it also involves the Add/Remove Playstats script, and probably some Database integrity issues. The trouble I'm having is, I consistently have 20 tracks showing in the "LastPlayedDate <> LastPlayHistoryDate" node. Running the "Set LastPlayedDate to LastHistoryPlay" function of the Add/Remove script doesn't even find these 20 tracks, let alone have an affect.
This may boil down to an integrity issue with my Database, as it's been with me for quite a while. It has information dating back to at least 2007, however I believe I actually started a new database at one point and then imported the played and playlist information with the use of one of Z's scripts. It's been through several Alpha and Beta cycles, including the "Offset" introduction. So this may be the root cause of my issue.
However, the Add/Remove script isn't finding the issue while this script is, which seems a little strange. Got any ideas on how to fix the discrepancy in my DB?