Skip to content

Commit

Permalink
Skip enrich metadata if no music brainz track id available
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef-Friedrich committed Feb 11, 2020
1 parent b8cf064 commit 5db3250
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions audiorename/meta.py
Expand Up @@ -357,6 +357,9 @@ def enrich_metadata(self):

if self.mb_trackid:
recording = query_mbrainz('recording', self.mb_trackid)
else:
print('No music brainz track id found.')
return

if self.mb_albumid:
release = query_mbrainz('release', self.mb_albumid)
Expand Down

0 comments on commit 5db3250

Please sign in to comment.