Skip to content

Commit

Permalink
Fix local playlist scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowghost committed May 15, 2024
1 parent a5d60c4 commit 80c9589
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions MediaBrowser.Controller/Entities/Audio/MusicAlbum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ public async Task RefreshAllMetadata(MetadataRefreshOptions refreshOptions, IPro

var childUpdateType = ItemUpdateType.None;

// Refresh songs only and not m3u files in album folder
foreach (var item in items.OfType<Audio>())
foreach (var item in items)
{
cancellationToken.ThrowIfCancellationRequested();

Expand Down
1 change: 0 additions & 1 deletion MediaBrowser.Providers/Manager/MetadataService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Jellyfin.Data.Enums;
using Jellyfin.Extensions;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Entities;
Expand Down
2 changes: 1 addition & 1 deletion MediaBrowser.Providers/Playlists/PlaylistItemsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Task<ItemUpdateType> FetchAsync(Playlist item, MetadataRefreshOptions opt

item.LinkedChildren = items;

return Task.FromResult(ItemUpdateType.None);
return Task.FromResult(ItemUpdateType.MetadataImport);
}

private IEnumerable<LinkedChild> GetItems(string path, string extension)
Expand Down

0 comments on commit 80c9589

Please sign in to comment.