Browse Source

optimize #17

pull/19/head
Nzix 5 years ago
parent
commit
09de07a8e9
  1. 2
      app.py
  2. 1
      requirements.txt

2
app.py

@ -54,7 +54,7 @@ def validate_collision(path):
def name_format(path, meta):
information = {
'artist': ','.join([artist[0] for artist in (meta.get('artist') if meta.get('artist') is not None else [])]),
'artist': ','.join([artist[0] for artist in meta.get('artist')]) if 'artist' in meta else None,
'title': meta.get('musicName'),
'album': meta.get('album')
}

1
requirements.txt

@ -1,3 +1,2 @@
Crypto
mutagen
pycryptodome

Loading…
Cancel
Save