Merge pull request #8167 from crobibero/plugin-library-scan

This commit is contained in:
Bond-009
2022-07-24 22:59:21 +02:00
committed by GitHub
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;