Could someone help me update my config please?

Hi all, my current config is as follows:

web_server:
  bind: 0.0.0.0
  port: 3539
  web_ui: yes
  
schedules:
  - tasks: TV_Shows
    interval:
      minutes: 20

templates:
  tv:
    exec:
      - echo text={{url}} >> "/downloads/{{series_name}}.{{ series_id }}-{{ quality|upper }}.crawljob"
      - echo downloadFolder=/downloads/tv/{{series_name}}.{{ series_id }}-{{ quality|upper }} >> "/downloads/{{series_name}}.{{ series_id }}-{{ quality|upper }}.crawljob"
      - echo autoStart=TRUE >> "/downloads/{{series_name}}.{{ series_id }}-{{ quality|upper }}.crawljob"
      - echo enabled=TRUE >> "/downloads/{{series_name}}.{{ series_id }}-{{ quality|upper }}.crawljob"
      - echo autoConfirm=TRUE >> "/downloads/{{series_name}}.{{ series_id }}-{{ quality|upper }}.crawljob"
    series:
      1080p webdl|webrip h265:
        - superstore
        - brooklyn nine-nine
        - the unicorn
        - God friended me
        - Bob's burgers
        - kidding
        - the good doctor
        - this is us
        - the goldbergs
        - single parents
        - supernatural
        - the walking dead
        - the rookie
        - dispatches from elsewhere
        - amazing stories
        - westworld
        - what we do in the shadows
        - rick and morty
        - solar opposites
        - central park
tasks:
  TV_Shows:
    rss: https://rmz.cr/feed
    template: tv

This generally works great for what I need. But I’m not the best with understanding plugins/config file etc, I barely managed to put the above one together lol.

How would I amend the above config file to accommodate the for the following:

  • Pull the TV shows from my Sonarr list instead of manually having to add them to the config file
  • Add ‘bluray’ as an additional quality (still 1080p HEVC)

Ideally I’d like to do the same for movies too (from radarr) but I’ve only setup the one task for TV shows so far.

Any help would be great!

Many thanks!