Skip to content

Commit a9e149d

Browse files
committed
Drop season name if it contains 'Series {s}'
1 parent 93ca676 commit a9e149d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/season.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
// if kv contains Series name from fixed_title (partially or fully), then remove it
1010
def kv = fixed_name.contains(fixed_title) ? "" : fixed_name
1111
// Sanitize the season name if it just repeats the "Season" string
12-
kv == 'Season '+ s ? "" : kv ? " - " + kv : ""
12+
kv == 'Season '+ s || kv == 'Series '+ s ? "" : kv ? " - " + kv : ""
1313
}
14-
{"/"}
14+
{"/"}

0 commit comments

Comments
 (0)