Prevent trying to Play a .hmt file

This commit is contained in:
prpr 2023-10-07 02:00:41 +01:00
parent 46e4bddd56
commit bbd1c50b38

View File

@ -826,6 +826,11 @@ function doplay(it)
var fmts = "";
var vc = ""
var ff = $('#ffmpeg')[0];
if (file.match(/\.hmt$/i).length) {
$(it).dialog('close');
return;
}
if (ff) {
/* extract duration, container and video codec from ffmpeg output */