Skip to content

Commit

Permalink
Merge pull request #15 from olepbr/main
Browse files Browse the repository at this point in the history
Use album_title field as title.
  • Loading branch information
meeb committed Oct 26, 2023
2 parents e217a7a + c7f471e commit 3eda18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bandcampsync/bandcamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def load_purchases(self):
log.error(f'Failed to locate band name in item metadata, skipping item...')
continue
try:
title = item_data['title']
title = item_data['album_title']
except KeyError:
log.error(f'Failed to locate title in item metadata (possibly a subscription?) for "{band_name}", skipping item...')
continue
Expand Down

0 comments on commit 3eda18a

Please sign in to comment.