mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-28 14:04:49 -04:00
Fix bug where cover param is ignored
This commit is contained in:
parent
696e844c30
commit
caa959ba2c
1 changed files with 1 additions and 1 deletions
|
@ -416,8 +416,8 @@ class Track:
|
|||
|
||||
if embed_cover and cover is None:
|
||||
assert hasattr(self, "cover_path")
|
||||
cover = Tracklist.get_cover_obj(self.cover_path, self.quality)
|
||||
|
||||
cover = Tracklist.get_cover_obj(self.cover_path, self.quality)
|
||||
if isinstance(audio, FLAC):
|
||||
if embed_cover:
|
||||
audio.add_picture(cover)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue