Skip to content

Sessions, sharing recordings, and locating an original - #4

Merged
BlueJayLouche merged 1 commit into
mainfrom
share-recordings
Oct 11, 2026
Merged

BlueJayLouche merged 1 commit into
mainfrom
share-recordings

Conversation

@BlueJayLouche

Copy link
Copy Markdown
Owner

Three things that belong together: keeping projects apart, handing transcribed recordings to someone else, and cutting clips when the originals are somewhere else.

Sessions. A session is one project, with its own recordings, recordings folder, clips, exports and search. Each is a folder in sessions/, laid out like the library itself; what existed before stays put as the "Main library". Recordings… gets a Session menu and a box to start a new one, and the open session is reopened at the next launch.

Sharing. Collect and export writes one .zip holding the open recording, its folder, or everything in the session: transcripts, corrections, listening copies, waveforms and, with with the originals, the recordings themselves. Import… takes such a file into the open session and leaves recordings already there alone.

Locating. When an export cannot find an original it now names the recording and the file it wants and offers Locate it…, so a copy under another name or in another folder can be used. A file that runs more than a second longer or shorter is questioned first.

An imported file is someone else's, so nothing in it is trusted: member names are checked before anything is written, a transcript of the wrong shape is refused, and paths inside it are never used. The system file dialog's prompt is now passed as an argument instead of being written into the AppleScript, because it can carry a file name from such a file. What is collected leaves out the folder paths of the computer it was made on.

Documentation. The README has new sections for sessions, sharing, where clips are cut from, and what to do when the first transcription goes wrong.

Tested. app.py --check covers which file names and transcripts an import accepts. smoke.py now collects with and without originals, imports into the same library and into a new session, checks that a climbing file name and a malformed transcript are refused, and locates a renamed original. The panel and the Locate flow were also driven in a headless browser against copies of real recordings.

Not done: clips do not travel with collected recordings; there is no "move to another session" (it is collect, then import); renaming or deleting a session is done in the file manager. The file choosers themselves were not clicked: they are the system's dialog, the same one the folder chooser uses.

🤖 Generated with Claude Code

Sessions. A session is one project: its own recordings, recordings
folder, clips, exports and search. Each is a folder in sessions/ laid
out like the library itself, which stays where it is as the "Main
library". Recordings… has a Session menu and a box to start a new one;
the open session is reopened at the next launch.

Sharing. "Collect and export" writes one .zip holding the open
recording, its folder, or everything in the session: transcripts,
corrections, listening copies and waveforms, and with "with the
originals" the recordings themselves. "Import…" takes such a file into
the open session, leaving recordings already there as they are. The
file is someone else's, so file names and the shape of each transcript
are checked before anything is written, and the sender's folder paths
are left out of what is sent.

Locating. When an export cannot find an original it names the recording
and the file it wants and offers "Locate it…", so a copy under another
name or in another folder can be used. A file of another length is
questioned first.

The system file dialog's prompt is now passed as an argument instead of
being written into the script, since it can hold a file name that came
from someone else.

README: sections on sessions, sharing, where clips are cut from, and
what to do when the first transcription goes wrong.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BlueJayLouche
BlueJayLouche merged commit 8bf13da into main Oct 11, 2026
3 checks passed
@BlueJayLouche
BlueJayLouche deleted the share-recordings branch October 11, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant