mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2024-12-28 18:36:26 +00:00
Use overwriteFile settings when downloading embedded cover
This commit is contained in:
parent
638d8e6e57
commit
37141ec3c0
|
@ -304,7 +304,7 @@ class Downloader {
|
||||||
|
|
||||||
// Download and cache the coverart
|
// Download and cache the coverart
|
||||||
this.log(itemData, "getAlbumArt")
|
this.log(itemData, "getAlbumArt")
|
||||||
track.album.embeddedCoverPath = await downloadImage(track.album.embeddedCoverURL, track.album.embeddedCoverPath)
|
track.album.embeddedCoverPath = await downloadImage(track.album.embeddedCoverURL, track.album.embeddedCoverPath, this.settings.overwriteFile)
|
||||||
this.log(itemData, "gotAlbumArt")
|
this.log(itemData, "gotAlbumArt")
|
||||||
|
|
||||||
// Save local album art
|
// Save local album art
|
||||||
|
|
Loading…
Reference in a new issue