forked from hummypkg/webif
Add to episode parsing tests
This commit is contained in:
parent
488961c600
commit
269f844f43
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user