A Capture records the show and episode it came from #40
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mobrule/kurageyomi#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
A Capture records where it came from in words rather than ids, so the Note says which show and which episode instead of a GUID.
MiscInfocurrently reads{itemId} @ hh:mm:ss, which is accurate and useless — it identifies the scene to the server and to nobody else. It should read compactly, something in the shape of:Series, then season and episode, then the Cue's start, separated by middle dots. Compact is the requirement: this sits under the definition on a card being reviewed, not in a log.
Store it on the Capture, do not resolve it at Export. This is the same rule the frozen Entry follows and the same reasoning that moved extraction to capture time (ADR 0010): a Capture should not depend on the library still agreeing with it later. Resolved at Export, a Capture whose episode has since been deleted or re-organised exports with less provenance than the one queued beside it — and which one that is depends on when you happened to Export. Resolved at capture, every Capture carries the same thing.
Store the parts rather than a rendered line, so the format can change later without the old rows being stuck in it. What a Capture cannot learn — a film with no season or episode, an item whose series is unknown — is stored empty and rendered as what is known, never as
S00E00or a guess.The schema change goes through the queue's append-only migration list, keyed to
user_version. Rows written before it keep their ids and render as they do today.Acceptance criteria
MiscInforenders compactly as series · season and episode · the Cue's start timestamp, separated by middle dotsBlocked by
None — the Export batch (#33–#39) is merged.