[PR #3946] [MERGED] Clean up output formatters #9781

Closed
opened 2026-02-07 06:08:23 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/3946
Author: @crobibero
Created: 8/20/2020
Status: Merged
Merged: 9/4/2020
Merged by: @Bond-009

Base: masterHead: output-formatters


📝 Commits (6)

  • 2ca8d31 clean up output formatters
  • 4a64819 Fix dlna produces type
  • cb44f16 Merge remote-tracking branch 'upstream/master' into output-formatters
  • a523ff8 Merge remote-tracking branch 'upstream/master' into output-formatters
  • 1d3303f Move json profiles to constant strings.
  • 81c764e Merge branch 'master' into output-formatters

📊 Changes

7 files changed (+30 additions, -11 deletions)

View changed files

📝 Jellyfin.Api/BaseJellyfinApiController.cs (+5 -1)
📝 Jellyfin.Api/Controllers/DlnaServerController.cs (+5 -6)
📝 Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs (+4 -0)
📝 Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs (+1 -1)
📝 Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs (+3 -2)
📝 Jellyfin.Server/Formatters/XmlOutputFormatter.cs (+2 -1)
📝 MediaBrowser.Common/Json/JsonDefaults.cs (+10 -0)

📄 Description

Controllers won't return properly cased json without the produces attribute and RespectBrowserAcceptHeader set


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/3946 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 8/20/2020 **Status:** ✅ Merged **Merged:** 9/4/2020 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `output-formatters` --- ### 📝 Commits (6) - [`2ca8d31`](https://github.com/jellyfin/jellyfin/commit/2ca8d31b20d2494422570bb73c59ab3d79344743) clean up output formatters - [`4a64819`](https://github.com/jellyfin/jellyfin/commit/4a64819277b98ac98ba0051c49fcf0cbfe16319c) Fix dlna produces type - [`cb44f16`](https://github.com/jellyfin/jellyfin/commit/cb44f16068bb66db7e35e473530c0a85583c2511) Merge remote-tracking branch 'upstream/master' into output-formatters - [`a523ff8`](https://github.com/jellyfin/jellyfin/commit/a523ff840c4f4a83800bca02280e5b0f7765658b) Merge remote-tracking branch 'upstream/master' into output-formatters - [`1d3303f`](https://github.com/jellyfin/jellyfin/commit/1d3303fa0a4a106dc74065ed37f9353ef763a52a) Move json profiles to constant strings. - [`81c764e`](https://github.com/jellyfin/jellyfin/commit/81c764e87f52771a20e66af2d1c65245f2202925) Merge branch 'master' into output-formatters ### 📊 Changes **7 files changed** (+30 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/BaseJellyfinApiController.cs` (+5 -1) 📝 `Jellyfin.Api/Controllers/DlnaServerController.cs` (+5 -6) 📝 `Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs` (+4 -0) 📝 `Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs` (+1 -1) 📝 `Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs` (+3 -2) 📝 `Jellyfin.Server/Formatters/XmlOutputFormatter.cs` (+2 -1) 📝 `MediaBrowser.Common/Json/JsonDefaults.cs` (+10 -0) </details> ### 📄 Description Controllers won't return properly cased json without the produces attribute and `RespectBrowserAcceptHeader` set --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:08:23 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9781