From 79f5a9ab67e887782fcd0101e8c7c3c875204134 Mon Sep 17 00:00:00 2001 From: Cainan Date: Mon, 17 Jun 2024 19:31:07 +0100 Subject: [PATCH] Update batch_convert.py Fix Mania/Ura having no values in musicinfo --- TjaBatchConvert/batch_convert.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TjaBatchConvert/batch_convert.py b/TjaBatchConvert/batch_convert.py index a37ef9f..ae4d96d 100644 --- a/TjaBatchConvert/batch_convert.py +++ b/TjaBatchConvert/batch_convert.py @@ -169,18 +169,18 @@ def create_json_files(info, genre_no, unique_id, output_dir): "shinutiEasy": info.get("shinutiEasy", 0), "shinutiNormal": info.get("shinutiNormal", 0), "shinutiHard": info.get("shinutiHard", 0), - "shinutiMania": info.get("shinutiMania", 0), + "shinutiMania": info.get("shinutiOni", 0), "shinutiUra": info.get("shinutiUra", 0), "shinutiEasyDuet": info.get("shinutiEasyDuet", 0), "shinutiNormalDuet": info.get("shinutiNormalDuet", 0), "shinutiHardDuet": info.get("shinutiHardDuet", 0), - "shinutiManiaDuet": info.get("shinutiManiaDuet", 0), - "shinutiUraDuet": info.get("shinutiUraDuet", 0), + "shinutiManiaDuet": info.get("shinutiOniDuet", 0), + "shinutiUraDuet": info.get("shinutiEditDuet", 0), "scoreEasy": info.get("scoreEasy", 0), "scoreNormal": info.get("scoreNormal", 0), "scoreHard": info.get("scoreHard", 0), - "scoreMania": info.get("scoreMania", 0), - "scoreUra": info.get("scoreUra", 0) + "scoreMania": info.get("scoreOni", 0), + "scoreUra": info.get("scoreEdit", 0) } previewpos = {