feat: extend media library controls and playback
Security / Secrets (gitleaks) (push) Successful in 1m49s
Security / Code (Semgrep) (push) Successful in 2m41s
Security / Dependencies (Trivy) (push) Successful in 1m9s
Docker / Docker Build & Push (push) Successful in 8m48s

- Add safe CarrierNode media deletion and rating support
- Count tag suggestions across visible, processed media
- Support muted autoplay in MediaPlayer
This commit is contained in:
Gabriel20xx committed 2026-11-13 19:23:02 +01:00
1 parent 5d9e3063c5
commit 0c4dc3aacb
5 files changed
+161 -4

No files matched your search

+2
View File
@@ -74,6 +74,7 @@ var migrationStatements = []string{
size_bytes BIGINT,
is_vr BOOLEAN NOT NULL DEFAULT FALSE,
has_funscript BOOLEAN NOT NULL DEFAULT FALSE,
rating TEXT,
funscript_action_count INT,
funscript_avg_speed REAL,
funscript_max_speed REAL,
@@ -82,6 +83,7 @@ var migrationStatements = []string{
modified_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
)`,
`ALTER TABLE media ADD COLUMN IF NOT EXISTS content_scanner_processed BOOLEAN NOT NULL DEFAULT FALSE`,
`ALTER TABLE media ADD COLUMN IF NOT EXISTS rating TEXT`,
`ALTER TABLE media ADD COLUMN IF NOT EXISTS funscript_action_count INT`,
`ALTER TABLE media ADD COLUMN IF NOT EXISTS funscript_avg_speed REAL`,
`ALTER TABLE media ADD COLUMN IF NOT EXISTS funscript_max_speed REAL`,