remove jellyfin, mqtt, webhook services, fix tests, add schema migrations
- delete server/services/jellyfin.ts, webhook.ts, mqtt.ts and their tests - strip jellyfin/mqtt imports and startup calls from index.tsx and settings.ts - remove /jellyfin, /mqtt, /mqtt/status, /mqtt/test, /jellyfin/webhook-plugin endpoints from settings router - clean ENV_MAP and isEnvConfigured of jellyfin/mqtt keys - add db/index.ts migrations for series_key, duration_seconds, scan_status, scan_error, last_scanned_at (new columns absent on older dev DBs) - move idx_media_items_series_key out of SCHEMA into migrate() so it runs after the column is added - fix all test fixtures: drop jellyfin_id/series_jellyfin_id column refs, update MediaItem/MediaStream object literals to match current types Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -96,7 +96,6 @@ CREATE TABLE IF NOT EXISTS jobs (
|
||||
CREATE INDEX IF NOT EXISTS idx_review_plans_status ON review_plans(status);
|
||||
CREATE INDEX IF NOT EXISTS idx_review_plans_is_noop ON review_plans(is_noop);
|
||||
CREATE INDEX IF NOT EXISTS idx_stream_decisions_plan_id ON stream_decisions(plan_id);
|
||||
CREATE INDEX IF NOT EXISTS idx_media_items_series_key ON media_items(series_key);
|
||||
CREATE INDEX IF NOT EXISTS idx_media_items_series_name ON media_items(series_name);
|
||||
CREATE INDEX IF NOT EXISTS idx_media_items_type ON media_items(type);
|
||||
CREATE INDEX IF NOT EXISTS idx_media_streams_item_id ON media_streams(item_id);
|
||||
|
||||
Reference in New Issue
Block a user