Rename DevFastAccessCoverArt to EnableMediaFileCoverArt

This commit is contained in:
Deluan
2022-12-27 14:30:00 -05:00
committed by Deluan Quintão
parent 722a00cacf
commit 332900774d
6 changed files with 14 additions and 17 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func (mf MediaFile) ContentType() string {
func (mf MediaFile) CoverArtID() ArtworkID {
// If it has a cover art, return it (if feature is disabled, skip)
if mf.HasCoverArt && !conf.Server.DevFastAccessCoverArt {
if mf.HasCoverArt && conf.Server.EnableMediaFileCoverArt {
return artworkIDFromMediaFile(mf)
}
// if it does not have a coverArt, fallback to the album cover