Robert Dailey
2e5dfd2081
fix: include symbols in published release
...
This is only required because LibGit2Sharp bundles PDB files in its
nuget package. See the following github issues for more info.
- https://github.com/dotnet/runtime/issues/3807
- https://github.com/libgit2/libgit2sharp.nativebinaries/issues/111
3 years ago
Robert Dailey
ba0633411a
release: v1.6.2
3 years ago
Robert Dailey
26bab2c095
build: upgrade libgit2sharp to fix ubuntu v20 native lib issue
...
See: https://github.com/libgit2/libgit2sharp/issues/1747#issuecomment-743185544
3 years ago
Robert Dailey
785da4bd07
fix(radarr): use git repo instead of api for radarr json data
3 years ago
Robert Dailey
136c7d4999
chore: update gitignore
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 '/>'
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