Quality in filename bypassed

Version: 2.0.0.5252
Mono Version: 5.16.0.179
OS: Ubuntu 18.04
Docker: Running Sonarr inside docker container

Debug URL: https://pastebin.com/HVrT96wj

Issue:
I’m having a problem where I have named a TV show as SDTV and Sonarr finds it as SDTV (line 19 in log) but then all of a sudden, it runs something called AggregateQuality and it flips it to HDTV720 (line 22).

In all reality, the show is recorded in 720p, but I want Sonarr to see it as SDTV. I run Myth and want Sonarr to recognize this show as SDTV so it can download the commercial free version from elsewhere once or if it’s available. My goal is to use the cutoffs to replace the SDTV with a version from usenet/torrent.

If there’s a better way I’m all ears. It just seems to be working out OK until I hit that aggregatequality line, and I’m not exactly sure where it’s coming up with that and if I can disable it. Also, I had the “analyse video files” option enabled in Sonarr but have disabled and restarted sonarr, but it doesn’t make a difference.

If Analyse Video Files or Sonarr is importing a new file (one outside of the series folder) it will use the media info from the file to validate the quality from the file name if the source + resolution lead to a different quality, that quality will be used instead, which is what you’re seeing.

There is no way to bypass this behaviour via the process you’re using right now, it’d need to be in the series folder already.

You could also update the quality after import via a custom script that updates it via the API.

Thanks for the response and explanation. I’ll have to work around Sonarr to accomplish what I want to do. I admit that I feel like what I’m doing is a bit of a backwards work around to trick Sonarr to do what I want.

One other question. How is a file tagged HDTV vs WEBDL? Does it determine it based on whats in the filename (webdl) or does it require some other metadata?

The filename, nothing is equivalent to HDTV.

Thanks again for the response. I just want to make sure I get this right and understand it. Messing up when you get started is not a big deal, but when you have a few TB of data, you don’t want to be playing with it. :slight_smile:

So if I have " SDTV" in the filename and it’s 720p it will be recognized in Sonarr as HDTV-720p. If it has " SDTV" in the filename and is truly SDTV, it will recognize it as SDTV.

If it has “WEBDL”, “WEBRIP”, or “WEB” in the filename, Sonarr will mark it as WEBDL.

Thank you again for your help on this. I just want to make sure I get it right!

Yes, you are correct.

1 Like

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