Files
k-tv/k-tv-backend/migrations_sqlite/20260712000003_add_role_to_library_items.sql
Gabriel Kaszewski f21d70c559 MediaRole auto-detection + manual role API + sync wiring (#7)
role_detector: classify items as Interstitial by collection name/tag patterns.
Wire chapter extraction + role detection into sync adapter (worker + presentation).
SQLite: persist/read role column, migration.
PUT /library/items/{id}/role endpoint for manual override.
2026-07-12 14:00:28 +02:00

2 lines
75 B
SQL

ALTER TABLE library_items ADD COLUMN role TEXT NOT NULL DEFAULT 'program';