From 7a0f70778d026dc2e04fa8c513e5a11f33838ad3 Mon Sep 17 00:00:00 2001 From: Simon Eklundh Date: Sun, 11 Jan 2026 22:31:25 +0100 Subject: [PATCH] fix: fix music videos and home videos on library (#1326) Co-authored-by: Fredrik Burmester --- app/(auth)/(tabs)/(libraries)/[libraryId].tsx | 4 ++++ components/library/LibraryItemCard.tsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/(auth)/(tabs)/(libraries)/[libraryId].tsx b/app/(auth)/(tabs)/(libraries)/[libraryId].tsx index 915c362f..d96bf5b5 100644 --- a/app/(auth)/(tabs)/(libraries)/[libraryId].tsx +++ b/app/(auth)/(tabs)/(libraries)/[libraryId].tsx @@ -209,6 +209,10 @@ const Page = () => { itemType = "Series"; } else if (library.CollectionType === "boxsets") { itemType = "BoxSet"; + } else if (library.CollectionType === "homevideos") { + itemType = "Video"; + } else if (library.CollectionType === "musicvideos") { + itemType = "MusicVideo"; } const response = await getItemsApi(api).getItems({ diff --git a/components/library/LibraryItemCard.tsx b/components/library/LibraryItemCard.tsx index efb29013..09de500d 100644 --- a/components/library/LibraryItemCard.tsx +++ b/components/library/LibraryItemCard.tsx @@ -63,6 +63,10 @@ export const LibraryItemCard: React.FC = ({ library, ...props }) => { _itemType = "Series"; } else if (library.CollectionType === "boxsets") { _itemType = "BoxSet"; + } else if (library.CollectionType === "homevideos") { + _itemType = "Video"; + } else if (library.CollectionType === "musicvideos") { + _itemType = "MusicVideo"; } return _itemType;