372 lines
30 KiB
HTML
372 lines
30 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en" class="navy" dir="ltr">
|
|
<head>
|
|
<!-- Book generated using mdBook -->
|
|
<meta charset="UTF-8">
|
|
<title>Defect Windows - JellyTau Documentation</title>
|
|
|
|
|
|
<!-- Custom HTML head -->
|
|
|
|
<meta name="description" content="Requirements, traceability, and architecture for the JellyTau Jellyfin client.">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
<link rel="icon" href="favicon.svg">
|
|
<link rel="shortcut icon" href="favicon.png">
|
|
<link rel="stylesheet" href="css/variables.css">
|
|
<link rel="stylesheet" href="css/general.css">
|
|
<link rel="stylesheet" href="css/chrome.css">
|
|
<link rel="stylesheet" href="css/print.css" media="print">
|
|
|
|
<!-- Fonts -->
|
|
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
|
|
<link rel="stylesheet" href="fonts/fonts.css">
|
|
|
|
<!-- Highlight.js Stylesheets -->
|
|
<link rel="stylesheet" href="highlight.css">
|
|
<link rel="stylesheet" href="tomorrow-night.css">
|
|
<link rel="stylesheet" href="ayu-highlight.css">
|
|
|
|
<!-- Custom theme stylesheets -->
|
|
|
|
</head>
|
|
<body class="sidebar-visible no-js">
|
|
<div id="body-container">
|
|
<!-- Provide site root to javascript -->
|
|
<script>
|
|
var path_to_root = "";
|
|
var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "navy" : "navy";
|
|
</script>
|
|
|
|
<!-- Work around some values being stored in localStorage wrapped in quotes -->
|
|
<script>
|
|
try {
|
|
var theme = localStorage.getItem('mdbook-theme');
|
|
var sidebar = localStorage.getItem('mdbook-sidebar');
|
|
|
|
if (theme.startsWith('"') && theme.endsWith('"')) {
|
|
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
|
|
}
|
|
|
|
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
|
|
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
|
|
}
|
|
} catch (e) { }
|
|
</script>
|
|
|
|
<!-- Set the theme before any content is loaded, prevents flash -->
|
|
<script>
|
|
var theme;
|
|
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
|
|
if (theme === null || theme === undefined) { theme = default_theme; }
|
|
var html = document.querySelector('html');
|
|
html.classList.remove('navy')
|
|
html.classList.add(theme);
|
|
var body = document.querySelector('body');
|
|
body.classList.remove('no-js')
|
|
body.classList.add('js');
|
|
</script>
|
|
|
|
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
|
|
|
|
<!-- Hide / unhide sidebar before it is displayed -->
|
|
<script>
|
|
var body = document.querySelector('body');
|
|
var sidebar = null;
|
|
var sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
|
|
if (document.body.clientWidth >= 1080) {
|
|
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
|
|
sidebar = sidebar || 'visible';
|
|
} else {
|
|
sidebar = 'hidden';
|
|
}
|
|
sidebar_toggle.checked = sidebar === 'visible';
|
|
body.classList.remove('sidebar-visible');
|
|
body.classList.add("sidebar-" + sidebar);
|
|
</script>
|
|
|
|
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
|
<div class="sidebar-scrollbox">
|
|
<ol class="chapter"><li class="chapter-item expanded affix "><a href="index.html">Introduction</a></li><li class="chapter-item expanded affix "><li class="part-title">Requirements & Traceability</li><li class="chapter-item expanded "><a href="requirements.html"><strong aria-hidden="true">1.</strong> Requirements Specification</a></li><li class="chapter-item expanded "><a href="traceability.html"><strong aria-hidden="true">2.</strong> Traceability Matrix</a></li><li class="chapter-item expanded "><a href="traceability-ci.html"><strong aria-hidden="true">3.</strong> Traceability CI</a></li><li class="chapter-item expanded "><a href="traces-quick-ref.html"><strong aria-hidden="true">4.</strong> Traces Quick Reference</a></li><li class="chapter-item expanded affix "><li class="part-title">Architecture</li><li class="chapter-item expanded "><a href="architecture/index.html"><strong aria-hidden="true">5.</strong> Overview</a><a class="toggle"><div>❱</div></a></li><li><ol class="section"><li class="chapter-item "><a href="architecture/01-rust-backend.html"><strong aria-hidden="true">5.1.</strong> Rust Backend</a></li><li class="chapter-item "><a href="architecture/02-svelte-frontend.html"><strong aria-hidden="true">5.2.</strong> Svelte Frontend</a></li><li class="chapter-item "><a href="architecture/03-data-flow.html"><strong aria-hidden="true">5.3.</strong> Data Flow</a></li><li class="chapter-item "><a href="architecture/04-type-sync-and-threading.html"><strong aria-hidden="true">5.4.</strong> Type Sync & Threading</a></li><li class="chapter-item "><a href="architecture/05-platform-backends.html"><strong aria-hidden="true">5.5.</strong> Platform Backends</a></li><li class="chapter-item "><a href="architecture/06-downloads-and-offline.html"><strong aria-hidden="true">5.6.</strong> Downloads & Offline</a></li><li class="chapter-item "><a href="architecture/07-connectivity.html"><strong aria-hidden="true">5.7.</strong> Connectivity</a></li><li class="chapter-item "><a href="architecture/08-database-design.html"><strong aria-hidden="true">5.8.</strong> Database Design</a></li><li class="chapter-item "><a href="architecture/09-security.html"><strong aria-hidden="true">5.9.</strong> Security</a></li></ol></li><li class="chapter-item expanded "><li class="part-title">UX</li><li class="chapter-item expanded "><a href="ux-flows.html"><strong aria-hidden="true">6.</strong> UX Flows</a></li><li class="chapter-item expanded affix "><li class="part-title">Specs — Pending Work</li><li class="chapter-item expanded "><a href="specs/index.html"><strong aria-hidden="true">7.</strong> Specs Index</a></li><li class="chapter-item expanded "><a href="specs/SPEC-TEMPLATE.html"><strong aria-hidden="true">8.</strong> Spec Template</a></li><li class="chapter-item expanded "><a href="specs/SPEC-REVIEW-CHECKLIST.html"><strong aria-hidden="true">9.</strong> Spec Review Checklist</a></li><li class="chapter-item expanded "><a href="specs/playback-backend-unification.html"><strong aria-hidden="true">10.</strong> Playback Backend Unification</a></li><li class="chapter-item expanded "><a href="specs/linux-native-video-spike.html"><strong aria-hidden="true">11.</strong> Linux Native Video Spike</a></li><li class="chapter-item expanded "><a href="specs/backend-owned-stream-selection.html"><strong aria-hidden="true">12.</strong> Backend-Owned Stream Selection</a></li><li class="chapter-item expanded "><a href="specs/player-facade-enforcement.html"><strong aria-hidden="true">13.</strong> Player Facade Enforcement</a></li><li class="chapter-item expanded "><a href="specs/windows-native-audio-backend.html"><strong aria-hidden="true">14.</strong> Windows Native Audio Backend</a></li><li class="chapter-item expanded "><a href="specs/libmpv2-migration.html"><strong aria-hidden="true">15.</strong> libmpv2 Migration</a></li><li class="chapter-item expanded "><a href="specs/read-through-media-cache.html"><strong aria-hidden="true">16.</strong> Read-Through Media Cache</a></li><li class="chapter-item expanded "><a href="specs/scoped-search.html"><strong aria-hidden="true">17.</strong> Scoped Search</a></li><li class="chapter-item expanded "><a href="specs/scoped-search-boundary.html"><strong aria-hidden="true">18.</strong> Scoped Search Boundary</a></li><li class="chapter-item expanded "><a href="specs/scoped-search-boundary-implementation.html"><strong aria-hidden="true">19.</strong> Scoped Search Boundary — Implementation</a></li><li class="chapter-item expanded "><a href="specs/frontend-domain-model.html"><strong aria-hidden="true">20.</strong> Frontend Domain Model</a></li><li class="chapter-item expanded "><a href="specs/build-provenance.html"><strong aria-hidden="true">21.</strong> Build Provenance</a></li><li class="chapter-item expanded affix "><li class="part-title">Build & Release</li><li class="chapter-item expanded "><a href="build/build-release.html"><strong aria-hidden="true">22.</strong> Build & Release</a></li><li class="chapter-item expanded "><a href="release-checklist.html"><strong aria-hidden="true">23.</strong> Release Checklist</a></li><li class="chapter-item expanded "><a href="build/build-desktop-packages.html"><strong aria-hidden="true">24.</strong> Desktop Packaging</a></li><li class="chapter-item expanded "><a href="build/build-windows.html"><strong aria-hidden="true">25.</strong> Windows Build</a></li><li class="chapter-item expanded "><a href="defect-windows.html" class="active"><strong aria-hidden="true">26.</strong> Defect Windows</a></li><li class="chapter-item expanded "><a href="build/docker.html"><strong aria-hidden="true">27.</strong> Docker</a></li><li class="chapter-item expanded "><a href="build/build-builder-image.html"><strong aria-hidden="true">28.</strong> Builder Image</a></li><li class="chapter-item expanded affix "><li class="spacer"></li><li class="chapter-item expanded affix "><a href="api-redirect.html">Rust API Reference (rustdoc)</a></li></ol>
|
|
</div>
|
|
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
|
|
<div class="sidebar-resize-indicator"></div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Track and set sidebar scroll position -->
|
|
<script>
|
|
var sidebarScrollbox = document.querySelector('#sidebar .sidebar-scrollbox');
|
|
sidebarScrollbox.addEventListener('click', function(e) {
|
|
if (e.target.tagName === 'A') {
|
|
sessionStorage.setItem('sidebar-scroll', sidebarScrollbox.scrollTop);
|
|
}
|
|
}, { passive: true });
|
|
var sidebarScrollTop = sessionStorage.getItem('sidebar-scroll');
|
|
sessionStorage.removeItem('sidebar-scroll');
|
|
if (sidebarScrollTop) {
|
|
// preserve sidebar scroll position when navigating via links within sidebar
|
|
sidebarScrollbox.scrollTop = sidebarScrollTop;
|
|
} else {
|
|
// scroll sidebar to current active section when navigating via "next/previous chapter" buttons
|
|
var activeSection = document.querySelector('#sidebar .active');
|
|
if (activeSection) {
|
|
activeSection.scrollIntoView({ block: 'center' });
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<div id="page-wrapper" class="page-wrapper">
|
|
|
|
<div class="page">
|
|
<div id="menu-bar-hover-placeholder"></div>
|
|
<div id="menu-bar" class="menu-bar sticky">
|
|
<div class="left-buttons">
|
|
<label id="sidebar-toggle" class="icon-button" for="sidebar-toggle-anchor" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
|
|
<i class="fa fa-bars"></i>
|
|
</label>
|
|
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
|
|
<i class="fa fa-paint-brush"></i>
|
|
</button>
|
|
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
|
|
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
|
|
</ul>
|
|
<button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
|
|
<i class="fa fa-search"></i>
|
|
</button>
|
|
</div>
|
|
|
|
<h1 class="menu-title">JellyTau Documentation</h1>
|
|
|
|
<div class="right-buttons">
|
|
<a href="print.html" title="Print this book" aria-label="Print this book">
|
|
<i id="print-button" class="fa fa-print"></i>
|
|
</a>
|
|
<a href="https://gitea.tourolle.paris/dtourolle/jellytau" title="Git repository" aria-label="Git repository">
|
|
<i id="git-repository-button" class="fa fa-github"></i>
|
|
</a>
|
|
<a href="https://gitea.tourolle.paris/dtourolle/jellytau/_edit/master/docs/../docs/defect-windows.md" title="Suggest an edit" aria-label="Suggest an edit">
|
|
<i id="git-edit-button" class="fa fa-edit"></i>
|
|
</a>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="search-wrapper" class="hidden">
|
|
<form id="searchbar-outer" class="searchbar-outer">
|
|
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
|
|
</form>
|
|
<div id="searchresults-outer" class="searchresults-outer hidden">
|
|
<div id="searchresults-header" class="searchresults-header"></div>
|
|
<ul id="searchresults">
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
|
|
<script>
|
|
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
|
|
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
|
|
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
|
|
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
|
|
});
|
|
</script>
|
|
|
|
<div id="content" class="content">
|
|
<main>
|
|
<h1 id="defect-windows--which-bugs-were-present-when"><a class="header" href="#defect-windows--which-bugs-were-present-when">Defect windows — which bugs were present when</a></h1>
|
|
<p>For each fixed defect, the releases it was actually present in. Companion to
|
|
<a href="../CHANGELOG.html">CHANGELOG.md</a>, which says what changed; this says how long each
|
|
fault had been shipping before it did.</p>
|
|
<p><strong>"Present since"</strong> is the first <em>release</em> containing the defective code, not the
|
|
first release where a user could hit it — those differ, sometimes by months, and
|
|
the gap is called out where it matters. <strong>"How dated"</strong> records the evidence, so a
|
|
row can be re-checked or disputed:</p>
|
|
<div class="table-wrapper"><table><thead><tr><th>Method</th><th>Meaning</th></tr></thead><tbody>
|
|
<tr><td><code>pickaxe</code></td><td><code>git log -S<token></code> on the defective token — the commit that introduced the exact string, then the earliest tag containing it. Strongest evidence.</td></tr>
|
|
<tr><td><code>feature</code></td><td>The defect is inseparable from a feature that landed whole (bad rung in a new algorithm, missing caller in new plumbing), dated to that feature's release.</td></tr>
|
|
<tr><td><code>absence</code></td><td>The fix <em>adds</em> something that was never there. Dated to when the surrounding code was built, since there is no introducing commit to find. Weakest — treat as "no later than".</td></tr>
|
|
</tbody></table>
|
|
</div>
|
|
<h2 id="present-since-the-first-release"><a class="header" href="#present-since-the-first-release">Present since the first release</a></h2>
|
|
<p>Nine defects date to the initial proof of concept (v0.0.1, 2026-06-23) and shipped
|
|
for between two weeks and seven weeks short of two months before anyone hit them.
|
|
That is the dominant pattern here: not regressions, but original assumptions that
|
|
went unexercised until a later feature leaned on them.</p>
|
|
<div class="table-wrapper"><table><thead><tr><th>Defect</th><th>Present since</th><th>Fixed in</th><th>Shipped broken for</th><th>How dated</th></tr></thead><tbody>
|
|
<tr><td><code>AudioStreamIndex=0</code> pinned the video stream as the audio track (DR-140)</td><td>v0.0.1</td><td><strong>v0.4.6</strong></td><td>~7 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td>Download URL spelled <code>videoBitrate</code>, which Jellyfin does not bind (DR-123)</td><td>v0.0.1</td><td><strong>v0.5.1</strong></td><td>~7 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td><code>pause_download</code> / <code>resume_download</code> were no-ops (DR-168)</td><td>v0.0.1</td><td><strong>v0.5.3</strong></td><td>~7.5 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td><code>.part</code> sidecar named by <code>with_extension</code>, so no cleanup path matched it (DR-169)</td><td>v0.0.1</td><td><strong>v0.5.3</strong></td><td>~7.5 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td><code>Range</code> sent on every retry regardless of the response (DR-170)</td><td>v0.0.1</td><td><strong>v0.5.3</strong></td><td>~7.5 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td><code>/Items/Latest</code> requested with the default <code>GroupItems=false</code></td><td>v0.0.1</td><td><strong>v0.5.1</strong></td><td>~7 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td><code>SubtitleStreamIndex</code> omitted from PlaybackInfo, letting the server burn in (DR-176)</td><td>v0.0.1</td><td><strong>v0.5.5</strong></td><td>~8 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td>No <code>PlaySessionId</code>, and one hardcoded <code>DeviceId</code>, on every stream URL (DR-177)</td><td>v0.0.1</td><td><strong>v0.5.5</strong></td><td>~8 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td><code>download_item</code> never recorded <code>media_type</code>; NULL read as <code>'audio'</code> (DR-135)</td><td>v0.0.1</td><td><strong>v0.4.6</strong></td><td>~7 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td><code>download_album</code> read its track list from the local cache (DR-173)</td><td>v0.0.1</td><td><strong>v0.5.5</strong></td><td>~8 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td>Device profile carried no <code>MaxAudioChannels</code> (DR-141)</td><td>v0.0.1</td><td><strong>v0.4.6</strong></td><td>~7 weeks</td><td>absence</td></tr>
|
|
<tr><td>Streaming ceiling fixed at 20 Mbps with no way to lower it (UR-074)</td><td>v0.0.1</td><td><strong>v0.5.3</strong> (as a feature)</td><td>~7.5 weeks</td><td>pickaxe</td></tr>
|
|
<tr><td>Hero banner auto-rotation never restarted after a manual swipe (DR-038)</td><td>v0.0.1</td><td><strong>v0.9.1</strong></td><td>~8.5 weeks</td><td>pickaxe</td></tr>
|
|
</tbody></table>
|
|
</div>
|
|
<h3 id="why-they-took-so-long-to-surface"><a class="header" href="#why-they-took-so-long-to-surface">Why they took so long to surface</a></h3>
|
|
<p>Four of these were <strong>latent until a later feature exercised them</strong>, which is why
|
|
the fix lands so far from the cause:</p>
|
|
<ul>
|
|
<li>The <code>videoBitrate</code> casing was harmless while every download was <code>original</code>. It
|
|
became visible only once a quality picker existed to select against — and then
|
|
produced no error, just a full-size file, because Jellyfin discards an unbound
|
|
query key silently.</li>
|
|
<li>The unconditional <code>Range</code> header was inert for the same reason: <code>original</code> is
|
|
the one rung served with a <code>Content-Length</code> and real byte-range support. It
|
|
started corrupting files in <strong>v0.5.1</strong>, the moment the casing fix made
|
|
transcoded downloads actually transcode. So the <em>code</em> dates to v0.0.1 and the
|
|
<em>corruption</em> to v0.5.1 — a one-release window for the visible symptom.</li>
|
|
<li>The missing <code>PlaySessionId</code> only bites when a stream is re-opened for the same
|
|
item. Nothing re-opened one until quality switching, transcoded seek and
|
|
audio-track switching existed.</li>
|
|
<li>The omitted <code>SubtitleStreamIndex</code> only bites on sources whose own default
|
|
subtitle track is image-based, since that is what forces the server from
|
|
sidecar to burn-in.</li>
|
|
</ul>
|
|
<p>Two were <strong>masked by soft failure</strong>: the asset protocol being disabled (DR-134)
|
|
was hidden by the thumbnail cache falling back to the server copy whenever the
|
|
server was reachable, and <code>AudioStreamIndex=0</code> was hidden by servers that
|
|
silently correct an out-of-range index — which is exactly why it was reported as
|
|
"<em>some</em> videos have no audio" rather than as a bug in the client.</p>
|
|
<h2 id="introduced-by-a-feature-fixed-later"><a class="header" href="#introduced-by-a-feature-fixed-later">Introduced by a feature, fixed later</a></h2>
|
|
<div class="table-wrapper"><table><thead><tr><th>Defect</th><th>Present since</th><th>Fixed in</th><th>How dated</th></tr></thead><tbody>
|
|
<tr><td>Native-path resume position never applied (both layers assumed the other seeked)</td><td>v0.0.9/v0.0.10</td><td><strong>v0.5.1</strong></td><td>feature (<code>PlayerAdapter</code> contract)</td></tr>
|
|
<tr><td><code>get_downloaded_items</code> matched "this library exists" rather than constraining the item to it (DR-167)</td><td>v0.0.17</td><td><strong>v0.5.3</strong></td><td>feature (browsable downloaded library)</td></tr>
|
|
<tr><td><code>SCOPE_ITEM_TYPES</code> — the frontend/backend boundary leak (DR-063)</td><td>v0.0.17</td><td><strong>v0.2.1</strong></td><td>pickaxe</td></tr>
|
|
<tr><td><code>check:boundary</code> anchored to the query site, blind to a named const (DR-094)</td><td>v0.0.17</td><td><strong>v0.2.1</strong></td><td>feature (tripwire landed with the leak it missed)</td></tr>
|
|
<tr><td>Coverage gate divided by hardcoded denominators, reporting 158% (DR-093)</td><td>v0.0.1</td><td><strong>v0.2.1</strong></td><td>pickaxe</td></tr>
|
|
<tr><td>Tap deferral raced the WebView's synthesized click (DR-092 → DR-098)</td><td>v0.1.5</td><td><strong>v0.2.7</strong></td><td>feature (the deferral itself)</td></tr>
|
|
<tr><td>Transport for webview media decided from <code>el.paused</code> in the DOM (DR-097)</td><td>v0.0.9/v0.0.10</td><td><strong>v0.2.7</strong></td><td>feature (<code>Html5PlayerAdapter</code>)</td></tr>
|
|
<tr><td><code>pick_current_episode</code> rung 3 returned the first <em>gap</em>, not the furthest watched</td><td>v0.3.0</td><td><strong>v0.5.1</strong></td><td>feature</td></tr>
|
|
<tr><td><code>mirror_user_data</code> mirrored <code>is_favorite</code> alone and returned early (DR-155)</td><td>v0.4.0</td><td><strong>v0.5.1</strong></td><td>pickaxe</td></tr>
|
|
<tr><td>Stop-report path never fed the sync queue that existed for it (DR-154)</td><td>v0.4.6</td><td><strong>v0.5.1</strong></td><td>feature (queue + drain landed with no producer)</td></tr>
|
|
<tr><td>Background-audio base applied in two display-only places (DR-159)</td><td>v0.2.9</td><td><strong>v0.5.3</strong></td><td>pickaxe</td></tr>
|
|
<tr><td>Positions reported as 0 before the first tick, and always 0 for webview media (DR-178/179/180)</td><td>v0.5.3</td><td><strong>v0.5.5</strong></td><td>feature (DR-159's tick boundary)</td></tr>
|
|
<tr><td>Length-less handoff transcode left to the player's own load-error retry, which can only restart it (DR-203)</td><td>v0.0.16</td><td><strong>v0.8.2</strong></td><td>feature (the handoff's progressive-mp3 choice)</td></tr>
|
|
</tbody></table>
|
|
</div>
|
|
<p>Three of these are worth separating out, because the defect is not a mistake in
|
|
the code so much as <strong>plumbing that was built and never connected</strong>:</p>
|
|
<ul>
|
|
<li><code>repository_get_next_up_episodes</code> accepted a <code>series_id</code> from the day it was
|
|
written, and no caller passed one until v0.3.0.</li>
|
|
<li>The sync queue and its drain were built, tested and running in v0.4.6 with
|
|
neither of its two would-be producers ever called.</li>
|
|
<li>Both halves of the watched-state backend existed with no caller before v0.5.3.</li>
|
|
</ul>
|
|
<p>An automated check cannot see any of these — the code is present, tested and
|
|
reachable in principle. Only tracing a requirement to a <em>call site</em> catches it.</p>
|
|
<h2 id="short-windows-one-release-or-less"><a class="header" href="#short-windows-one-release-or-less">Short windows (one release or less)</a></h2>
|
|
<div class="table-wrapper"><table><thead><tr><th>Defect</th><th>Present since</th><th>Fixed in</th><th>Note</th></tr></thead><tbody>
|
|
<tr><td><code>experimentalNativeVideo</code> defaulted on, shipping audio with a blank screen (DR-161 → DR-172)</td><td>v0.5.3</td><td><strong>v0.5.4</strong></td><td>One release. The decode path was fine; the compositing step never ran.</td></tr>
|
|
<tr><td>Webview-shaped audio profile insufficient — server ignores a profile's audio codec (DR-149)</td><td>v0.4.7</td><td><strong>v0.4.8</strong></td><td>The v0.4.7 fix for DR-148 was necessary and not sufficient.</td></tr>
|
|
<tr><td>Android <code>versionCode</code> floor went stale (<code>minor*100</code> yielding less than the 5002 already in the field)</td><td>v0.5.0</td><td><strong>v0.5.3</strong></td><td>Caught before a broken APK shipped; no released build was un-installable.</td></tr>
|
|
<tr><td>Subtitle sidecar work reverted by a commit assembled from a stale tree</td><td>v0.5.5</td><td><strong>v0.5.5</strong></td><td>Never released broken — both commits are in v0.5.5.</td></tr>
|
|
</tbody></table>
|
|
</div>
|
|
<h2 id="fixed-twice--never-actually-broken"><a class="header" href="#fixed-twice--never-actually-broken">Fixed twice / never actually broken</a></h2>
|
|
<ul>
|
|
<li>
|
|
<p><strong>Autoplay time reset (v0.0.2).</strong> Two commit objects carry this identical
|
|
change: <code>dcf08f30</code> (merged via Gitea PR #3, tagged v0.0.2) and <code>fa7cb6e9</code> (the
|
|
local original). Both have the same parent <code>674c8e5c</code> and the same diff. A merge
|
|
chain pulled <code>fa7cb6e9</code> and its follow-up <code>1e599627</code> into master's history
|
|
during v0.5.5, so <code>git log v0.5.4..v0.5.5</code> lists an autoplay fix that changed no
|
|
file in that release — <code>nextEpisodeService.ts</code> is byte-identical across the tag
|
|
boundary. The fix shipped in <strong>v0.0.2</strong> and has not regressed.</p>
|
|
<p>This is the one case where reading the changelog off <code>git log</code> subjects would
|
|
have produced a false entry, and it is a good argument for the project's
|
|
practice of deriving release notes from TRACES rather than commit subjects.</p>
|
|
</li>
|
|
</ul>
|
|
<h2 id="recurring-shapes"><a class="header" href="#recurring-shapes">Recurring shapes</a></h2>
|
|
<p>Four causes account for most of the table:</p>
|
|
<ol>
|
|
<li><strong>An omitted parameter is not a neutral default.</strong> <code>SubtitleStreamIndex</code>,
|
|
<code>AudioStreamIndex</code>, <code>GroupItems</code> and <code>MaxAudioChannels</code> all had a server-side
|
|
default that was actively wrong, and in three of the four the server's choice
|
|
was more expensive than the one intended — burn-in forcing a full re-encode
|
|
being the extreme case.</li>
|
|
<li><strong>Silent binding failures.</strong> <code>videoBitRate</code> produced no error, no warning and a
|
|
plausible-looking file. So did an unbound <code>Range</code>, and so did the coverage gate
|
|
dividing by a stale denominator.</li>
|
|
<li><strong>Two layers each assuming the other acts.</strong> Native resume (adapter recorded
|
|
the position, backend never seeked), end-of-playback dispatch (two paths, one
|
|
unreachable), and the surface/attach split in v0.5.0's native video.</li>
|
|
<li><strong>A guard keyed on state that moves.</strong> The tap deferral keyed suppression on a
|
|
timer handle the callback had already cleared; the HTML5 toggle keyed
|
|
play-vs-pause on <code>el.paused</code>, which flips while buffering.</li>
|
|
</ol>
|
|
<h2 id="reproducing-this"><a class="header" href="#reproducing-this">Reproducing this</a></h2>
|
|
<p>The pickaxe rows can be re-derived directly:</p>
|
|
<pre><code class="language-bash">git log --oneline --reverse -S'<defective token>' -- src-tauri/src # introducing commit
|
|
git tag --contains <sha> | sort -V | head -1 # first release with it
|
|
</code></pre>
|
|
<p>Blaming the lines a fix removed (<code>git blame</code> at the fix's parent) is faster to run
|
|
across many commits but was <strong>not</strong> used for the rows above: it reliably lands on
|
|
whichever commit last touched the adjacent lines, which is usually not the commit
|
|
that introduced the defect. It was used only to shortlist candidates.</p>
|
|
|
|
</main>
|
|
|
|
<nav class="nav-wrapper" aria-label="Page navigation">
|
|
<!-- Mobile navigation buttons -->
|
|
<a rel="prev" href="build/build-windows.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
<i class="fa fa-angle-left"></i>
|
|
</a>
|
|
|
|
<a rel="next prefetch" href="build/docker.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
<i class="fa fa-angle-right"></i>
|
|
</a>
|
|
|
|
<div style="clear: both"></div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
<nav class="nav-wide-wrapper" aria-label="Page navigation">
|
|
<a rel="prev" href="build/build-windows.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
<i class="fa fa-angle-left"></i>
|
|
</a>
|
|
|
|
<a rel="next prefetch" href="build/docker.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
<i class="fa fa-angle-right"></i>
|
|
</a>
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
window.playground_copyable = true;
|
|
</script>
|
|
|
|
|
|
<script src="elasticlunr.min.js"></script>
|
|
<script src="mark.min.js"></script>
|
|
<script src="searcher.js"></script>
|
|
|
|
<script src="clipboard.min.js"></script>
|
|
<script src="highlight.js"></script>
|
|
<script src="book.js"></script>
|
|
|
|
<!-- Custom JS scripts -->
|
|
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|