The Free Software Media System - Server Backend & API
Move Formatters to Jellyfin.Api
Patrick Barron7186b343bd21
diff --git a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs b/Jellyfin.Api/Formatters/CamelCaseJsonProfileFormatter.cssimilarity index 94%rename from Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.csrename to Jellyfin.Api/Formatters/CamelCaseJsonProfileFormatter.csindex ea8c5ecdb1..8f1f5dd940 100644--- a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs+++ b/Jellyfin.Api/Formatters/CamelCaseJsonProfileFormatter.cs@@ -2,7 +2,7 @@ using Jellyfin.Extensions.Json;using Microsoft.AspNetCore.Mvc.Formatters;using Microsoft.Net.Http.Headers;-namespace Jellyfin.Server.Formatters+namespace Jellyfin.Api.Formatters{/// <summary>/// Camel Case Json Profile Formatter.diff --git a/Jellyfin.Server/Formatters/CssOutputFormatter.cs b/Jellyfin.Api/Formatters/CssOutputFormatter.cssimilarity index 97%rename from Jellyfin.Server/Formatters/CssOutputFormatter.csrename to Jellyfin.Api/Formatters/CssOutputFormatter.csindex fdaa48f847..e88c8ad1b2 100644--- a/Jellyfin.Server/Formatters/CssOutputFormatter.cs+++ b/Jellyfin.Api/Formatters/CssOutputFormatter.cs@@ -3,7 +3,7 @@ using System.Threading.Tasks;using Microsoft.AspNetCore.Http;using Microsoft.AspNetCore.Mvc.Formatters;-namespace Jellyfin.Server.Formatters+namespace Jellyfin.Api.Formatters{/// <summary>/// Css output formatter.diff --git a/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs b/Jellyfin.Api/Formatters/PascalCaseJsonProfileFormatter.cssimilarity index 95%rename from Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.csrename to Jellyfin.Api/Formatters/PascalCaseJsonProfileFormatter.csindex 03ca7dda72..5d77dbf4cc 100644--- a/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs+++ b/Jellyfin.Api/Formatters/PascalCaseJsonProfileFormatter.cs@@ -3,7 +3,7 @@ using Jellyfin.Extensions.Json;using Microsoft.AspNetCore.Mvc.Formatters;using Microsoft.Net.Http.Headers;-namespace Jellyfin.Server.Formatters+namespace Jellyfin.Api.Formatters{/// <summary>/// Pascal Case Json Profile Formatter.diff --git a/Jellyfin.Server/Formatters/XmlOutputFormatter.cs b/Jellyfin.Api/Formatters/XmlOutputFormatter.cssimilarity index 96%rename from Jellyfin.Server/Formatters/XmlOutputFormatter.csrename to Jellyfin.Api/Formatters/XmlOutputFormatter.csindex 156368d695..df8b1650be 100644--- a/Jellyfin.Server/Formatters/XmlOutputFormatter.cs+++ b/Jellyfin.Api/Formatters/XmlOutputFormatter.cs@@ -4,7 +4,7 @@ using System.Threading.Tasks;using Microsoft.AspNetCore.Http;using Microsoft.AspNetCore.Mvc.Formatters;-namespace Jellyfin.Server.Formatters+namespace Jellyfin.Api.Formatters{/// <summary>/// Xml output formatter.diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.csindex f74152405a..e9af1cf83c 100644--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs@@ -20,13 +20,13 @@ using Jellyfin.Api.Auth.RequiresElevationPolicy;using Jellyfin.Api.Auth.SyncPlayAccessPolicy;using Jellyfin.Api.Constants;using Jellyfin.Api.Controllers;+using Jellyfin.Api.Formatters;using Jellyfin.Api.ModelBinders;using Jellyfin.Data.Enums;using Jellyfin.Extensions.Json;using Jellyfin.Networking.Configuration;using Jellyfin.Server.Configuration;using Jellyfin.Server.Filters;-using Jellyfin.Server.Formatters;using MediaBrowser.Common.Net;using MediaBrowser.Model.Entities;using MediaBrowser.Model.Session;