From d13f2ed0157d2504d100b2f90bdc272f29dbe3c7 Mon Sep 17 00:00:00 2001 From: Yamata Date: Mon, 15 Nov 2021 17:48:50 +0200 Subject: [PATCH] Fix episodes --- app.min.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app.min.js b/app.min.js index 083a53ec..1c6527d4 100644 --- a/app.min.js +++ b/app.min.js @@ -7388,7 +7388,12 @@ }; var math = path.match(/s([0-9]+)\.?ep?([0-9]+)/); if (!math) math = path.match(/s([0-9]{2})([0-9]+)/); - if (!math) math = path.match(/([0-9]{1,2})x([0-9]+)/); + if (!math) math = path.match(/[ |\[|(]([0-9]{1,2})x([0-9]+)/); + + if (!math) { + math = path.match(/[ |\[|(]([0-9]{1,3}) of ([0-9]+)/); + if (math) math = [0, 1, math[1]]; + } if (!math) { math = path.match(/ep?([0-9]+)/);