Robert Dailey
e197fb2bd0
refactor: dedicated server info url builder
3 years ago
Robert Dailey
7c16d5fcbf
build: silence ca1054 (use system.url)
3 years ago
Robert Dailey
a9dd79e824
chore(editorconfig): space before '/>'
4 years ago
Robert Dailey
351aeeb6a8
docs: update broken v3 links to the trash guides
4 years ago
Robert Dailey
b1b0b4e0e7
release: v1.6.1
4 years ago
Robert Dailey
ebf42622b8
change: new guide urls for sonarr and radarr
...
Release profiles and quality definition guide URLs changed.
4 years ago
Robert Dailey
dc6bcdb430
release: v1.6.0
4 years ago
Robert Dailey
f9b933e1e3
test: remove unused test fixture
4 years ago
Robert Dailey
87d3fdc225
refactor: rider code cleanup on solution
4 years ago
Robert Dailey
fe9873fb05
feat(radarr): new setting to reset unmapped scores
...
A new setting under `quality_profiles` of the custom format listing
named `reset_unmatched_scores` that allows the user to specify if
unmapped scores (those CFs not specified in config) should be reset to 0
during quality profile updates.
Fixes #10 .
4 years ago
Robert Dailey
df203e3b46
feat(radarr): support new custom format guide structure
...
Custom formats are now a list of JSON files in the github repository.
Support for parsing the custom format markdown data has been removed.
4 years ago
Robert Dailey
d8397634de
ci: notification handles backticks correctly
4 years ago
Robert Dailey
77af637224
release: v1.5.1
4 years ago
Robert Dailey
45cf774ada
feat(radarr): support trash_score in custom format json
...
Trash has started putting scores in the actual importable JSON data. If
a score is found in the JSON data, that takes precedence over any score
parsed from the guide markdown. The `trash_score` field is not required
for backward compatibility.
4 years ago
Robert Dailey
3290ebb131
release: v1.5.0
4 years ago
Robert Dailey
df993016d7
fix(radarr): invoke reset on processors when doing preview
...
This caused logs to be duplicated
4 years ago
Robert Dailey
46675e38c5
feat(radarr): add custom formats by trash_id
...
There was an ambiguity with one custom format named 'DoVi'. This one had
two custom formats in the guide. The intent was for the user to choose
only one of these, but the name was kept identical so that name appeared
in the filename for media when it was renamed.
This allows the user to choose which of those two they want using the
`trash_id` property.
4 years ago
Robert Dailey
08541961bd
refactor: validation logic for service configuration
4 years ago
Robert Dailey
4d99530e48
feat: debug-level logging to file
4 years ago
Robert Dailey
2a222ac6e5
refactor: remove renamed cfs property from ConfigStep
...
It isn't used
4 years ago
Robert Dailey
47fa66bb79
refactor: add versioning to cf cache
...
Add a version number field to the custom format cache object. This is an
attempt at future-proofing the cache in case I ever need to update the
schema in a non-backward compatible way.
4 years ago
Robert Dailey
77917aa08d
refactor: use snake case for cache json
4 years ago
Robert Dailey
020e81b145
release: v1.4.2
4 years ago
Robert Dailey
5d80298d68
fix(sonarr): use correct url
...
use BuildUrl() instead of BaseUrl
4 years ago
Robert Dailey
abfb198a9b
release: v1.4.1
4 years ago
Robert Dailey
2f3c56783c
refactor: rename file to match class name
4 years ago
Robert Dailey
50195b8cfd
fix(radarr): set scores for unchanged custom formats
4 years ago
Robert Dailey
00ed14f55c
fix(radarr): do not invoke api for profile when there's no updates
4 years ago
Robert Dailey
746d2f7f91
refactor: service cache test names changed
4 years ago
Robert Dailey
f3f9d085d1
fix: handle invalid cache data
...
If cache data is invalid, catch the exception and log an error. But the
app should continue and not stop there. Just proceed without cache.
4 years ago
Robert Dailey
fe46340af8
fix(radarr): log one line per cf with no score
...
It's a tuple with 3 values so it looks better with 1 per line
4 years ago
Robert Dailey
3ae9639b0b
build: rearrange build props/targets
4 years ago
Robert Dailey
c489ddb1d7
release: v1.4.0
4 years ago
Robert Dailey
cb1f308130
docs(wiki): updates for radarr custom formats
4 years ago
Robert Dailey
c21fc51b23
feat(radarr): custom format support
...
- Synchronize custom formats to Radarr
- Quality profiles can be assigned scores from the guide
- Deletion support for custom formats removed from config or the guide.
- Caching system for keeping track of Custom Format IDs and Trash IDs to
better support renames, deletions, and other stateful behavior.
4 years ago
Robert Dailey
59934be5d4
refactor(cache): check if file exists in load
4 years ago
Robert Dailey
85c7e167a1
refactor: service cache per-service
...
A FNV1a hash is generated for the `base_uri` value in each service
config. This hash is used to separate cache files between different
instances.
4 years ago
Robert Dailey
bb07aec749
refactor(config): make IServiceConfiguration available via DI
4 years ago
Robert Dailey
b3ab16b75b
refactor(config): sonarr release profile type is required
4 years ago
Robert Dailey
12ff259c09
refactor(config): base_url and api_key are required
4 years ago
Robert Dailey
070a961ed0
refactor(config): make radarr quality_definition.type required
4 years ago
Robert Dailey
03ee600346
refactor: implement validating deserializer for YamlDotNet
4 years ago
Robert Dailey
420635d781
refactor: rename BaseConfiguration to ServiceConfiguration
4 years ago
Robert Dailey
20c155e606
docs: disable no-duplicate-heading markdown lint
4 years ago
Robert Dailey
22ac6144b0
release: v1.3.3
4 years ago
Robert Dailey
5a9a517534
fix: max at 400 is updated to unlimited
...
For radarr also applies to preferred of 395
4 years ago
Robert Dailey
b48488fdc7
docs(changelog): last bug fix
...
Forgot to mention the last bugfix for Sonarr quality definition max
handling for unlimited.
4 years ago
Robert Dailey
bcbdc580ff
refactor: fix roslyn analyzer warnings
...
- fix warnings across the code base
- exclude CA rules via .editorconfig as needed
- use newer version of `Microsoft.CodeAnalysis.NetAnalyzers`
4 years ago
Robert Dailey
3d3c6f327d
fix(sonarr): quality definition unlimited support
...
Also added some code sharing between Radarr and Sonarr for this stuff,
since they are largely similar (Radarr has preferred size but the rest
is the same).
4 years ago
Robert Dailey
f25d2620b5
refactor: use generic param in unit test
...
This didn't break the test because its only used for ICommand at the
moment, but updating it for future use.
4 years ago