Skip to content

Commit

Permalink
enclosure_tags: use feed title as artist too. #344
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon24 committed Jun 24, 2024
1 parent 6a8c3ad commit 6229e76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/reader/_plugins/enclosure_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ def enclosure_tags_filter(enclosure, entry, feed_tags):
args['title'] = entry.title
if album := (entry.feed.user_title or entry.feed.title):
args['album'] = album
if artist := (entry.author or entry.feed.author):
args['artist'] = album
elif artist := (entry.author or entry.feed.author):
args['artist'] = artist

for tag in feed_tags:
Expand Down

0 comments on commit 6229e76

Please sign in to comment.