Commit e7a28c1
feat(type): type a yearless complete run as an episode
`other: Complete` is emitted for two unrelated things — a complete run of a
series and a complete disc of a film — and auto-detection read neither, so
every complete series pack came back as `type: movie`.
The signal that separates them is already in the guess: a film carries its own
release year, a run spanning several of them carries none. A yearless
`Complete` now weighs towards `episode`, in the same shape as the existing
`date and not year` / `bonus and not year` branches. On the sample of #953 that
takes 6/16 to 16/16.
`MINISERIES` was also left in the title next to the marker (`Chernobyl COMPLETE
MINISERIES`) where `SERIES` was consumed, giving consumers a phantom second key
for the same show; it joins the configured season words.
Neither half of the year signal is a proof, and the trade-off is deliberate: a
film whose filename omits its year, and a box set of films, are now typed
`episode`. Both are pinned in the corpus and recorded in the known-limitations
page.
closes #953
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent dcd7cf0 commit e7a28c1
6 files changed
Lines changed: 103 additions & 15 deletions
File tree
- docs
- guessit
- config
- rules/properties
- test
- cross_parser
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
316 | 334 | | |
317 | 335 | | |
318 | 336 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | 302 | | |
308 | 303 | | |
309 | 304 | | |
| |||
430 | 425 | | |
431 | 426 | | |
432 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
| |||
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
471 | 475 | | |
472 | 476 | | |
473 | 477 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2021 | 2021 | | |
2022 | 2022 | | |
2023 | 2023 | | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
2024 | 2057 | | |
2025 | 2058 | | |
2026 | 2059 | | |
2027 | 2060 | | |
2028 | 2061 | | |
2029 | 2062 | | |
2030 | | - | |
| 2063 | + | |
2031 | 2064 | | |
2032 | 2065 | | |
2033 | 2066 | | |
| |||
2038 | 2071 | | |
2039 | 2072 | | |
2040 | 2073 | | |
2041 | | - | |
| 2074 | + | |
2042 | 2075 | | |
2043 | 2076 | | |
2044 | 2077 | | |
| |||
2047 | 2080 | | |
2048 | 2081 | | |
2049 | 2082 | | |
2050 | | - | |
| 2083 | + | |
2051 | 2084 | | |
2052 | 2085 | | |
2053 | 2086 | | |
2054 | 2087 | | |
2055 | 2088 | | |
2056 | 2089 | | |
2057 | 2090 | | |
2058 | | - | |
| 2091 | + | |
2059 | 2092 | | |
2060 | 2093 | | |
2061 | 2094 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
1120 | | - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
1121 | 1122 | | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1125 | 1133 | | |
1126 | 1134 | | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1127 | 1152 | | |
1128 | 1153 | | |
1129 | 1154 | | |
| |||
0 commit comments