|
|
|
@ -1,15 +1,21 @@
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
|
|
|
|
|
using Emby.Naming.Common;
|
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
|
|
|
|
|
namespace Emby.Server.Implementations.Library.Resolvers
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Resolves a Path into a Video or Video subclass.
|
|
|
|
|
/// </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"/> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="namingOptions">The naming options.</param>
|
|
|
|
|
public GenericVideoResolver(NamingOptions namingOptions)
|
|
|
|
|
: base(namingOptions)
|
|
|
|
|
{
|
|
|
|
|