A disc rip is filed with nothing a probe would have said #38
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 ripped off a disc is one item at the folder holding the rip (#26), and
nothing probes it: what plays it is a directory of streams rather than a file,
so
RunTimeTicks,Size,Width,Height,Container, its streams and itschapters are all left empty.
Upstream reads the rip.
MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cspicks the playable files out of the directory and probes those:
.vobfiles of the largest title set, their runtimes summed.m2tsSizeis the sum of what the directory holds (:208-211)So every rip row will differ from upstream on the whole of what a probe
answers. Nothing here has that shape yet — a probe is one file, and this is a
list of them whose runtimes add up.
Wanted before the work: a rip to measure against. Neither library here has one,
so the first step is making the reference instance serve one and diffing.
Fixed for a DVD in the merge of
fix/30-hdr10plus; a Blu-ray still readsnothing.
A rip is probed through the files that play it. The disc's own menu and each
title's menu are not the feature; what is left is grouped by the number each
name ends with, and the groups holding anything big enough to be a title play.
The first of those files answers for what the item is — its streams, its size,
what it is encoded as — and the rest answer only for how much longer it runs.
A part nothing could read leaves the length unknown rather than short, which is
what adding two of them gives when either is missing.
crates/jellyfin-app/src/scan/discs.rsis the port ofGetPrimaryPlaylistVobFiles, with its rules under test: the menus, the size atitle has to be, the grouping, and the disc whose parts are all small.
Not done
A Blu-ray. Which of its streams play it is written in a playlist under
BDMV/PLAYLIST, and upstream reads it with a library of its own. Nothing hereparses one, so a Blu-ray rip is still filed with what its folder alone says.
Reachable now