[PR #4652] [MERGED] Add support for custom item display preferences #10036

Closed
opened 2025-12-22 07:48:55 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4652
Author: @crobibero
Created: 12/3/2020
Status: Merged
Merged: 12/5/2020
Merged by: @joshuaboniface

Base: masterHead: display-preferences


📝 Commits (6)

  • b0c79ed Add support for custom item display preferences
  • 685c966 Suggestion from review
  • e765184 Fix existing DisplayPreferences migration
  • 8d87388 Use DisplayPreferencesId as ItemId
  • 3db6ae9 Add ItemId to all display preferences
  • 76250a8 Use md5 Guid for legacy compat

📊 Changes

11 files changed (+964 additions, -58 deletions)

View changed files

📝 Jellyfin.Api/Controllers/DisplayPreferencesController.cs (+49 -7)
Jellyfin.Data/Entities/CustomItemDisplayPreferences.cs (+90 -0)
📝 Jellyfin.Data/Entities/DisplayPreferences.cs (+11 -1)
📝 Jellyfin.Data/Jellyfin.Data.csproj (+1 -1)
📝 Jellyfin.Server.Implementations/JellyfinDb.cs (+11 -1)
Jellyfin.Server.Implementations/Migrations/20201204223655_AddCustomDisplayPreferences.Designer.cs (+522 -0)
Jellyfin.Server.Implementations/Migrations/20201204223655_AddCustomDisplayPreferences.cs (+108 -0)
📝 Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs (+99 -40)
📝 Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs (+31 -3)
📝 Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs (+22 -4)
📝 MediaBrowser.Controller/IDisplayPreferencesManager.cs (+20 -1)

📄 Description

Fixes https://github.com/jellyfin/jellyfin/issues/4635, https://github.com/jellyfin/jellyfin/issues/4058


🔄 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/4652 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 12/3/2020 **Status:** ✅ Merged **Merged:** 12/5/2020 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `display-preferences` --- ### 📝 Commits (6) - [`b0c79ed`](https://github.com/jellyfin/jellyfin/commit/b0c79edd2c25f560208a40aedea05498d48ca80e) Add support for custom item display preferences - [`685c966`](https://github.com/jellyfin/jellyfin/commit/685c96646849ddfebd47017345595a239a83b58d) Suggestion from review - [`e765184`](https://github.com/jellyfin/jellyfin/commit/e765184afa04b4f901f97406bada0cf94bc81605) Fix existing DisplayPreferences migration - [`8d87388`](https://github.com/jellyfin/jellyfin/commit/8d8738835ecc36c6f00157d4131d8200d5dd582a) Use DisplayPreferencesId as ItemId - [`3db6ae9`](https://github.com/jellyfin/jellyfin/commit/3db6ae91f6aa68a1eaf3da3d385b069bdd7721ee) Add ItemId to all display preferences - [`76250a8`](https://github.com/jellyfin/jellyfin/commit/76250a88959fa54646b45bbbb412dfeda30d556d) Use md5 Guid for legacy compat ### 📊 Changes **11 files changed** (+964 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Controllers/DisplayPreferencesController.cs` (+49 -7) ➕ `Jellyfin.Data/Entities/CustomItemDisplayPreferences.cs` (+90 -0) 📝 `Jellyfin.Data/Entities/DisplayPreferences.cs` (+11 -1) 📝 `Jellyfin.Data/Jellyfin.Data.csproj` (+1 -1) 📝 `Jellyfin.Server.Implementations/JellyfinDb.cs` (+11 -1) ➕ `Jellyfin.Server.Implementations/Migrations/20201204223655_AddCustomDisplayPreferences.Designer.cs` (+522 -0) ➕ `Jellyfin.Server.Implementations/Migrations/20201204223655_AddCustomDisplayPreferences.cs` (+108 -0) 📝 `Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs` (+99 -40) 📝 `Jellyfin.Server.Implementations/Users/DisplayPreferencesManager.cs` (+31 -3) 📝 `Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs` (+22 -4) 📝 `MediaBrowser.Controller/IDisplayPreferencesManager.cs` (+20 -1) </details> ### 📄 Description Fixes https://github.com/jellyfin/jellyfin/issues/4635, https://github.com/jellyfin/jellyfin/issues/4058 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 07:48:55 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#10036
No description provided.