mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
ease up device discovery
This commit is contained in:
@@ -560,7 +560,7 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||
/// <returns>Task.</returns>
|
||||
private async Task ProcessPathChanges(List<string> paths)
|
||||
{
|
||||
var itemsToRefresh = paths.Select(Path.GetDirectoryName)
|
||||
var itemsToRefresh = paths
|
||||
.Select(GetAffectedBaseItem)
|
||||
.Where(item => item != null)
|
||||
.Distinct()
|
||||
|
||||
Reference in New Issue
Block a user