You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some files in the library have embedded-metadata pathologies that cause subtle playback failures — stalls, skips, or transcode breakage — that look like network or server bugs but are actually file-level issues. We need scanner-side detection so we can see how widespread the problem is before deciding whether to mitigate at stream time, rewrite on disk, or just hand-fix the offenders.
Persist a media_file_problems table (or column flags on media_file) with one row per detected issue + severity.
Surface a "Library health" admin view listing affected files grouped by issue type.
No runtime mitigation in this issue — visibility first. Mitigation (stream-time strip vs. on-disk rewrite) is a follow-up once we know the blast radius.
Acceptance
Re-scanning the live library surfaces the two Zeppelin Box Set tracks (oversized PNG), The Crystal Method Vegas, and the Fear & Loathing soundtrack (mjpeg cover) as flagged.
Admin UI lists problem files with the specific issue and a one-line remediation hint.
Docs: add a section to docs/pitfalls.md linking the detector to the symptoms it explains.
Refs
Investigation that surfaced this: cellular playback skips on I'm Gonna Crawl and D'yer Mak'er 2026-05-22, traced to ~50 MB embedded PNGs.
Related: FLAC songs end early #34 (FLAC songs end early) — duration/decoded-length mismatch fits this detector.
Problem
Some files in the library have embedded-metadata pathologies that cause subtle playback failures — stalls, skips, or transcode breakage — that look like network or server bugs but are actually file-level issues. We need scanner-side detection so we can see how widespread the problem is before deciding whether to mitigate at stream time, rewrite on disk, or just hand-fix the offenders.
Known cases
1. Oversized embedded cover art
/music/Other/Led Zeppelin/Led Zeppelin [Box Set]/4-13 I'm Gonna Crawl.mp32-09 D'yer Mak'er.mp3: 58 MB file, ~50 MB PNG.file_size / (duration * audio_bitrate/8) > 1.5, orembedded_art_bytes > 2 MB.2. MJPEG (video-stream) cover art
/music/Other/The Crystal Method/Vegas/*.mp3— cover is amjpeg600×600 video stream, not apng/mjpegimage attachment./music/CD Rips/Various Artists/Fear & Loathing in Las Vegas [Original Soundtrack]/*.flac— same pattern, 500×500 mjpeg.-map 0:atry to re-encode the cover too, breaking the stream.codec_type=videoandcodec_name=mjpeg(orpngembedded as video stream).3. Other candidate checks worth including
Proposal
embedded_art_bytes,embedded_art_codec,embedded_art_dimensionsextra_video_streamscountdeclared_vs_decoded_duration_deltaaudio_stream_countmedia_file_problemstable (or column flags onmedia_file) with one row per detected issue + severity.Acceptance
docs/pitfalls.mdlinking the detector to the symptoms it explains.Refs
I'm Gonna CrawlandD'yer Mak'er2026-05-22, traced to ~50 MB embedded PNGs.