autobrr / omegabrr

Omegabrr transforms monitored shows, movies, books and music from arrs into autobrr filters. It also supports adding titles from custom lists to autobrr filters.
https://autobrr.com
MIT License
120 stars 11 forks source link

ability to merge multiple lists in one filter #87

Open scratchmex opened 2 months ago

scratchmex commented 2 months ago

for doing quick freelech, I want to have multiple TV and movies lists into the same filter.

with my current config, only the last list is persisted into the filter

lists:
  - name: Latest TV Shows
    type: mdblist
    url: https://mdblist.com/lists/garycrawfordgc/latest-tv-shows/json
    filters:
      - 2  # quick freelech

  - name: Anticipated TV
    type: trakt
    url: https://api.autobrr.com/lists/trakt/anticipated-tv
    filters:
      - 2  # quick freelech

  - name: Popular TV
    type: trakt
    url: https://api.autobrr.com/lists/trakt/popular-tv
    filters:
      - 2  # quick freelech

  - name: Upcoming Movies
    type: trakt
    url: https://api.autobrr.com/lists/trakt/upcoming-movies
    filters:
      - 2  # quick freelech

the workaround is to make one filter per list by duplicating it. not optimal because keeping the other settings in sync is not optimal

open to do the PR if agreed

s0up4200 commented 2 months ago

Hi there @scratchmex! By all means, if you have a working solution, make a PR and we'll take a look 😃