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.
2 lines
75 B
SQL
2 lines
75 B
SQL
ALTER TABLE library_items ADD COLUMN role TEXT NOT NULL DEFAULT 'program';
|