Add watch status for TV series with UI and auto-fix

Added watch_status column to Entry model (plan_to_watch/watching/completed/
on_hold/dropped). Status pill on entry details page opens selection dialog.
Set Status in quick actions menu and EntryCard dropdown (TV only).
Status filter in Library filter popover. Maintenance auto-fix endpoint
that sets statuses based on watched episodes (excl. season 0).
This commit is contained in:
X4Lo committed 2026-06-23 03:39:16 +01:00
1 parent a5659cf4c8
commit cdbaedd7d0
11 files changed
+663 -286

No files matched your search

+6 -1
View File
@@ -1,4 +1,4 @@
const maintenanceService = require("../services/maintenanceService");
const maintenanceService = require('../services/maintenanceService');
const _maintenanceService = maintenanceService;
@@ -63,6 +63,11 @@ class MaintenanceController {
const result = await _maintenanceService.cleanDuplicateCredits();
return res.status(200).json(result);
}
async autoFixWatchStatuses(req, res) {
const result = await _maintenanceService.autoFixWatchStatuses();
return res.status(200).json(result);
}
}
module.exports = new MaintenanceController();