Use overwriteFile settings when downloading embedded cover

This commit is contained in:
RemixDev 2021-06-09 12:36:49 +02:00
parent 638d8e6e57
commit 37141ec3c0

View file

@ -304,7 +304,7 @@ class Downloader {
// Download and cache the coverart
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")
// Save local album art