Add note about unsupported filetypes

This commit is contained in:
Calvin Montgomery 2018-06-15 20:33:55 -07:00
parent dd23564c15
commit aca40dde0c
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.56.1", "version": "3.56.2",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },

View File

@ -1451,7 +1451,9 @@ function parseMediaLink(url) {
Callbacks.queueFail({ Callbacks.queueFail({
link: url, link: url,
msg: "The file you are attempting to queue does not match the supported " + msg: "The file you are attempting to queue does not match the supported " +
"file extensions mp4, flv, webm, ogg, ogv, mp3, mov, m4a." "file extensions mp4, flv, webm, ogg, ogv, mp3, mov, m4a. " +
"For more information about why other filetypes are not supported, " +
"see https://git.io/va9g9"
}); });
// Lol I forgot about this hack // Lol I forgot about this hack
throw new Error("ERROR_QUEUE_UNSUPPORTED_EXTENSION"); throw new Error("ERROR_QUEUE_UNSUPPORTED_EXTENSION");