Added default lines to the top of a new list

This commit is contained in:
Jamie Hardt
2024-10-17 12:19:08 -07:00
parent 0ba40893df
commit a2ce03a259

View File

@@ -40,6 +40,20 @@ def create_batch_list(command_file: str, recursive=True, sort_mode='path'):
"""
with open(command_file, mode='w', encoding='utf-8') as f:
f.write("# mfbatch\n\n")
f.write("""
# :set DESCRIPTION ""
# :set TITLE ""
# :set VERSION ""
# :set ALBUM ""
# :set ARTIST ""
# :set TRACKNUMBER ""
# :set COPYRIGHT ""
# :set LICENSE ""
# :set CONTACT ""
# :set ORGAIZATION ""
# :set LOCATION ""
# :set MICROPHONE ""
""")
metadatums = {}
flac_files = glob('./**/*.flac', recursive=recursive)