|
|
@ -17,6 +17,7 @@ using Jellyfin.Api.Auth.LocalAccessPolicy;
|
|
|
|
using Jellyfin.Api.Auth.RequiresElevationPolicy;
|
|
|
|
using Jellyfin.Api.Auth.RequiresElevationPolicy;
|
|
|
|
using Jellyfin.Api.Constants;
|
|
|
|
using Jellyfin.Api.Constants;
|
|
|
|
using Jellyfin.Api.Controllers;
|
|
|
|
using Jellyfin.Api.Controllers;
|
|
|
|
|
|
|
|
using Jellyfin.Api.ModelBinders;
|
|
|
|
using Jellyfin.Server.Configuration;
|
|
|
|
using Jellyfin.Server.Configuration;
|
|
|
|
using Jellyfin.Server.Filters;
|
|
|
|
using Jellyfin.Server.Filters;
|
|
|
|
using Jellyfin.Server.Formatters;
|
|
|
|
using Jellyfin.Server.Formatters;
|
|
|
@ -169,6 +170,8 @@ namespace Jellyfin.Server.Extensions
|
|
|
|
|
|
|
|
|
|
|
|
opts.OutputFormatters.Add(new CssOutputFormatter());
|
|
|
|
opts.OutputFormatters.Add(new CssOutputFormatter());
|
|
|
|
opts.OutputFormatters.Add(new XmlOutputFormatter());
|
|
|
|
opts.OutputFormatters.Add(new XmlOutputFormatter());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
opts.ModelBinderProviders.Insert(0, new NullableEnumModelBinderProvider());
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// Clear app parts to avoid other assemblies being picked up
|
|
|
|
// Clear app parts to avoid other assemblies being picked up
|
|
|
|