Explorar el Código

Can now add multiple main and/or contributing artists

master
sharky555 hace 3 años
padre
commit
c0f4f972a1
Se han modificado 2 ficheros con 14 adiciones y 4 borrados
  1. +7
    -3
      autoupload.py
  2. +7
    -1
      json_data/dictionary.json

+ 7
- 3
autoupload.py Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar