Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c87b7a4c7f | ||
|
|
a000e349c9 | ||
|
|
f23e3c04ec | ||
|
|
63146fdc27 | ||
|
|
7795598346 |
No files matched your search
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [3.20.3](https://github.com/Masutayunikon/FanKarr/compare/v3.20.2...v3.20.3) (2026-06-26)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **serie:** ajout du label de saisons avec les episodes ([63146fd](https://github.com/Masutayunikon/FanKarr/commit/63146fdc27d98acb70cf86c7890ea1236388d717))
|
||||||
|
|
||||||
## [3.20.2](https://github.com/Masutayunikon/FanKarr/compare/v3.20.1...v3.20.2) (2026-06-26)
|
## [3.20.2](https://github.com/Masutayunikon/FanKarr/compare/v3.20.1...v3.20.2) (2026-06-26)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -618,19 +618,21 @@ function _parseEpChap(plot: string | null | undefined): {
|
|||||||
|
|
||||||
const seasonMatch = text.match(/saison\s+(\d+)/i)
|
const seasonMatch = text.match(/saison\s+(\d+)/i)
|
||||||
|
|
||||||
|
const season = epMatch?.[3] ?? seasonMatch?.[1] ?? null
|
||||||
|
|
||||||
const chapMatch = text.match(
|
const chapMatch = text.match(
|
||||||
/chapitres?\s+(\d+)(?:\s+[àa]\s+(\d+))?/i
|
/chapitres?\s+(\d+)(?:\s+[àa]\s+(\d+))?/i
|
||||||
)
|
)
|
||||||
|
|
||||||
const episodes = epMatch
|
const episodes = epMatch
|
||||||
? (epMatch[2] ? `Ép. ${epMatch[1]}–${epMatch[2]}` : `Ép. ${epMatch[1]}`)
|
? `${season ? `S${season} · ` : ''}${
|
||||||
|
epMatch[2]
|
||||||
|
? `Ép. ${epMatch[1]}–${epMatch[2]}`
|
||||||
|
: `Ép. ${epMatch[1]}`
|
||||||
|
}`
|
||||||
: null
|
: null
|
||||||
|
|
||||||
const season = epMatch?.[3]
|
|
||||||
? Number(epMatch[3])
|
|
||||||
: seasonMatch
|
|
||||||
? Number(seasonMatch[1])
|
|
||||||
: null
|
|
||||||
|
|
||||||
const chapters = chapMatch
|
const chapters = chapMatch
|
||||||
? (chapMatch[2] ? `Ch. ${chapMatch[1]}–${chapMatch[2]}` : `Ch. ${chapMatch[1]}`)
|
? (chapMatch[2] ? `Ch. ${chapMatch[1]}–${chapMatch[2]}` : `Ch. ${chapMatch[1]}`)
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
3.20.2
|
3.20.3
|
||||||
Reference in new issue
Block a user