-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Radarr and Sonarr integration (#936)
* build(backend): add radarr api client * feat(backend): add new lot for integration * feat(database): add migrations for new stuff * feat(backend): adapt to new database schema * chore(frontend): set default value * feat(backend): add new source * feat(frontend): do not allow editing readarr integration * feat(frontend): do not ask for progress for push integrations * feat(database): columns to store destination specifics * feat(backend): allow adding destination specifics to integration * feat(frontend): allow adding radarr integration * feat(backend): sync integrations stuff * chore(frontend): adapt to new gql schema * refactor(backend): change name of function * feat(backend): sync collection ids too * feat(frontend): ask for sync collection ids as well * fix(frontend): no show allowed * feat(frontend): allow editing push integrations * feat(database,backend,frontend): change name for preference to disable integrations * feat(backend): stub functions to add stuff to radarr * feat(backend): allow adding movies to radarr * refactor(backend): move function out of integration * refactor(backend): import with prefix * refactor(backend): inline immediate return * fix(frontend): make collections searchable * feat(config): change name of config param * docs: add instructions for radarr integration * chore(frontend): hide controls for profile id * feat(backend): select more columns * feat(database): add column for tracking system information for collection_to_entity * feat(backend): store cte extra information * refactor(backend): send movies to radarr in a loop * chore(backend): use unused result * fix(backend): do not sync if already done * chore(backend): always return true from function * feat(backend): update collection_to_entity when radarr sync complete * fix(backend): log when movie already synced * feat(database): add new column for destination * Revert "feat(database): add new column for destination" This reverts commit 2b31cfd. * feat(database): merge columns into one * feat(backend): adapt to new database schema * chore(frontend): adapt to new gql schema * feat(backend): respect disable_integrations general preference * feat(backend): store exactly which integration was synced * chore(database): comment * feat(database): account for incorrect finished shows calculations * build(backend): add sonarr deps * docs: add info about sonnar integration * feat(backend): add new integration provider * refactor(frontend): component to create dyanmic arr inputs * feat(frontend): allow creating radarr integration * feat(backend): stub function for sonarr push * feat(backend): store integrations synced to sonarr * refactor(backend): use internal function for pushing data * feat(backend): call function for sonarr * feat(backend): send shows to sonarr * fix(backend): send random title * docs: remove extra text * feat(database): add column to track external ids * feat(backend): update external ids correctly * refactor(backend): change name to match database schema * feat(backend): fetch external identifiers for tmdb movies and shows * fix(backend): use a better function for imports * fix(backend): send tvdb id * fix(backend): allow sending ids * fix(backend): handle arr service push * refactor(backend): extract into variable
- Loading branch information
Showing
28 changed files
with
898 additions
and
196 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.