rectifyer/script.trakt — pull request #18 by N3MIS15 (2013-01-11 23:47:19+00:00)
Title: Compare watched trakt media against only watched xbmc media

This started as a hunt for rouge movies that would always be marked as missing on trakt.
I found a couple reasons as to why this would happen. The first is the xbmc movie has wrong metadata. The second is trakt is missing metadata.
The only solution i found was to fix my broken metadata or fix trakts metadata (VIP force refresh, the imdb_id was missing). Both worked.

I added better debug logging to help identify these cases.
When the better debugging was enabled i noticed i was getting a heap of false non-matches for updating playcount. There was an error in the logic which this should fix.