I recently upgraded to v3 of Sonarr so I could add some tags to prefer HEVC/h265 - but this has to be applied to every series manually. I actually wrote a cronjob to go in and add the tag id to the sqlite database every few minutes, because I haven’t found another way.
Is there a way to set a default release profile? Or a way to trigger a script when a series is added?
Here is my horrible SQL in case anyone wants to tell me if there is a better way to do it… seems to work…
UPDATE Series set Tags = json_insert( Tags, '$[' || json_array_length(Tags) || ']', '16' ) WHERE Series.Tags NOT LIKE '%16%'; GO