I have a very annoying issue that’s been pestering me for over a year now but I think I finally pinpointed the source. I have 2 custom nzbget scripts that rename a file based on some parameters. The first works fine always but the second doesn’t. It works when no category is selected and so sonarr doesn’t touch it so it’s an issue with Sonarr. The issue is that Sonar takes a file that has been renamed by the script and gives it the original name before the last rename script.
Here is a sample from activity tab:
Name:
test-Obfuscated
Source:
/mnt/downloads/nzbget/series/test-Obfuscated/test.avi
Imported To:
/mnt/series/test/Season 1/test-Obfuscated.avi
I have renaming option disabled. Where is Sonarr getting this name from? I would have assumed that the filename should never change unless rename option is enabled. Is it perhaps a timing issue? It doesn’t seem to happen every time though can’t say that for sure.