Quality cutoff, wait for max resolution

Ok, as I understand it, if I add both 720p and 1080p to a profile, and then set the cutoff to 1080p, it will download until 1080p is met.

But this could cause unecessary traffic, say that the 720p release shows up 30 mins before the 1080p one…
I guess that would fetch the 720p one, and then 30 mins later the 1080p one?

Is there any way I can tell it to look for the cutoff quality for XX hours, and then fallback to a lower res?

E.g
For the first 8 hrs, check for 1080p, if not found, then take the 720p instead.

Check out Profiles->Delay Profiles. That’s prolly what you want.

Thanks for your reply.
I’m sorry, I don’t understand how to configure it.

My profile (named FooBar) is:
WEBDL-1080p
HDTV-1080p <--------- Cutoff
WEBDL-720p
HDTV-720p

Issue: If hdtv 720p is indexed first, it will be downloaded. Then 60 mins later HDTV-1080p shows up, now that one will get downloaded.
Is this correct?
But this would make an “uncessesary” download of the 720p.

I want to tell it to “wait for the cutoff for 10 hrs, then start looking for stuff under the cutoff”.
How do I achieve this with the delay profile?

The delayprofile does not seem to have any connection to the quality-profile (FooBar)?

I guess what I can do is to add a “usenet delay” and set it to 10 hrs. But then what?
Will all grabs from usenet be delayed for 10 hrs?
What if the 1080p release (cutoff) shows up after 2 hrs, will it still be delayed for 10 hrs?
And if I only want the delay to be applied to one quality-profile, how do I achive that? Do I instead need to add tags to all the shows and to the delay profile?

Edit:
And also, after the 10hrs I want the cutoff to be 720p. Sorry if I’m making no sense.
I guess what I need to do is to set the cutoff at 720p, and tell it to wait XX hrs, and then after that it will probably download the 1080p if that one is available, otherwise it will take a 720p and be satisfied?

I did not find this documented in the wiki.

Edit2, this is the behaviour I want:

0-10 hrs after release, wait for and grab 1080p as soon as it is available. This could be after 1 min or 9 hrs
10> hrs after release, accept and grab 720p

My “cutoff” is 720p, but I want to try to get the 1080p for 10 hrs before accepting the cutoff

Delay profiles are connected to series via tags. The last (Default) profile applies to all series.

Please read the info boxes and ‘i’ icon tooltips, they provide useful information on what each option means.
(Yes, those don’t explain everything)

Setting a delay will trigger the delay when the first approved release is found.
It will continue to queue up other approved releases as they’re indexed, but the delay won’t be extended.
Once the delay expires, the best available release will be grabbed.

So in your example. Assuming cutoff is at 1080p.
720p appears, 10h delay starts.
2h later 1080p appears, 8h delay remaining.
8h later, delay expires. 1080p is grabbed coz quality profile says it’s better.
After that nothing will be grabbed anymore coz 1080p meets cutoff, so the episode is effectively ‘unmonitored’.

If in the same scenario the 1080p doesn’t appear until 14h later:
720p appears, 10h delay starts.
10h later, delay expires. 720p is grabbed.
4h later, 1080p appears. Is grabbed immediately.
After that nothing will be grabbed anymore coz 1080p meets cutoff, so the episode is effectively ‘unmonitored’.

If you want it to stop monitoring at all after the 10h delay, set cutoff to 720p.

Thanks for your great & fast replys!

Yes I have read the info boxes, but I have no idea how I should understand the flow you described from the info box:
“Delay in minutes before grabbing a release from usenet” :smile:

I guess I have to do a mix, some sort of best possible:
2 hrs wait, 720p cutoff. This would at least give the 1080p a chance to show up if the 720p is first, but also avoid the unnecessary 8 hr wait in your example.

What I miss is an option in the delay configuration “If cutoff is met, ignore remaining delay and grab release immediatly”.
I dont see the meaning in waiting another 8 hrs if the cutoff is met.
In my example the only difference between grabbing HDTV-1080 after 2 hrs, and waiting the full 10 hrs would be that HDTV-webrip that is higher in the list might get available, but I still rather would like an option to grab the cutoff immediatly.

