Ignore directories for replace_files
This commit is contained in:
parent
9af20c29d3
commit
04f1fba581
@ -87,6 +87,8 @@ def main():
|
||||
|
||||
for new_fname in os.listdir(source_dir):
|
||||
new_path = os.path.join(source_dir, new_fname)
|
||||
if not os.path.isfile(new_path):
|
||||
continue
|
||||
new_tags = get_tags(new_path)
|
||||
new_title = new_tags['title']
|
||||
new_artist = new_tags['artist']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user