Repository navigation
Find in a recording, and output hits that land on the line that matched.
Web UI
- Find in a recording. The player has a find field (
f). It lists every command line and every output line of this recording that contains the text, with its time and the command it belongs to, and marks them on the timeline rail. A click, Enter / Shift+Enter orn/Njumps from one to the next. It is independent of the search that opened the recording and also works in hidden (legacyTERM=dumb) sessions. Inside one long interactive command such asssh, where everything is that command's output, find "Successfully added" and step through each place it happened. - Output hits seek to the line that matched. A hit in output used to seek to the start of its chunk: up to 128 lines earlier, in a slow
sshsession minutes earlier. It now seeks to the moment the matching line was on screen in full; for a progress line redrawn with\r, that is when it was finished. This applies to the search list,n/Nandcinelog search.
Index and API
index.dbmoves to schema version 4, with one time per output line (outputs.line_dt, usually one byte per line). It is migrated on the first start.- Output indexed before the upgrade keeps seeking to its chunk until you run
cinelog index --rebuild(annotations are kept). Everything recorded from now on gets line times on its own. - A 1.2.0 binary that finds the migrated database opens it read-only and does not index, so update every binary that shares a database, the team binary included.
- Web API:
GET /api/search?lines=truereturns one hit per matching output line (ido:<chunk>:<line>), at most about 2000 per page, and a page always ends after a whole chunk.SearchHit.tof an output hit is now the time of the matched line. A search limited to onesessionwith a term under 3 characters reads only that session instead of scanning newest first across all of them. See docs/API.md. - Forgetting a time range also drops the line times of the chunks it blanks.
Upgrade
zimfw update fetches and verifies the new binary. With a team install, also run sudo ~/.zim/modules/cinelog/bin/cinelog install --team --upgrade to update the root-owned copy and restart the team server. Then, for precise jumps into older recordings, cinelog index --rebuild once.
Full Changelog: v1.2.0...v1.2.1