Custom Quality Definition for filtering, possible?

Hi,

the site I use have original and dubbed audio version (when available) of shows.

I wonder if it is possible to use the Custom Quality Definition to select if for a given series I would like original or the dubbed audio version? What I mean exactly:

  • for original releases I set HDTV-720p, straightforward, works great
  • for dubbed audio version, I create a custom quality definition, like HUNDUB-720p. The file names always contain HUNDUB or HUN (not sure about case if that matters), so will Sonarr get only episodes where HUNDUB or HUN is in the file name with 720p or it doesn’t work like that?

If not, is there a way to do this?

Thanks!

You need to use Release Restrictions to require specific words in the release title. Assign it a tag and apply that tag to the series you want it to apply to.

Thanks markus101
I will check this out! So I just add hundub to must contain, tag it hundub, and for the series I enter the tag hundub. Then Sonarr will download only torrents where hundub is in the filename, correct?

I also see that under Profiles there is the possibility to select Language. Unfortunately, Hungarian is not on the list. As most of the Hungarian prefer to watch series and movies dubbed (which is very unfortunate according to me), this would really make sense to add Hungarian too. Can you do that for the next release?
What way Sonarr decided about the language of the release? What I mean, if you add Hungarian to the option, how will it filter hundub releases?

If you search the github repository for “Dutch” you get a general idea.

https://github.com/Sonarr/Sonarr/blob/fac6b05bb48c0d1ef35bd26418fc6b5c5f5eb370/src/NzbDrone.Core/Parser/Language.cs

Has the language list.

https://github.com/Sonarr/Sonarr/blob/b1d0d422e9c46404ff63cfa73e0d0c5761443562/src/NzbDrone.Core/Parser/Parser.cs

has the qualifing regex.

Sonarr doesn’t support multi-language at this time. A show can only be set to either English or another language. If you select another language, English releases will be rejected. And that is a shame for us multi-lingual people

Set to English:

Set to Dutch:

Thanks for the detailed explanation!
I guess adding a language should be just a few minutes work, if I understand the code. I hope Hungarian will be added soon.

On the other side, I have opened an issue at github for enabling multi-language support in Profiles, take a look at: https://github.com/Sonarr/Sonarr/issues/730

Hope the devs will consider this.

I tried making a pull request for you. Hope my years and years of googling actually made me understand enough to create a valid piece of code :smirk:

Thanks a lot!
I’m not sure if it means anything, but check the link I posted at Github to avoid any confusion!

I tried in a regex simulator, but I don’t have enough experience to create a valid regex string which is not dependent on specific format.

I’ll try and do some more googling later

Edit: Jeez, I was testing without the /g flag, so it was only showing the first hit in the simulator.

Really appreciate your help on this, and I’m sure many Hungarian user too:)

I don’t have experience with regex.

Please note, most of the releases I see now are just HUN (or Hun) and not Hundub, but both being in use.

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