Fix #566
Refactored the ffprobe stream-selection logic to handle rejected files better: * Streams tagged as a non-default disposition are not considered * If a file has any video stream, the audio stream will be ignored This should prevent videos from being misreported as invalid audio codecs, etc.
This commit is contained in:
parent
a96b85fa5b
commit
7448429341
3 changed files with 65 additions and 29 deletions
|
|
@ -2064,6 +2064,7 @@ function queueMessage(data, type) {
|
|||
}
|
||||
}
|
||||
var text = data.msg;
|
||||
text = text.replace(/(https?:[^ ]+)/g, "<a href='$1' target='_blank'>$1</a>");
|
||||
if (typeof data.link === "string") {
|
||||
text += "<br><a href='" + data.link + "' target='_blank'>" +
|
||||
data.link + "</a>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue