Skip to content
Extraits de code Groupes Projets
Vérifiée Valider 04c4d50a rédigé par Kubat's avatar Kubat
Parcourir les fichiers

Add missing 'voca' category to regex

parent 6e81123a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #2143 réussi avec des avertissements
...@@ -39,7 +39,7 @@ CREATE TABLE IF NOT EXISTS kara_category ...@@ -39,7 +39,7 @@ CREATE TABLE IF NOT EXISTS kara_category
); );
INSERT OR REPLACE INTO kara_category (id, name) VALUES INSERT OR REPLACE INTO kara_category (id, name) VALUES
(1, 'vo'), (2, 'va'), (3, 'amv'), (4, 'cdg'), (5, 'autres'), (6, 'vocaloid'); (1, 'vo'), (2, 'va'), (3, 'amv'), (4, 'cdg'), (5, 'autres'), (6, 'vocaloid'), (7, 'vtuber');
CREATE TABLE IF NOT EXISTS language CREATE TABLE IF NOT EXISTS language
( id INTEGER PRIMARY KEY ( id INTEGER PRIMARY KEY
......
...@@ -155,7 +155,7 @@ metadata_from_path(char *const mkvfile, struct kara_metadata *meta) ...@@ -155,7 +155,7 @@ metadata_from_path(char *const mkvfile, struct kara_metadata *meta)
/* TODO: Import types and categories from the db */ /* TODO: Import types and categories from the db */
static const char *rgx = static const char *rgx =
"^/(.+)/(vo|va|amv|cdg|autres|vtuber)/" "^/(.+)/(vo|va|amv|cdg|autres|vtuber|vocaloid)/"
"(jp|fr|en|ru|sp|it|ch|latin|multi|undefined)/(.+)/" "(jp|fr|en|ru|sp|it|ch|latin|multi|undefined)/(.+)/"
"(.+) - (OP|ED|IS|AMV|PV|MV|LIVE)([[:digit:]]*) - (.+)\\.mkv$"; "(.+) - (OP|ED|IS|AMV|PV|MV|LIVE)([[:digit:]]*) - (.+)\\.mkv$";
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter