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
Robert Dailey
14bc0f9354
release: v1.3.2
4 years ago
Robert Dailey
008adedf9d
fix: create-config autofac registration
...
Can now use the create-config subcommand without autofac throwing an
exception
4 years ago
Robert Dailey
be0c2e23db
release: v1.3.1
4 years ago
Robert Dailey
105b9776b5
docs(changelog): bugfix for quality definition
4 years ago
Robert Dailey
1ace0fb13d
fix(radarr): quality definition now sets unlimited
...
For max and preferred values
4 years ago
Robert Dailey
41fdd3b174
chore: add defaults to .editorconfig
4 years ago
Robert Dailey
13ee03473c
refactor: new service cache class
...
Allows reading and writing objects to a local object store (a directory
starting at the user's home dir).
4 years ago
Robert Dailey
f1e9b4f507
refactor: add class dedicated to global paths
4 years ago
Robert Dailey
17fec13107
chore: delete unused azure pipelines yml
4 years ago
Robert Dailey
76d3c39ac3
chore: rider encoding settings set to utf8 no BOM
4 years ago
Robert Dailey
1034d64ea5
chore: code cleanup rules saved to DotSettings file
4 years ago
Robert Dailey
577c94921e
chore: add editorconfig for code style
4 years ago
Robert Dailey
29099f9ee9
docs(readme): remove limitations and roadmap
...
These sections are not particularly useful anymore since the program has
matured. Going forward I plan to track roadmap items and limitations as
issues in Github.
I also fixed a minor typo in the getting started section.
4 years ago
Robert Dailey
f1b1c8031c
refactor: fix warnings in unit test
4 years ago
Robert Dailey
d3943b5bdc
style: code cleanup
4 years ago
Robert Dailey
173011b320
refactor: new active command provider semantics
...
This allows for code to access the active IServiceCommand object, which
represents a subcommand that provides an implementation for a service
like Radarr or Sonarr.
4 years ago