5.0 KiB
Rundown converter
Status: preparation complete; implementation awaits representative rundowns. This is a separate planned tool, with a Rust core, CLI and egui desktop app similar to the PPTX reporter. No converter command is available yet. The implementation checklist is in the development plan.
Purpose
Convert differently formatted conduites (rundowns) into an Ontime project without manually rebuilding each document. Detect tables, headers, event titles and timing columns using explainable heuristics. Preserve source order and scheduled start times, especially when a session resumes after a break.
When the source is ambiguous, stop export with a precise explanation and ask for clearer headers or an explicit column mapping. Never silently swap start times and durations, discard questionable rows, or fill unknown durations with zero.
Planned workflow
- Open or drop a document, then select a sheet or table if several are plausible.
- Inspect detected headers, sample rows and a normalized schedule preview.
- Resolve highlighted ambiguities through column mappings or clearer source headers. Ordinary unambiguous files should require no manual mapping.
- Export native Ontime JSON and optionally a neutral JSON representation for inspection or reuse. Open the result or its output folder.
The CLI and GUI will use the same detection, validation and export code. CLI failures will identify the source location and return a nonzero exit status. Inputs stay unchanged; existing output requires explicit overwrite permission. Processing is local. Initial supported formats and reader dependencies will be chosen from the supplied examples; spreadsheet, text, Word and PDF layouts must not be assumed interchangeable. Scans require a separate extraction strategy.
Timing and breaks
Explicit start times are schedule anchors. Durations can come from a duration column or an unambiguous start/end pair. The preview will distinguish original values from calculated values, unresolved values and gaps.
| Source evidence | Planned interpretation |
|---|---|
| Cue at 11:45 lasting 15 minutes; next cue at 13:30 | Preserve a 12:00–13:30 gap and the 13:30 start |
| Named lunch row from 12:00 to 13:30 | Preserve an explicit break with its original label |
| Cue at 11:45; next cue at 13:30; no end or duration | Event duration versus break is unknown; do not invent a lunch break |
| Start 11:45, end 12:00, duration 20 minutes | Report conflicting timing and request clarification |
| Final cue has only a start | Request its end/duration or an explicit non-timed classification |
Inferring a duration from the next start is allowed only when the source or a user-selected policy establishes consecutive events. That policy and each inference must remain visible. A long interval alone does not prove a break. Do not extend the preceding timer through an established gap or shift an explicit start to make durations fit. Overlaps, day changes and parallel stages need explicit interpretation rather than automatic sorting or midnight wrapping.
Ontime documents independent starts, linked starts and separate duration/end strategies in Smart time entry. Its delay documentation also describes schedule gaps absorbing delays. The planned default export will retain a known unnamed break as a gap, with the following start unlinked. An optional visible “Break (inferred)” cue can be evaluated during implementation; it must be visibly synthetic and must not change the following scheduled start. Schedule preservation does not imply automatic playback or guarantee that an operator will start an event on time.
Output choice
Native Ontime JSON is the primary target: it lets the exporter control time relationships and project structure without a second column-mapping step. Ontime supports project files and spreadsheet interchange; see its import/export documentation. An XLSX export is a possible later convenience for human editing, not a required intermediate format. Legacy XLS output is not planned.
The existing reporter targets Ontime 4. The new adapter will initially target that family, with the exact tested release/schema recorded before implementation is accepted. Import and timing behavior must be verified in that release; consulting documentation alone does not establish compatibility.
Examples needed next
Provide representative originals, including difficult or ambiguous layouts and at least one missing lunch/break timer. For ambiguous examples, indicate the intended start, duration and break interpretation where known. Include the Ontime version you use. Redacted documents are fine if table structure, cell formats and time values remain representative. Private originals will not be committed; regression fixtures will be synthetic or explicitly cleared for use.
See all tools and repository development.