xbmc/xbmc — pull request #2457 by nate1280 (2013-03-17 18:20:03+00:00)
Title: Preserve playcount on file update

Attempt to preserve the playcount of a file when its updated (i.e. better quality file).
Add new advanced setting, preserveplaycount to toggle this feature, by default its false.
Episodes are matched on showID, season and episode.
Movies are matched on imdbID and year.