diff options
| author | crobibero <cody@robibe.ro> | 2020-08-15 10:39:24 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-15 10:39:24 -0600 |
| commit | 2d4e91c5a202aeb7b5d6d2206767d05a8f850212 (patch) | |
| tree | c3b07cba98337539282e3a88408099abdc71952f /Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | |
| parent | f505f48e8580833cb2d3a80413ab7b168aa61fe7 (diff) | |
Add xml output formatter
Diffstat (limited to 'Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs')
| -rw-r--r-- | Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs index 83d8fac5b..2e2bfea68 100644 --- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs +++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs @@ -154,6 +154,7 @@ namespace Jellyfin.Server.Extensions opts.OutputFormatters.Insert(0, new PascalCaseJsonProfileFormatter()); opts.OutputFormatters.Add(new CssOutputFormatter()); + opts.OutputFormatters.Add(new XmlOutputFormatter()); }) // Clear app parts to avoid other assemblies being picked up |
