Robert Dailey
65dfc9e5e5
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
4254f66bc1
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
8b45379cc8
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
461ff68730
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
14d87adc10
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
f794e5f652
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
085d641e7e
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
0ce95b58c0
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
24c41ff4f4
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
11dcf1097d
fixup! fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
c4ab67a2a2
fixup! fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
7dbf86eb31
fixup! fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
50f0395e7a
fixup! fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
985e8b7923
fixup! fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
9816fe0b50
refactor: AsReadOnly for ICollection
3 years ago
Robert Dailey
2dfac53fee
fixup! Add initial Blazor Server project
3 years ago
Robert Dailey
a075cec69a
Add initial Blazor Server project
3 years ago
Robert Dailey
a6dfb1e220
refactor(radarr): local repo guide service
...
For accessing custom format JSON data using a local Git clone instead of
using the Github API. The Github API has limitations on the number of
times you can use it, which causes intermittent failures.
3 years ago
Robert Dailey
aecd2dc5dc
refactor: fluent validation for configuration
3 years ago
Robert Dailey
1db23e6be9
refactor: new trashlib project
...
Move non-CLI specific code from Trash project to TrashLib. This is for
future code sharing with Recyclarr. Trash project is officially
deprecated and will eventually go away in favor of the web app.
3 years ago
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 '/>'
3 years ago
Robert Dailey
ebf42622b8
change: new guide urls for sonarr and radarr
...
Release profiles and quality definition guide URLs changed.
3 years ago
Robert Dailey
f9b933e1e3
test: remove unused test fixture
3 years ago
Robert Dailey
87d3fdc225
refactor: rider code cleanup on solution
3 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 .
3 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.
3 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.
3 years ago
Robert Dailey
df993016d7
fix(radarr): invoke reset on processors when doing preview
...
This caused logs to be duplicated
3 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.
3 years ago
Robert Dailey
08541961bd
refactor: validation logic for service configuration
3 years ago
Robert Dailey
4d99530e48
feat: debug-level logging to file
3 years ago
Robert Dailey
2a222ac6e5
refactor: remove renamed cfs property from ConfigStep
...
It isn't used
3 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.
3 years ago
Robert Dailey
77917aa08d
refactor: use snake case for cache json
3 years ago
Robert Dailey
5d80298d68
fix(sonarr): use correct url
...
use BuildUrl() instead of BaseUrl
3 years ago
Robert Dailey
2f3c56783c
refactor: rename file to match class name
3 years ago
Robert Dailey
50195b8cfd
fix(radarr): set scores for unchanged custom formats
3 years ago
Robert Dailey
00ed14f55c
fix(radarr): do not invoke api for profile when there's no updates
3 years ago
Robert Dailey
746d2f7f91
refactor: service cache test names changed
3 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.
3 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
3 years ago
Robert Dailey
3ae9639b0b
build: rearrange build props/targets
3 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.
3 years ago
Robert Dailey
59934be5d4
refactor(cache): check if file exists in load
3 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.
3 years ago
Robert Dailey
bb07aec749
refactor(config): make IServiceConfiguration available via DI
3 years ago
Robert Dailey
b3ab16b75b
refactor(config): sonarr release profile type is required
3 years ago
Robert Dailey
12ff259c09
refactor(config): base_url and api_key are required
3 years ago