feat: Minstrel no longer talks to Lidarr: its connection, Delete via Lidarr and the unmonitor options are gone, and the track reports are plain quarantine (M502 #5525)
release / govulncheck (push) Successful in 15s
release / web (push) Failing after 17s
release / go (push) Successful in 1m13s
release / integration (push) Successful in 4m56s
release / android (push) Successful in 5m9s
release / Build signed APK (releases and dev) (push) Successful in 5m19s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
release / govulncheck (push) Successful in 15s
release / web (push) Failing after 17s
release / go (push) Successful in 1m13s
release / integration (push) Successful in 4m56s
release / android (push) Successful in 5m9s
release / Build signed APK (releases and dev) (push) Successful in 5m19s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
Migration 0091 drops lidarr_config and renames the quarantine tables, types, indexes and the history column off the Lidarr name. The Integrations Lidarr card, the Reports "Delete via Lidarr" action, the merge and remove-track unmonitor options, the Lidarr audit actions and error codes go, on the server, web and Android. The README describes acquisition as it is now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
ALTER TABLE quarantine_actions RENAME CONSTRAINT quarantine_actions_admin_id_fkey TO lidarr_quarantine_actions_admin_id_fkey;
|
||||
ALTER TABLE quarantine RENAME CONSTRAINT quarantine_track_id_fkey TO lidarr_quarantine_track_id_fkey;
|
||||
ALTER TABLE quarantine RENAME CONSTRAINT quarantine_user_id_fkey TO lidarr_quarantine_user_id_fkey;
|
||||
|
||||
ALTER INDEX quarantine_actions_created_idx RENAME TO lidarr_quarantine_actions_created_idx;
|
||||
ALTER INDEX quarantine_actions_track_idx RENAME TO lidarr_quarantine_actions_track_idx;
|
||||
ALTER INDEX quarantine_actions_pkey RENAME TO lidarr_quarantine_actions_pkey;
|
||||
ALTER TABLE quarantine_actions RENAME COLUMN album_mbid TO lidarr_album_mbid;
|
||||
ALTER TYPE quarantine_action_kind RENAME VALUE 'deleted_album' TO 'deleted_via_lidarr';
|
||||
ALTER TYPE quarantine_action_kind RENAME TO lidarr_quarantine_action_kind;
|
||||
ALTER TABLE quarantine_actions RENAME TO lidarr_quarantine_actions;
|
||||
|
||||
ALTER INDEX quarantine_pkey RENAME TO lidarr_quarantine_pkey;
|
||||
ALTER INDEX quarantine_track_idx RENAME TO lidarr_quarantine_track_idx;
|
||||
ALTER TYPE quarantine_reason RENAME TO lidarr_quarantine_reason;
|
||||
ALTER TABLE quarantine RENAME TO lidarr_quarantine;
|
||||
|
||||
CREATE TABLE lidarr_config (
|
||||
id smallint PRIMARY KEY DEFAULT 1 CHECK (id = 1),
|
||||
enabled boolean NOT NULL DEFAULT false,
|
||||
base_url text,
|
||||
api_key text,
|
||||
default_quality_profile_id int,
|
||||
default_root_folder_path text,
|
||||
default_metadata_profile_id integer,
|
||||
created_at timestamptz NOT NULL DEFAULT now(),
|
||||
updated_at timestamptz NOT NULL DEFAULT now()
|
||||
);
|
||||
INSERT INTO lidarr_config (id, enabled) VALUES (1, false);
|
||||
@@ -0,0 +1,29 @@
|
||||
-- Minstrel no longer talks to Lidarr (M502 #5525): it finds, downloads,
|
||||
-- checks and files music itself.
|
||||
--
|
||||
-- lidarr_config the connection's settings: dropped.
|
||||
-- lidarr_quarantine(_actions) the per-user track reports and the admin
|
||||
-- actions on them, which never needed Lidarr:
|
||||
-- renamed to quarantine(_actions), with their
|
||||
-- types and indexes.
|
||||
-- 'deleted_via_lidarr' the history of an album removed through
|
||||
-- Lidarr reads as what it did: 'deleted_album'.
|
||||
-- lidarr_album_mbid the album id that removal recorded: album_mbid.
|
||||
DROP TABLE lidarr_config;
|
||||
|
||||
ALTER TABLE lidarr_quarantine RENAME TO quarantine;
|
||||
ALTER TYPE lidarr_quarantine_reason RENAME TO quarantine_reason;
|
||||
ALTER INDEX lidarr_quarantine_track_idx RENAME TO quarantine_track_idx;
|
||||
ALTER INDEX lidarr_quarantine_pkey RENAME TO quarantine_pkey;
|
||||
|
||||
ALTER TABLE lidarr_quarantine_actions RENAME TO quarantine_actions;
|
||||
ALTER TYPE lidarr_quarantine_action_kind RENAME TO quarantine_action_kind;
|
||||
ALTER TYPE quarantine_action_kind RENAME VALUE 'deleted_via_lidarr' TO 'deleted_album';
|
||||
ALTER TABLE quarantine_actions RENAME COLUMN lidarr_album_mbid TO album_mbid;
|
||||
ALTER INDEX lidarr_quarantine_actions_pkey RENAME TO quarantine_actions_pkey;
|
||||
ALTER INDEX lidarr_quarantine_actions_track_idx RENAME TO quarantine_actions_track_idx;
|
||||
ALTER INDEX lidarr_quarantine_actions_created_idx RENAME TO quarantine_actions_created_idx;
|
||||
|
||||
ALTER TABLE quarantine RENAME CONSTRAINT lidarr_quarantine_user_id_fkey TO quarantine_user_id_fkey;
|
||||
ALTER TABLE quarantine RENAME CONSTRAINT lidarr_quarantine_track_id_fkey TO quarantine_track_id_fkey;
|
||||
ALTER TABLE quarantine_actions RENAME CONSTRAINT lidarr_quarantine_actions_admin_id_fkey TO quarantine_actions_admin_id_fkey;
|
||||
Reference in New Issue
Block a user