Update embedart.py

This commit is contained in:
Alok Saboo 2023-03-18 19:12:29 -04:00
parent 64c2ae138d
commit 59d5d23bb3

View file

@ -119,6 +119,7 @@ class EmbedCoverArtPlugin(BeetsPlugin):
with open('temp.jpg', 'wb') as f:
f.write(response.content)
opts.file = 'temp.jpg'
items = lib.items(decargs(args))
# Confirm with user.
if not opts.yes and not _confirm(items, not opts.url):
return