From f87915c0db0ff1ba0ac895a54be6d43016a907ef Mon Sep 17 00:00:00 2001
From: deurstann <tristan.derouet@gmail.com>
Date: Thu, 9 Sep 2021 16:33:25 +0200
Subject: [PATCH] Added languages and categories to kara regex

---
 common/lkt.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/lkt.js b/common/lkt.js
index c167221..e1db1dd 100644
--- a/common/lkt.js
+++ b/common/lkt.js
@@ -261,7 +261,7 @@ class LktClient {
         var dataObj;
         var karaList;
         var prevcont=0;
-        const regex = /([0-9]+) (vo|va|amv|cdg|autres|vtuber) - (jp|fr|en|ru|sp|it|ch|latin|heb|multi|undefined) \/ (.+) - (OP|ED|IS|AMV|PV|MV|LIVE)([0-9]*) - (.+) \[ (.+) \]/;
+        const regex = /([0-9]+) (vo|va|amv|cdg|vocaloid|autres|vtuber) - (jp|fr|en|ru|sp|it|ch|latin|heb|por|swe|de|multi|undefined) \/ (.+) - (OP|ED|IS|AMV|PV|MV|LIVE)([0-9]*) - (.+) \[ (.+) \]/;
         var reg = new RegExp(regex);
         function __getResult(client) {
             return new Promise(resolv => {
-- 
GitLab