fixing albumart download
This commit is contained in:
parent
2418bd784f
commit
a0827f784a
@ -45,7 +45,7 @@ def writeid3v2(fo, info_dict, ydl):
|
||||
maketag(b"TALB", makeutf8(info_dict["album"])), # tern NUL ?
|
||||
]
|
||||
try:
|
||||
fh = ydl.urlopen(url)
|
||||
fh = ydl.urlopen(info_dict["thumbnail"])
|
||||
id3.append(maketag(b"APIC", makepic(fh.read())))
|
||||
except Exception as e:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user