Преглед изворни кода

Can now add multiple main and/or contributing artists

master
sharky555 пре 3 година
родитељ
комит
c0f4f972a1
2 измењених фајлова са 14 додато и 4 уклоњено
  1. +7
    -3
      autoupload.py
  2. +7
    -1
      json_data/dictionary.json

+ 7
- 3
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



+ 7
- 1
json_data/dictionary.json Прегледај датотеку

@@ -231,6 +231,12 @@
"Heavenstamp & ハハノシキュウ": null,
"비": null,
"ぼっちぼろまる": null,
"さなり": null
"さなり": null,
"家入レオ": null,
"凛として時雨": null,
"緑黄色社会": null,
"あるゆえ": null,
"宮下 遊": null,
"夢乃ゆき": null
}
}

Loading…
Откажи
Сачувај