Merge pull request #8163 from daullmer/cover-m3u

Don't refresh playlists on album refresh
This commit is contained in:
Claus Vium 2022-07-24 19:38:54 +02:00 committed by GitHub
commit 444b0ea310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,8 +169,8 @@ namespace MediaBrowser.Controller.Entities.Audio
var childUpdateType = ItemUpdateType.None;
// Refresh songs
foreach (var item in items)
// Refresh songs only and not m3u files in album folder
foreach (var item in items.OfType<Audio>())
{
cancellationToken.ThrowIfCancellationRequested();