forked from hummypkg/webif
1
0
Fork 0

Add to episode parsing tests

This commit is contained in:
HummyPkg 2021-01-18 23:05:01 +00:00
parent 488961c600
commit 269f844f43
2 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,11 @@ foreach {sample expected} {
{(S8, Ep2)} {S8E2/0}
{(S4 Ep22/24)} {S4E22/24}
{23/27.} {S0E23/27}
{Part 5/10} {S0E5/10}
{Pt. 5/10} {S0E5/10}
{Part 5 of 10} {S0E5/10}
{Pt. 5 of10} {S0E5/10}
{Pt5} {S0E5/0}
} {
set ts [ts new "synopsis {$sample}"]
$ts episode_name

View File

@ -698,7 +698,7 @@ ts method extract_numbers {} {
x seriesnum episodenum x episodetot
# (Part 5/10)
# (Pt. 5/10)
# (Pt. 5/10)
# (Part 5 of 10)
# (Pt. 5 of 10)
# (Pt5)