Repository navigation
Sessions, sharing recordings, and locating an original - #4
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
.zipholding 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 --checkcovers which file names and transcripts an import accepts.smoke.pynow 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