From b8c42795e1c2950f6c5b67e26c93330204646f09 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Sun, 27 Sep 2020 21:01:50 +1300 Subject: [PATCH] Adding 'sc' as recognised URI type, fixes #610 --- src/js/util/helpers.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/js/util/helpers.js b/src/js/util/helpers.js index 9a01e9d0..376cfeca 100755 --- a/src/js/util/helpers.js +++ b/src/js/util/helpers.js @@ -154,6 +154,10 @@ const uriType = function (uri) { return 'track'; } + if (exploded[0] === 'sc') { + return 'track'; + } + if (exploded[0] === 'youtube') { const youtubeParts = exploded[1].split('/'); if (youtubeParts[0] === 'video') {