mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 12:44:19 +01:00
Fully async'd xml parsing process as well as added resolver and provider priorities
This commit is contained in:
parent
19a4dd83c2
commit
8f024e8199
@@ -14,6 +14,14 @@ namespace MediaBrowser.Controller.Resolvers
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual ResolverPriority Priority
|
||||
{
|
||||
get
|
||||
{
|
||||
return ResolverPriority.First;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets initial values on the newly resolved item
|
||||
/// </summary>
|
||||
@@ -89,5 +97,14 @@ namespace MediaBrowser.Controller.Resolvers
|
||||
public interface IBaseItemResolver
|
||||
{
|
||||
Task<BaseItem> ResolvePath(ItemResolveEventArgs args);
|
||||
ResolverPriority Priority { get; }
|
||||
}
|
||||
|
||||
public enum ResolverPriority
|
||||
{
|
||||
First,
|
||||
Second,
|
||||
Third,
|
||||
Last
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user