[PR #4018] [MERGED] Library Entity Cleanup #9820

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4018
Author: @barronpm
Created: 8/31/2020
Status: Merged
Merged: 8/31/2020
Merged by: @Bond-009

Base: masterHead: library-entity-cleanup


📝 Commits (2)

  • 414bedb Move library entities to folder.
  • acb213e First pass at cleaning entity classes.

📊 Changes

90 files changed (+2566 additions, -6446 deletions)

View changed files

📝 Jellyfin.Api/Controllers/ItemsController.cs (+1 -1)
📝 Jellyfin.Api/Controllers/LibraryController.cs (+1 -2)
📝 Jellyfin.Api/Controllers/MoviesController.cs (+2 -1)
📝 Jellyfin.Data/Entities/ActivityLog.cs (+2 -1)
Jellyfin.Data/Entities/Artwork.cs (+0 -210)
Jellyfin.Data/Entities/Book.cs (+0 -72)
Jellyfin.Data/Entities/BookMetadata.cs (+0 -125)
Jellyfin.Data/Entities/Chapter.cs (+0 -277)
Jellyfin.Data/Entities/Collection.cs (+0 -123)
Jellyfin.Data/Entities/CollectionItem.cs (+0 -156)
Jellyfin.Data/Entities/Company.cs (+0 -159)
Jellyfin.Data/Entities/CompanyMetadata.cs (+0 -236)
Jellyfin.Data/Entities/CustomItem.cs (+0 -71)
Jellyfin.Data/Entities/CustomItemMetadata.cs (+0 -83)
Jellyfin.Data/Entities/Episode.cs (+0 -118)
Jellyfin.Data/Entities/EpisodeMetadata.cs (+0 -198)
Jellyfin.Data/Entities/Genre.cs (+0 -162)
📝 Jellyfin.Data/Entities/Group.cs (+2 -1)
Jellyfin.Data/Entities/Libraries/Artwork.cs (+81 -0)
Jellyfin.Data/Entities/Libraries/Book.cs (+28 -0)

...and 70 more files

📄 Description

Changes

  • Documents all library entities
  • Adds interfaces to allow for more code reuse
  • Removes partial keyword from entities
  • Fixes most styler warnings

🔄 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/4018 **Author:** [@barronpm](https://github.com/barronpm) **Created:** 8/31/2020 **Status:** ✅ Merged **Merged:** 8/31/2020 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `master` ← **Head:** `library-entity-cleanup` --- ### 📝 Commits (2) - [`414bedb`](https://github.com/jellyfin/jellyfin/commit/414bedbde4b6c522d46ed7448eb9f7c97aeda4b4) Move library entities to folder. - [`acb213e`](https://github.com/jellyfin/jellyfin/commit/acb213e4b8edf1c55f615fa8d0079f0fb7fdea68) First pass at cleaning entity classes. ### 📊 Changes **90 files changed** (+2566 additions, -6446 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Controllers/ItemsController.cs` (+1 -1) 📝 `Jellyfin.Api/Controllers/LibraryController.cs` (+1 -2) 📝 `Jellyfin.Api/Controllers/MoviesController.cs` (+2 -1) 📝 `Jellyfin.Data/Entities/ActivityLog.cs` (+2 -1) ➖ `Jellyfin.Data/Entities/Artwork.cs` (+0 -210) ➖ `Jellyfin.Data/Entities/Book.cs` (+0 -72) ➖ `Jellyfin.Data/Entities/BookMetadata.cs` (+0 -125) ➖ `Jellyfin.Data/Entities/Chapter.cs` (+0 -277) ➖ `Jellyfin.Data/Entities/Collection.cs` (+0 -123) ➖ `Jellyfin.Data/Entities/CollectionItem.cs` (+0 -156) ➖ `Jellyfin.Data/Entities/Company.cs` (+0 -159) ➖ `Jellyfin.Data/Entities/CompanyMetadata.cs` (+0 -236) ➖ `Jellyfin.Data/Entities/CustomItem.cs` (+0 -71) ➖ `Jellyfin.Data/Entities/CustomItemMetadata.cs` (+0 -83) ➖ `Jellyfin.Data/Entities/Episode.cs` (+0 -118) ➖ `Jellyfin.Data/Entities/EpisodeMetadata.cs` (+0 -198) ➖ `Jellyfin.Data/Entities/Genre.cs` (+0 -162) 📝 `Jellyfin.Data/Entities/Group.cs` (+2 -1) ➕ `Jellyfin.Data/Entities/Libraries/Artwork.cs` (+81 -0) ➕ `Jellyfin.Data/Entities/Libraries/Book.cs` (+28 -0) _...and 70 more files_ </details> ### 📄 Description **Changes** - Documents all library entities - Adds interfaces to allow for more code reuse - Removes `partial` keyword from entities - Fixes most styler warnings --- <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:09:04 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9820