From 6b939bb1955e24fdcfab1c11326927ee7ea90a7b Mon Sep 17 00:00:00 2001 From: Roland Date: Sun, 8 Feb 2026 11:02:07 -0700 Subject: [PATCH] Displaying more informative error when video files are missing. --- app/src/components/VideoPlayer.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/components/VideoPlayer.js b/app/src/components/VideoPlayer.js index 9741510c..05593ca3 100644 --- a/app/src/components/VideoPlayer.js +++ b/app/src/components/VideoPlayer.js @@ -251,31 +251,31 @@ function VideoPage({videoFile, prevFile, nextFile, fetchVideo, ...props}) { {videoFileLink(video['video_path'])}

Caption Files

- {caption_files && + {caption_files ? caption_files.map(i =>

{i['path']} -

) +

) : 'No caption files' }

Poster File

- {poster_file && + {poster_file ? {poster_file['path']} - + : 'No poster file' }

Info JSON File

- {info_json_file && + {info_json_file ? {info_json_file['path']} - + : 'No yt-dlp info json file' }

ffprobe JSON File

{ffprobeJsonFile ? {ffprobeJsonFile['path']} - : 'No file' + : 'No ffprobe json file' }

Directory