I will download the source code and see if I can fix this myself if I get the time.

Btw, is there some sort of “debug simulation” or something? An easy way to try out the whole “setup” without having to have actual realeases to download?

It won’t delay if the quality is the best possible quality in the profile.

And no, no simulation option.

Does the order of qualities in the profile define what’s best (in all situations)? For example, if the order in a profile is:

WEBDL-720p (cutoff)
Bluray-720p

  1. I have nothing on my disk. Both WEBDL-720p and Bluray-720p are available. Does Sonarr grab the WEBDL-720p because it’s listed higher in my profile?

  2. I have Bluray-720p quality on my disk. Would Sonarr replace it with a WEBDL-720p because WEBDL-720p appears higher in the profile?

  3. I have nothing on my disk. I have a delay set. Sonarr finds a WEBDL-720p. The delay won’t get activated because WEBDL-720p is listed in my profile higher than Bluray (and it’s my cutoff)?

  4. I have nothing on my disk. I have a delay set. Sonarr finds a Bluray-720p. The delay is activated. If it finds a WEBDL-720p it grabs it immediately, stops searching and cancels the delay. It would only grab the Bluray-720p if, after the delay expires, it hasn’t found a WEBDL-720p?

Yes, as described in the tooltip.

  1. Yes.
  2. Yes, but because the quality is better AND the cutoff hasn’t been met
  3. It will only ignore the cutoff if its the best wanted quality in the profile, cutoff doesn’t matter.
  4. Again, dependent whether or not WEBDL-720p is the top quality in the profile, otherwise it will wait for the delay to expire before grabbing. If BR 720p is the best it found it will get it, otherwise it would grab the WEBDL-720p.

Thanks. Sounds like I finally understand. Now I make some delay profiles and tag things. :slight_smile:

I have been playing around with this for a couple of months but I still can’t get it to work to my satisfaction.

The problem with this is, sometimes the 1080p webdl shows up, sometimes the 1080p hdtv. And I cant put them both “on top” :stuck_out_tongue:

Problem:
What if I dont care about source? (webdl, hdtv).
I want to treat all 1080p equally, and call anything that’s 1080p “best possible”.

This is what I want to achieve:
If I choose all 720p and all 1080p and then sets an 8 hr delay to hopefully get something better than a 720p, but I want to start the dl as soon as any 1080p shows up, how do I do that?

I guess what I am missing is 2 more qualities just named “720p” and “1080p” not caring about source.
Or even better, the ability in the quality-profile to treat profiles equally.

See my awesome mspaintskills:

Edit: Or well, it would be better to be able to still rank them.
What I guess I really need is a “Cutoff” for the delay-profile!

You don’t have to have then on the same level. Just have the other qualities above your cutt-off quality.

Blu 1080
web 1080
hdtv 1080
blu 720
web 720
hdtv 720

Cut-off set to hdtv 1080 as it’s the lowest 1080p source
Delay set to 8 hours.

If either blu / web / hdtv 1080 is found in the 8 hour period that will be downloaded.
If neither blu / web / hdtv 1080 is found in the 8 hour period the found 720p source will be downloaded. After that, Sonarr will continue to monitor for any 1080 release.

If you set the cut-off to the lowest 720p, it will never upgrade after the 8 hour period.

No thats not true…
As @Taloth said, a release is only downloaded during the delay-period if it’s at the top of quality-list.
(And this makes sense, since it’s ranked as the top one, there is no need to wait, since no better release could possibly become available…)
But I just want -any- 1080p, and grab it as soon as it becomes available.

And even if it would be as you say, that it will download a 1080 if I set the cutoff to 1080, thats not what I want, since I want the cutoff to be 720p. (That is, if no 1080p is available after the delay, I want to grab the 720p and be satisfied with that one as a cutoff).

We are saying something different. I meant it will be downloaded instead of the 720 after the 8 hour period expired.
You are referring to when it will skip the 8 hour delay period, and directly download a file.

But I misunderstood your actual wanted scenario, which you cleared up in the rest of your post.