From 6978dfc29441eb1a37571be14fe165c622bff3c7 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Tue, 25 Aug 2026 20:23:14 +0200 Subject: Delete a credit once no item maps to it any more --- MediaBrowser.Controller/Library/ILibraryManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MediaBrowser.Controller/Library') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index ca686fbd9d..2a6ea214b8 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -605,6 +605,12 @@ namespace MediaBrowser.Controller.Library /// List<System.String>. IReadOnlyList GetPeopleNames(InternalPeopleQuery query); + /// + /// Deletes every credit that no item maps to any more. + /// + /// The number of credits that were deleted. + int DeleteOrphanedCredits(); + /// /// Gets the distinct people names per item for multiple items. /// -- cgit v1.2.3