Kronic Media History V1 (requires Admin V2 and room-title V2.1)
Back up the application and both SQLite databases using SQLite backup or with services stopped. Extract into ~/mediaserver, restart the media server, refresh admin and all open desktop/mobile pages. Instance Settings > Media history: choose room, choose modes, save. Room templates also have history defaults. Existing shared history is untouched. Newly scoped histories start empty; changing scopes does not copy or erase data. Returning to a previous scope restores its records. Personal mode spans rooms using personal mode for that account. Group mode spans rooms using group mode for the same parent group. Old templates without history settings leave current room settings unchanged when applied. Removing a template leaves history settings intact. New templates copy their history settings on creation/application. Only existing history features are scoped: Tube recently/continue watching and movie/TV resume positions. No music/IPTV/Twitch history subsystem exists in this source. Shared cache, cache jobs and metadata are not private history and are not isolated. Remote player history outside Kronic is unchanged. This is not a media permissions upgrade. Every history API request must include an assigned room ID, automatically attached by the updated app.js; stale clients must refresh. Tests: run python test_history_scopes.py using your existing venv. Tests use temporary databases; library_index initializes its configured database on import as usual. Live browser testing outstanding.
