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
127 stars 11 forks source link

feat: add lists aka regbrr support #44

Closed s0up4200 closed 1 year ago

s0up4200 commented 1 year ago

Feature: Lists Support

This pull request adds support for importing titles from lists in json and plaintext format, and thus allowing the powerful regex processing from title.go to be used for these lists. The following endpoints have been tested and are confirmed to work:

Example config:

  lists:
    - name: trakt-anticipated
      type: trakt
      url: https://sudoer.dev/ant.json
      filters:
        - 17
    - name: latest-tv-shows
      type: mdblist
      url: https://mdblist.com/lists/garycrawfordgc/latest-tv-shows/json
      filters:
        - 18
    - name: custom-titles-line-by-line
      type: plaintext
      url: https://bin.r4tio.dev/raw/iruripobuk # plaintext line by line
      filters:
        - 19
    - name: Upcoming albums
      type: metacritic
      url: https://api.r4tio.dev/metacritic/upcoming-albums
      filters:
        - 20

Possible improvements