Make output of metadata_extracter.py depends on the specified TAB

This commit is contained in:
Benjamin Loison 2024-01-03 14:54:35 +01:00
parent 5a6382ea00
commit 43a9527bcc
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -31,6 +31,7 @@ while True:
else:
break
with open('music.json', 'w') as f:
fileName = TAB.lower().replace(' ', '_') + '.json'
with open(fileName, 'w') as f:
json.dump(allTracks, f, indent=4)