diff options
| author | Bond-009 <bond.009@outlook.com> | 2022-01-02 12:31:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-02 12:31:20 +0100 |
| commit | 11d0c6827f1e0148e72dadbba0039b2c248bacbe (patch) | |
| tree | 03289bb5a648023ce4553fc77cbc1e60006d7031 /Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs | |
| parent | 1725b2ee69a3eae988239e02381ea51da93364bd (diff) | |
| parent | 28c2ac9cc0c2c7d9ed6e38b8de83755899e210f5 (diff) | |
Merge pull request #7058 from cvium/the_most_important_feature
Diffstat (limited to 'Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs b/Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs new file mode 100644 index 000000000..b8554bd51 --- /dev/null +++ b/Emby.Server.Implementations/Library/Resolvers/GenericVideoResolver.cs @@ -0,0 +1,24 @@ +#nullable disable + +using Emby.Naming.Common; +using MediaBrowser.Controller.Entities; + +namespace Emby.Server.Implementations.Library.Resolvers +{ + /// <summary> + /// Resolves a Path into an instance of the <see cref="Video"/> class. + /// </summary> + /// <typeparam name="T">The type of item to resolve.</typeparam> + public class GenericVideoResolver<T> : BaseVideoResolver<T> + where T : Video, new() + { + /// <summary> + /// Initializes a new instance of the <see cref="GenericVideoResolver{T}"/> class. + /// </summary> + /// <param name="namingOptions">The naming options.</param> + public GenericVideoResolver(NamingOptions namingOptions) + : base(namingOptions) + { + } + } +} |
