diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-26 16:04:00 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-26 16:04:00 +0200 |
| commit | c81eaa0bd07e360ec03406dfc63267c3013a0319 (patch) | |
| tree | dbce9709954cd640a77356b3cd6b00b632b6023d /docs/mediacenter.md | |
| parent | b1543faad87fd865f8746711ab5f10ac4f331e8b (diff) | |
| download | meshbay-c81eaa0bd07e360ec03406dfc63267c3013a0319.tar.gz | |
fix(video): fix two remaining bugs in Specials numbering and long-season episodes
1. A season spanning more than one folder (a per-book Bonus folder nested
inside every numbered season) got the same synthetic episode numbers
handed out again in each folder independently — three unrelated
Specials all showing up as "S0E01". _synthetic_episode_number now ranks
across the whole show for the target season, not just one file's own
folder.
2. guessit reads a bare 3-digit leading episode number as a concatenated
season+episode guess rather than a plain episode number — "100" parses
as season=1, episode=0, not episode=100, with nothing in its output
distinguishing that from a real 2-digit episode. A season-like ancestor
already overrides guessit's season (previous commit); this applies the
same fix to episode via a direct regex on the leading number, capped at
3 digits so a leading year (4 digits) is never misread the same way.
Both confirmed against the real library this whole fix was found on:
per-book Bonus features across two books no longer collide, and a real
100th-episode file now resolves to episode 100 instead of 0.
Diffstat (limited to 'docs/mediacenter.md')
0 files changed, 0 insertions, 0 deletions