mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
Displaying more informative error when video files are missing.
This commit is contained in:
parent
6389541b51
commit
6b939bb195
1 changed files with 7 additions and 7 deletions
|
|
@ -251,31 +251,31 @@ function VideoPage({videoFile, prevFile, nextFile, fetchVideo, ...props}) {
|
|||
{videoFileLink(video['video_path'])}
|
||||
|
||||
<h4>Caption Files</h4>
|
||||
{caption_files &&
|
||||
{caption_files ?
|
||||
caption_files.map(i => <p key={i['path']}><PreviewPath {...i} taggable={false}>
|
||||
{i['path']}
|
||||
</PreviewPath></p>)
|
||||
</PreviewPath></p>) : 'No caption files'
|
||||
}
|
||||
|
||||
<h4>Poster File</h4>
|
||||
{poster_file &&
|
||||
{poster_file ?
|
||||
<PreviewPath path={poster_file['path']} mimetype={poster_file['mimetype']} taggable={false}>
|
||||
{poster_file['path']}
|
||||
</PreviewPath>
|
||||
</PreviewPath> : 'No poster file'
|
||||
}
|
||||
|
||||
<h4>Info JSON File</h4>
|
||||
{info_json_file &&
|
||||
{info_json_file ?
|
||||
<PreviewPath path={info_json_file['path']} mimetype={info_json_file['mimetype']} taggable={false}>
|
||||
{info_json_file['path']}
|
||||
</PreviewPath>
|
||||
</PreviewPath> : 'No yt-dlp info json file'
|
||||
}
|
||||
|
||||
<h4>ffprobe JSON File</h4>
|
||||
{ffprobeJsonFile ?
|
||||
<PreviewPath path={ffprobeJsonFile['path']} mimetype={ffprobeJsonFile['mimetype']} taggable={false}>
|
||||
{ffprobeJsonFile['path']}
|
||||
</PreviewPath> : 'No file'
|
||||
</PreviewPath> : 'No ffprobe json file'
|
||||
}
|
||||
|
||||
<h4>Directory</h4>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue