Getting Sonarr to rename obfuscated file to NZB name?

Sonarr version (exact version): 2.0.0.4099
Mono version: Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016
OS: Ubuntu 14.04.4 LTS
Debug logs: http://hastebin.com/oxuxucexuk.1c
Description of issue:

I’m trying to figure out how to get Sonarr to rename the obfuscated filename to the NZB file name, which usually has the correct name. For some reason I can’t get it to do so. Perhaps I’m just not understanding how this is supposed to work?

If, in Media Management I have Rename Episodes set to no, it will still use the obfuscated name.

If I have it set to yes with the following pattern

{Series Title} - S{season:00}E{episode:00} - {Episode Title} - {Quality Full}-{Release Group}

it will correctly identify the series title, season, episode title, but it will identify the group as Obfuscated despite the log showing it discards Obfuscated in favour of Reward:

16-4-23 10:41:33.0|Debug|Parser|Release Group parsed: reward

I have Completed Download Handling enabled.

It also won’t use the NZB name even on obfuscated releases that don’t have -Obfuscated appended to its name. So I can have something like this:

series.name.s02e20.720p.bluray.x264-releasegroup/yU9w38ja9F98.mkv

and it will still just move the yU9w38ja9F98.mkv as-is without regard for the NZB name. However, in this case it will get the release group name right if I have rename enabled.

Please tell me I’m just an idiot and doing something wrong, or am I simply wrong in expecting Sonarr should use the NZB name in this case?

16-4-23 10:41:41.6|Debug|DiskTransferService|Move [/home/smith/downloads/completed/tv/twin.peaks.s02e22.720p.bluray.x264-reward-Obfuscated/Kkqm1FurAszOZyLAP1IfFpR880KiO3ypkyeRrvm8gtmT6G.mkv] > [/home/smith/sorted/tv/Twin Peaks/Season 2/Kkqm1FurAszOZyLAP1IfFpR880KiO3ypkyeRrvm8gtmT6G.mkv]

Based on this it looks like renaming is off, or its using {Original FileName}. If you want to use the NZB/release name, try using {Original Title}.

Hey, thanks for the reply. I get the same behaviour with file renaming on and with {Original Title} set. Sometimes a rare couple of obfuscated files get renamed properly, but most of them just end up sitting in the completed/tv folder without Sonarr doing anything with them.

When I go to do a manual import it looks like this. The files present, all identified, but when I do a manual import it just imports the files with the obfuscated names. Perhaps manual import is meant to skip renaming?

Here’s a recent one from about 30 minutes ago. Yet another instance of it detecting everything seemingly properly, but leaving the episode in the folder, and after I’ve gone to bed and get up 7 hours later it will still be there, and a manual import will just import the file as wb9MAVM1ouJ4TNXTdeo0ZAa.mkv, ignoring the NZB folder name.

16-4-24 02:49:16.9|Debug|Parser|Parsing string 'wb9MAVM1ouJ4TNXTdeo0ZAa.mkv'
16-4-24 02:49:16.9|Debug|Parser|Unable to parse wb9MAVM1ouJ4TNXTdeo0ZAa.mkv
16-4-24 02:49:16.9|Debug|Parser|Attempting to parse episode info using directory and file names. Dexter.S06E07.720p.BluRay.X264-REWARD
16-4-24 02:49:16.9|Debug|Parser|Parsing string 'Dexter.S06E07.720p.BluRay.X264-REWARD wb9MAVM1ouJ4TNXTdeo0ZAa.mkv.mkv'
16-4-24 02:49:16.9|Debug|Parser|Episode Parsed. Dexter - S06E07 
16-4-24 02:49:16.9|Debug|Parser|Language parsed: English
16-4-24 02:49:16.9|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Dexter.S06E07.720p.BluRay.X264-REWARD wb9MAVM1ouJ4TNXTdeo0ZAa.mkv.mkv
16-4-24 02:49:16.9|Debug|Parser|Quality parsed: Bluray-720p v1
16-4-24 02:49:16.9|Debug|Parser|Release Group parsed: REWARD
16-4-24 02:49:16.9|Debug|Parser|Parsing string 'Dexter'
16-4-24 02:49:16.9|Debug|Parser|Unable to parse Dexter
16-4-24 02:49:16.9|Debug|ImportDecisionMaker|Analyzing 1/1 files.
16-4-24 02:49:16.9|Debug|Parser|Parsing string 'wb9MAVM1ouJ4TNXTdeo0ZAa.mkv'
16-4-24 02:49:16.9|Debug|Parser|Unable to parse wb9MAVM1ouJ4TNXTdeo0ZAa.mkv
16-4-24 02:49:16.9|Debug|Parser|Attempting to parse episode info using directory and file names. Dexter.S06E07.720p.BluRay.X264-REWARD
16-4-24 02:49:16.9|Debug|Parser|Parsing string 'Dexter.S06E07.720p.BluRay.X264-REWARD wb9MAVM1ouJ4TNXTdeo0ZAa.mkv.mkv'
16-4-24 02:49:16.9|Debug|Parser|Episode Parsed. Dexter - S06E07 
16-4-24 02:49:16.9|Debug|Parser|Language parsed: English
16-4-24 02:49:16.9|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Dexter.S06E07.720p.BluRay.X264-REWARD wb9MAVM1ouJ4TNXTdeo0ZAa.mkv.mkv
16-4-24 02:49:16.9|Debug|Parser|Quality parsed: Bluray-720p v1
16-4-24 02:49:16.9|Debug|Parser|Release Group parsed: REWARD
16-4-24 02:49:16.9|Debug|ImportDecisionMaker|Size: 2344134534
16-4-24 02:49:16.9|Debug|VideoFileInfoReader|Getting media info from /home/smith/downloads/completed/tv/Dexter.S06E07.720p.BluRay.X264-REWARD/wb9MAVM1ouJ4TNXTdeo0ZAa.mkv
16-4-24 02:49:16.9|Debug|Parser|Parsing string 'Dexter.S06E07.720p.BluRay.X264-REWARD'
16-4-24 02:49:16.9|Debug|Parser|Episode Parsed. Dexter - S06E07 
16-4-24 02:49:16.9|Debug|Parser|Language parsed: English
16-4-24 02:49:16.9|Debug|NzbDrone.Core.Parser.QualityParser|Trying to parse quality for Dexter.S06E07.720p.BluRay.X264-REWARD
16-4-24 02:49:16.9|Debug|Parser|Quality parsed: Bluray-720p v1
16-4-24 02:49:16.9|Debug|Parser|Release Group parsed: REWARD
16-4-24 02:49:16.9|Debug|VideoFileInfoReader|Getting media info from /home/smith/downloads/completed/tv/Dexter.S06E07.720p.BluRay.X264-REWARD/wb9MAVM1ouJ4TNXTdeo0ZAa.mkv
16-4-24 02:49:16.9|Debug|DetectSample|Runtime is over 90 seconds

No, but it doesn’t have the same information that importing via CDH has.

What follows in the logs?
Are you using Drone Factory for importing?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.