diff --git a/package-lock.json b/package-lock.json index bc5206928..a5590c153 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@fontsource/noto-sans-sc": "5.2.5", "@fontsource/noto-sans-tc": "5.2.5", "@jellyfin/libass-wasm": "4.2.3", - "@jellyfin/sdk": "0.0.0-unstable.202503260501", + "@jellyfin/sdk": "0.0.0-unstable.202503290501", "@mui/icons-material": "6.4.8", "@mui/material": "6.4.8", "@mui/x-date-pickers": "7.28.0", @@ -4064,9 +4064,9 @@ "license": "LGPL-2.1-or-later AND (FTL OR GPL-2.0-or-later) AND MIT AND MIT-Modern-Variant AND ISC AND NTP AND Zlib AND BSL-1.0" }, "node_modules/@jellyfin/sdk": { - "version": "0.0.0-unstable.202503260501", - "resolved": "https://registry.npmjs.org/@jellyfin/sdk/-/sdk-0.0.0-unstable.202503260501.tgz", - "integrity": "sha512-wsiDOwE+5eiy4FZ3UDfxgOL7PZMAh1W1VAScbb+OUeuJCfsSh8UKZM9B9mAvuotWxx8Orw9yLmvT57g/UthOqQ==", + "version": "0.0.0-unstable.202503290501", + "resolved": "https://registry.npmjs.org/@jellyfin/sdk/-/sdk-0.0.0-unstable.202503290501.tgz", + "integrity": "sha512-y4AbndAj4ke7dDffH7f9RXquo8yhcUImDUgNOlMAf3t5JMrOhMG0GJ0OnlASN8nBL7czUmHG9BivG+/g7oNG3A==", "license": "MPL-2.0", "peerDependencies": { "axios": "^1.3.4" @@ -28509,9 +28509,9 @@ "integrity": "sha512-C0OlBxIr9NdeFESMTA/OVDqNSWtog6Mi7wwzwH12xbZpxsMD0RgCupUcIP7zZgcpTNecW3fZq5d6xVo7Q8HEJw==" }, "@jellyfin/sdk": { - "version": "0.0.0-unstable.202503260501", - "resolved": "https://registry.npmjs.org/@jellyfin/sdk/-/sdk-0.0.0-unstable.202503260501.tgz", - "integrity": "sha512-wsiDOwE+5eiy4FZ3UDfxgOL7PZMAh1W1VAScbb+OUeuJCfsSh8UKZM9B9mAvuotWxx8Orw9yLmvT57g/UthOqQ==", + "version": "0.0.0-unstable.202503290501", + "resolved": "https://registry.npmjs.org/@jellyfin/sdk/-/sdk-0.0.0-unstable.202503290501.tgz", + "integrity": "sha512-y4AbndAj4ke7dDffH7f9RXquo8yhcUImDUgNOlMAf3t5JMrOhMG0GJ0OnlASN8nBL7czUmHG9BivG+/g7oNG3A==", "requires": {} }, "@jridgewell/gen-mapping": { diff --git a/package.json b/package.json index eafb9af64..1dc3f4b22 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@fontsource/noto-sans-sc": "5.2.5", "@fontsource/noto-sans-tc": "5.2.5", "@jellyfin/libass-wasm": "4.2.3", - "@jellyfin/sdk": "0.0.0-unstable.202503260501", + "@jellyfin/sdk": "0.0.0-unstable.202503290501", "@mui/icons-material": "6.4.8", "@mui/material": "6.4.8", "@mui/x-date-pickers": "7.28.0", diff --git a/src/apps/dashboard/routes/libraries/display.tsx b/src/apps/dashboard/routes/libraries/display.tsx index 5342f6285..d83f8d588 100644 --- a/src/apps/dashboard/routes/libraries/display.tsx +++ b/src/apps/dashboard/routes/libraries/display.tsx @@ -38,7 +38,8 @@ export const action = async ({ request }: ActionFunctionArgs) => { config.EnableFolderView = data.DisplayFolderView?.toString() === 'on'; config.DisplaySpecialsWithinSeasons = data.DisplaySpecialsWithinSeasons?.toString() === 'on'; - config.EnableGroupingIntoCollections = data.GroupMoviesIntoCollections?.toString() === 'on'; + config.EnableGroupingMoviesIntoCollections = data.GroupMoviesIntoCollections?.toString() === 'on'; + config.EnableGroupingShowsIntoCollections = data.GroupShowsIntoCollections?.toString() === 'on'; config.EnableExternalContentInSuggestions = data.EnableExternalContentInSuggestions?.toString() === 'on'; await getConfigurationApi(api) @@ -138,7 +139,7 @@ export const Component = () => { control={ } label={globalize.translate('LabelGroupMoviesIntoCollections')} @@ -146,6 +147,19 @@ export const Component = () => { {globalize.translate('LabelGroupMoviesIntoCollectionsHelp')} + + + } + label={globalize.translate('LabelGroupShowsIntoCollections')} + /> + {globalize.translate('LabelGroupShowsIntoCollectionsHelp')} + +