Skip to content

Commit 004edbc

Browse files
committed
Fix WEB-DL tag won't be added when custom platform detected
1 parent 00e7eae commit 004edbc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/releasesource.groovy

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
platform = platform.replace(".WEB-DL", "")
3232
// Some file may have additional "WEBRip" tag, consider it to new logic
3333
if (fn.contains("WEBRip")) {
34+
platform = platform.replace(".WEBRip", "")
3435
platform = platform + ".WEBRip"
35-
} else if (fn.contains("WEB-DL") || fn.contains("WEBDL")) {
36+
} else {
3637
platform = platform + ".WEB-DL"
3738
}
3839
platform

0 commit comments

Comments
 (0)