ignore embedded text subtitles that have not been extracted (#2479)

* ignore text subtitles that have not been extracted

* fix bug with channel paging
This commit is contained in:
Jason Dove
2025-10-02 12:41:04 -05:00
committed by GitHub
parent b3daad7c3b
commit a0788532a0
4 changed files with 147 additions and 94 deletions
+1 -1
View File
@@ -83,7 +83,7 @@
</MudIconButton>
</MudTooltip>
}
else if (CanPreviewChannel(context) && !_ffmpegProfilesThatCanPreview[context.FFmpegProfileId])
else if (CanPreviewChannel(context) && _ffmpegProfilesThatCanPreview.ContainsKey(context.FFmpegProfileId) && !_ffmpegProfilesThatCanPreview[context.FFmpegProfileId])
{
<MudTooltip Text="Channel preview requires FFmpeg Profile compatible with this browser">
<div style="height: 48px; width: 48px; align-items: center; display: flex; justify-content: center">