Adds metadata aggregation to the media library enrichment job

This commit is contained in:
BinaryAlley committed 2026-08-24 14:18:40 -07:00
1 parent c82fadc7a2
commit 66871ccf62
168 files changed
+3503 -1062

No files matched your search

@@ -34,7 +34,7 @@ public class AddLibraryEndpointSummary : Summary<AddLibraryEndpoint, AddLibraryR
CoverImage: "/media/posters/myPoster.jpg",
IsEnabled: true,
IsLocked: false,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: false,
ShouldSkipUnchangedDirectoriesDuringScan: false
);
@@ -45,7 +45,7 @@ public class AddLibraryEndpointSummary : Summary<AddLibraryEndpoint, AddLibraryR
RequestParam(r => r.CoverImage, "The path of the image file used as the cover for the library. Optional.");
RequestParam(r => r.IsEnabled, "Whether this media library is enabled or not. A disabled media library is never shown or changed. Optional.");
RequestParam(r => r.IsLocked, "Whether this media library is locked or not. A locked media library is displayed, but is never changed or updated. Optional.");
RequestParam(r => r.DownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not. Optional.");
RequestParam(r => r.CanDownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not. Optional.");
RequestParam(r => r.ShouldSaveMetadataInMediaDirectories, "Whether this media library should copy the downloaded metadata into the media library content locations, or not. Optional.");
RequestParam(r => r.ShouldSkipUnchangedDirectoriesDuringScan, "Whether this media library should skip the directories whose contents have not changed since the last scan, during the scan, or not. Optional.");
@@ -57,7 +57,7 @@ public class AddLibraryEndpointSummary : Summary<AddLibraryEndpoint, AddLibraryR
ResponseParam<LibraryResponse>(r => r.CoverImage, "The path of the image file used as the cover for the library.");
ResponseParam<LibraryResponse>(r => r.IsEnabled, "Whether this media library is enabled or not. A disabled media library is never shown or changed.");
ResponseParam<LibraryResponse>(r => r.IsLocked, "Whether this media library is locked or not. A locked media library is displayed, but is never changed or updated.");
ResponseParam<LibraryResponse>(r => r.DownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not.");
ResponseParam<LibraryResponse>(r => r.CanDownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not.");
ResponseParam<LibraryResponse>(r => r.ShouldSaveMetadataInMediaDirectories, "Whether this media library should copy the downloaded metadata into the media library content locations, or not.");
ResponseParam<LibraryResponse>(r => r.ShouldSkipUnchangedDirectoriesDuringScan, "Whether this media library should skip the directories whose contents have not changed since the last scan, during the scan, or not.");
ResponseParam<LibraryResponse>(r => r.CreatedOnUtc, "The date and time when the entity was created.");
@@ -73,7 +73,7 @@ public class AddLibraryEndpointSummary : Summary<AddLibraryEndpoint, AddLibraryR
CoverImage: "/media/myPoster.jpg",
IsEnabled: true,
IsLocked: false,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: false,
ShouldSkipUnchangedDirectoriesDuringScan: false,
CreatedOnUtc: DateTime.UtcNow,
@@ -33,7 +33,7 @@ public class GetEnabledLibrariesEndpointSummary : Summary<GetEnabledLibrariesEnd
CoverImage: "/media/myTvShowPoster.jpg",
IsEnabled: true,
IsLocked: false,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: false,
ShouldSkipUnchangedDirectoriesDuringScan: false,
CreatedOnUtc: DateTime.UtcNow,
@@ -48,7 +48,7 @@ public class GetEnabledLibrariesEndpointSummary : Summary<GetEnabledLibrariesEnd
CoverImage: "/media/myMoviePoster.jpg",
IsEnabled: true,
IsLocked: true,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: true,
ShouldSkipUnchangedDirectoriesDuringScan: false,
CreatedOnUtc: DateTime.UtcNow,
@@ -33,7 +33,7 @@ public class GetLibrariesEndpointSummary : Summary<GetLibrariesEndpoint, EmptyRe
CoverImage: "/media/myTvShowPoster.jpg",
IsEnabled: true,
IsLocked: false,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: false,
ShouldSkipUnchangedDirectoriesDuringScan: false,
CreatedOnUtc: DateTime.UtcNow,
@@ -48,7 +48,7 @@ public class GetLibrariesEndpointSummary : Summary<GetLibrariesEndpoint, EmptyRe
CoverImage: "/media/myMoviePoster.jpg",
IsEnabled: true,
IsLocked: true,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: true,
ShouldSkipUnchangedDirectoriesDuringScan: false,
CreatedOnUtc: DateTime.UtcNow,
@@ -38,7 +38,7 @@ public class GetLibraryEndpointSummary : Summary<GetLibraryEndpoint, GetLibraryR
ResponseParam<LibraryResponse>(r => r.CoverImage, "The path of the image file used as the cover for the library.");
ResponseParam<LibraryResponse>(r => r.IsEnabled, "Whether this media library is enabled or not. A disabled media library is never shown or changed.");
ResponseParam<LibraryResponse>(r => r.IsLocked, "Whether this media library is locked or not. A locked media library is displayed, but is never changed or updated.");
ResponseParam<LibraryResponse>(r => r.DownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not.");
ResponseParam<LibraryResponse>(r => r.CanDownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not.");
ResponseParam<LibraryResponse>(r => r.ShouldSaveMetadataInMediaDirectories, "Whether this media library should copy the downloaded metadata into the media library content locations, or not.");
ResponseParam<LibraryResponse>(r => r.ShouldSkipUnchangedDirectoriesDuringScan, "Whether this media library should skip the directories whose contents have not changed since the last scan, during the scan, or not.");
ResponseParam<LibraryResponse>(r => r.CreatedOnUtc, "The date and time when the entity was created.");
@@ -53,7 +53,7 @@ public class GetLibraryEndpointSummary : Summary<GetLibraryEndpoint, GetLibraryR
CoverImage: "/media/myPoster.jpg",
IsEnabled: true,
IsLocked: false,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: false,
ShouldSkipUnchangedDirectoriesDuringScan: false,
CreatedOnUtc: DateTime.UtcNow,
@@ -36,7 +36,7 @@ public class UpdateLibraryEndpointSummary : Summary<UpdateLibraryEndpoint, Updat
CoverImage: "/media/posters/myPoster.jpg",
IsEnabled: true,
IsLocked: false,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: false,
ShouldSkipUnchangedDirectoriesDuringScan: false
);
@@ -49,7 +49,7 @@ public class UpdateLibraryEndpointSummary : Summary<UpdateLibraryEndpoint, Updat
RequestParam(r => r.CoverImage, "The path of the image file used as the cover for the library. Optional.");
RequestParam(r => r.IsEnabled, "Whether this media library is enabled or not. A disabled media library is never shown or changed. Optional.");
RequestParam(r => r.IsLocked, "Whether this media library is locked or not. A locked media library is displayed, but is never changed or updated. Optional.");
RequestParam(r => r.DownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not. Optional.");
RequestParam(r => r.CanDownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not. Optional.");
RequestParam(r => r.ShouldSaveMetadataInMediaDirectories, "Whether this media library should copy the downloaded metadata into the media library content locations, or not. Optional.");
RequestParam(r => r.ShouldSkipUnchangedDirectoriesDuringScan, "Whether this media library should skip the directories whose contents have not changed since the last scan, during the scan, or not. Optional.");
@@ -61,7 +61,7 @@ public class UpdateLibraryEndpointSummary : Summary<UpdateLibraryEndpoint, Updat
ResponseParam<LibraryResponse>(r => r.CoverImage, "The path of the image file used as the cover for the library.");
ResponseParam<LibraryResponse>(r => r.IsEnabled, "Whether this media library is enabled or not. A disabled media library is never shown or changed.");
ResponseParam<LibraryResponse>(r => r.IsLocked, "Whether this media library is locked or not. A locked media library is displayed, but is never changed or updated.");
ResponseParam<LibraryResponse>(r => r.DownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not.");
ResponseParam<LibraryResponse>(r => r.CanDownloadMetadataFromWeb, "Whether this media library should update the metadata of its elements from the web, or not.");
ResponseParam<LibraryResponse>(r => r.ShouldSaveMetadataInMediaDirectories, "Whether this media library should copy the downloaded metadata into the media library content locations, or not.");
ResponseParam<LibraryResponse>(r => r.ShouldSkipUnchangedDirectoriesDuringScan, "Whether this media library should skip the directories whose contents have not changed since the last scan, during the scan, or not.");
ResponseParam<LibraryResponse>(r => r.CreatedOnUtc, "The date and time when the entity was created.");
@@ -77,7 +77,7 @@ public class UpdateLibraryEndpointSummary : Summary<UpdateLibraryEndpoint, Updat
CoverImage: "/media/myPoster.jpg",
IsEnabled: true,
IsLocked: false,
DownloadMetadataFromWeb: true,
CanDownloadMetadataFromWeb: true,
ShouldSaveMetadataInMediaDirectories: false,
ShouldSkipUnchangedDirectoriesDuringScan: false,
CreatedOnUtc: DateTime.UtcNow,