mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
remove unneeded async signatures
This commit is contained in:
@@ -154,20 +154,13 @@ namespace Emby.Server.Implementations.IO
|
||||
.DistinctBy(i => i.Id)
|
||||
.ToList();
|
||||
|
||||
//foreach (var p in paths)
|
||||
//{
|
||||
// Logger.Info(p + " reports change.");
|
||||
//}
|
||||
|
||||
// If the root folder changed, run the library task so the user can see it
|
||||
if (itemsToRefresh.Any(i => i is AggregateFolder))
|
||||
{
|
||||
LibraryManager.ValidateMediaLibrary(new SimpleProgress<double>(), CancellationToken.None);
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var item in itemsToRefresh)
|
||||
{
|
||||
if (item is AggregateFolder)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Logger.Info(item.Name + " (" + item.Path + ") will be refreshed.");
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user