Container tags are never read, so audio metadata is empty #4
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?
jellyfin-core/src/probe.rscarries no field for a container's tags, sonothing the scan stores comes from them. Every
Audiorow hasAlbum,Artists,AlbumArtists,Genres,ProductionYearandIndexNumberNULL.ffprobe returns all of it:
Populated audio rows, ours against upstream:
Album0/4 528,Artists0/4 889,
AlbumArtists0/4 889,Genres0/4 889,ProductionYear0/4 364,IndexNumber1/4 452.This is not a probe-settings problem: the container tag count matched on all 70
files in a two-way probe comparison, ffmpeg's cheap defaults included. The tags
are there in the answer and nothing reads them.
Found by scanning
/mnt/media(285 movies, 289 shows, 74 music artists —~13 000 media files on a CIFS mount) with both this server and upstream
Jellyfin at the pinned commit, remote metadata and image fetchers disabled on
upstream so both were reading files only. Upstream was given the same mount
path so
MD5(UTF-16LE(path))agrees and rows compare directly.Fixed in
367fd13,0de96d4andab1708f, merged as823c4b2.The issue text was wrong about the mechanism:
MediaInfoalready carried thefields and the prober already parsed them. The two real breaks were that the
scan never set
is_audioon itsProbeRequest— which is what gatestags::set_audio_info— and thatmedia_ofcarried only size, runtime anddimensions from a probe to a row.
A track now writes its album, artists, album artists, genres, year and track
number, and takes its name from the
titletag as upstream does. A video keepswhat its own name said and takes only what the name left open, which is
FFProbeVideoInfo.FetchEmbeddedInfo.A track's tag columns are now diffed against the snapshot upstream wrote, so
getting the artist columns wrong fails the suite.
What an album and an artist summarise from their tracks is still missing — #24.