From c0f4f972a111d435877a4e47e4dadb3a5a80df47 Mon Sep 17 00:00:00 2001 From: sharky555 Date: Tue, 26 Jan 2021 15:02:53 -0700 Subject: [PATCH] Can now add multiple main and/or contributing artists --- autoupload.py | 10 +++++++--- json_data/dictionary.json | 8 +++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/autoupload.py b/autoupload.py index 983c868..1cb773f 100644 --- a/autoupload.py +++ b/autoupload.py @@ -521,11 +521,15 @@ def gatherdata(directory): if debug: print(f"{releasedata['idols[]']} < English = {en}") if en == False: - input_english_artist = input("\n" + "_" * 100 + "\nKorean/Japanese Detected. Seperate multiple main artists with \",\". Please enter the romaji/english artist name:\n") - # Create new key called titlejp and assign the old title to it - # Replace title with the user input. + input_english_artist = input("\n" + "_" * 100 + "\nKorean/Japanese Detected. Separate multiple main artists with \",\". Please enter the romaji/english artist name:\n") input_english_artist = [x.strip() for x in input_english_artist.split(',')] releasedata['idols[]'] = input_english_artist + + input_english_contributing_artist = input("\n" + "_" * 100 + "\nSeparate multiple contributing artists with \",\". Press enter to skip. Please enter the romaji/english artist name:\n") + if input_english_contributing_artist != "": + input_english_contributing_artist = [x.strip() for x in input_english_contributing_artist.split(',')] + releasedata['contrib_artists[]'] = input_english_contributing_artist + return releasedata diff --git a/json_data/dictionary.json b/json_data/dictionary.json index a8b5ace..ab6e1d9 100644 --- a/json_data/dictionary.json +++ b/json_data/dictionary.json @@ -231,6 +231,12 @@ "Heavenstamp & ハハノシキュウ": null, "비": null, "ぼっちぼろまる": null, - "さなり": null + "さなり": null, + "家入レオ": null, + "凛として時雨": null, + "緑黄色社会": null, + "あるゆえ": null, + "宮下 遊": null, + "夢乃ゆき": null } } \ No newline at end of file