A film split across discs is filed once per disc #26
Loading…
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?
A film split across discs is filed as one item per disc, and a disc rip is
filed as whatever directory holds the streams.
MovieResolver.FindMoviecollects the child directories of a movie folder and,when the folder itself resolved no film, hands them to
GetMultiDiscMovie— oneitem for the release, with the discs as its parts. A
VIDEO_TSdirectory makesone item of
VideoType.Dvdand aBDMVone ofVideoType.BluRay, both namedafter the folder above.
Ours walks every directory alike, so:
Found while reviewing #8, which stopped the disc folder from naming the film —
a film inside one keeps the name its own file gives rather than being called
CD 01orSTREAM. The shape is still wrong.Nothing in the reference library exercises this, so a diff against the reference
instance cannot see it either.
Fixed in the merge of
fix/26-multi-disc-film.What changed
A
VIDEO_TSholding a.vob, avideo_ts.ifo, or aBDMVmakes the folderabove it one item played from a disc rather than a file, and nothing inside is
read — the streams are what plays it, not rows of their own. Several rips under
one folder that say they are one release are one film, the first the item and
the rest its later parts; the video type has to agree across them, and an
extras folder holding a rip is no disc of the release.
VideoTypereaches the blob, so a rip saysDvdorBluRaywhere everythingelse says
VideoFile, and an image of a disc saysIso. A row's later partsreached no column at all before this, so an ordinary film split across files
carried none either.
A rip is a directory, so what speaks for it is what is inside it: its artwork,
the document beside it, and the ids its name carries are read there rather than
in the folder above.
Where the issue was wrong
The first example does not hold.
GetMultiDiscMovietakes only subfolders thatare themselves rips — each has to hold a
VIDEO_TS, aBDMVor avideo_ts.ifo— so upstream does not combineinto one item either. It files two, as this does.
ResolveVideosputs everydirectory in
leftOverand stacks files alone, so directory stacking happensonly inside
GetMultiDiscMovie. What still differs there is the name — thosetwo are named by their own files here and by their folders upstream — which is
#8's rule and left where it is.
Left for later
chapters are empty. Upstream probes the files inside and sums them.