re-add library scan from library manager

This commit is contained in:
Cody Robibero
2022-07-23 18:59:21 -06:00
parent 47c2c536e4
commit 205783f46f
2 changed files with 14 additions and 0 deletions

View File

@@ -2453,6 +2453,12 @@ namespace Emby.Server.Implementations.Library
return RootFolder;
}
/// <inheritdoc />
public void QueueLibraryScan()
{
_taskManager.QueueScheduledTask<RefreshMediaLibraryTask>();
}
/// <inheritdoc />
public int? GetSeasonNumberFromPath(string path)
=> SeasonPathParser.Parse(path, true, true).SeasonNumber;