Robert Dailey
cb44ab36cb
Support for WEB-DL release profile guide
...
* Significant refactoring of parsing logic to generalize it between
anime and web-dl
* Rework exception type hierarchy for Server code
4 years ago
Robert Dailey
7a0c3ba26d
Remove wiki submodule; not required
4 years ago
Robert Dailey
cdc5973cde
Option to treat negative scores as ignored
...
The `--strict-negative-scores` option will take any negative preferred
term scores and move those terms to the "Must Not Contains" (ignored)
field of the release profile.
4 years ago
Robert Dailey
09c24a911d
More flexible release profile header parsing
...
Instead of requiring a specific header depth to know what header
represents a release profile, we now search for 'release profile' in the
header name.
4 years ago
Robert Dailey
2578d82092
Remove superfluous exit() after raise
4 years ago
Robert Dailey
6ae2a4c047
Add configuration file support
...
It allows you to store your Base URI and API Key in a file instead of
continuously providing it via CLI.
4 years ago
Robert Dailey
607d2a8f6f
Implement hybrid quality definition logic
...
The hybrid quality is auto-generated and takes values between the anime
and non-anime tables in the following way:
* The lowest minimum and highest maximum between the non-anime and anime
tables are used as the min/max for each quality in the generated
hybrid table.
* Only 720/1080 qualities are "combined". Qualities outside of this,
such as 2160, use the non-anime min/max values.
4 years ago
Robert Dailey
c5cc2035a8
Sonarr quality definition support
...
From the Quality Definitions (File Sizes) page of the TRaSH guides, you
can now sync the anime or non-anime quality profile to your Sonarr
instance. There is also a hybrid mode but that is not yet implemented.
4 years ago
Robert Dailey
7a5969874a
Introduce unit test framework
...
pytest is now utilize for unit tests. I wrote a single unit test for the
anime markdown parser for now. More will come.
4 years ago
Robert Dailey
2133bfceb9
Rename package from trash -> app
...
This resolves some ambiguities with imports
4 years ago
Robert Dailey
dc3f839203
Modularize python code into a package
4 years ago
Robert Dailey
4059bd71cd
Ability to add tags to release profiles
...
New `--tags` option for adding one or more tags to updated and/or
created release profiles in Sonarr.
4 years ago
Robert Dailey
e84f54806b
Renormalize line endings for all files
4 years ago
Robert Dailey
851d47d244
Fix bug in score regex
...
It would allow matches like `[-10-00]` (a hyphen anywhere in the middle
of a number)
4 years ago
Robert Dailey
61d358ff61
Add regex search for "must contain" section
...
Not tested right now due to this section not being present in the guide.
4 years ago
Robert Dailey
061c4dcde3
Ignore case when searching for score
4 years ago
Robert Dailey
264f19c4f9
README: More roadmap items
4 years ago
Robert Dailey
7c325856c7
New markdown lint JSON file
...
Defines certain rules for markdown linting such as the allowed usage of
`<br>` elements, etc.
4 years ago
Robert Dailey
47663c0ed8
Add wiki as submodule
4 years ago
Robert Dailey
50571ff3a5
Initial Commit
4 years ago