소스 검색

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
}
}

불러오는 중...
취소
저장