Sonarr version (exact version): 220.127.116.112
Mono version (if Sonarr is not running on Windows): 18.104.22.168
OS: Ubuntu 18.04
Description of issue:
From my short bit of testing, it looks like the preferred words scoring for checking if a new download is an upgrade to an existing one uses EpisodeFiles.SceneName field. This seems problematic as manual imports do not seem to have a SceneName, so any manual imports will be constantly overwritten by any download with a preferred word score higher than 0.
Issue seems to be happening to me right now, as I have an automated process that adds new acquisitions to a queue to be transcoded, and then reimports them into Sonarr to overwrite the original. The new import loses its SceneName and then gets overwritten again by anything with a preferred word score. I have managed to prevent this issue on a single episode by manually editing the .db to add a scene name that would obtain a high pref score, and it no longer sees all download files as upgrades.
Can provide logs and better steps later if needed, I’m writing this on my phone right now as I was quickly testing on my lunch break.