1.0 KiB
1.0 KiB
Settings Page
Overview
App configuration and maintenance tools at /settings.
Sections
General Settings
- TMDB API Key — Required for media metadata lookups
- Backend Port — Port the backend server runs on
Cleanup
Added in Milestone 001. Uses Backend maintenance endpoints.
Orphan Files
- Scan (
GET /maintenance/orphan-files) — Dry run, returns counts of orphan files by type - Delete (
DELETE /maintenance/orphan-files) — Removes orphan files from disk
Orphan Media Records
- Scan (
GET /maintenance/orphan-media-records) — Dry run, returns counts of DB records with no file - Delete (
DELETE /maintenance/orphan-media-records) — Removes orphan records from database
Response Format
Both endpoints return: { posters: number, logos: number, backdrops: number, stills: number }
Important Files
react_frontend/src/pages/SettingsPage.tsxreact_frontend/src/api/maintenance.tsbackend/controllers/maintenanceController.jsbackend/services/maintenanceService.js