From f10573ff46f2168c6d196d41fbd8a762552d0c4e Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Thu, 2 Oct 2025 17:30:06 +0800 Subject: [PATCH 1/2] Fix the tonemap box not hidden in software transcoding a3872ff is not included in b3de4af Signed-off-by: nyanmisaka --- .../dashboard/routes/playback/transcoding.tsx | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/apps/dashboard/routes/playback/transcoding.tsx b/src/apps/dashboard/routes/playback/transcoding.tsx index 4781f33db..482b34b6e 100644 --- a/src/apps/dashboard/routes/playback/transcoding.tsx +++ b/src/apps/dashboard/routes/playback/transcoding.tsx @@ -471,19 +471,21 @@ export const Component = () => { {(hardwareAccelType === 'none' || isHwaSelected) && ( <> - - - } - /> - {globalize.translate(isHwaSelected ? 'AllowTonemappingHelp' : 'AllowTonemappingSoftwareHelp')} - + {isHwaSelected && ( + + + } + /> + {globalize.translate('AllowTonemappingHelp')} + + )} Date: Fri, 3 Oct 2025 00:23:07 +0800 Subject: [PATCH 2/2] Drop redundant AllowTonemappingSoftwareHelp string Signed-off-by: nyanmisaka --- src/strings/en-us.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 80b29709d..d929130a0 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -48,7 +48,6 @@ "AllowRemoteAccess": "Allow remote connections to this server", "AllowRemoteAccessHelp": "If unchecked, all remote connections will be blocked.", "AllowTonemappingHelp": "Tone-mapping can transform the dynamic range of a video from HDR to SDR while maintaining image details and colors, which are very important information for representing the original scene. Currently works only with 10bit HDR10, HLG and DoVi videos. This requires the corresponding GPGPU runtime.", - "AllowTonemappingSoftwareHelp": "Tone-mapping can transform the dynamic range of a video from HDR to SDR while maintaining image details and colors, which are very important information for representing the original scene. Currently works only with 10bit HDR10, HLG and DoVi videos.", "AlwaysPlaySubtitles": "Always Play", "AlwaysPlaySubtitlesHelp": "Subtitles matching the language preference will be loaded regardless of the audio language.", "AlwaysRemuxFlacAudioFilesHelp": "If you have files that your browser rejects to play or where it inaccurately calculates timestamps, enable this as a workaround.",