Adding 'sc' as recognised URI type, fixes #610

This commit is contained in:
James Barnsley
2020-09-27 21:01:50 +13:00
parent f60b24ebbd
commit b8c42795e1

View File

@ -154,6 +154,10 @@ const uriType = function (uri) {
return 'track'; return 'track';
} }
if (exploded[0] === 'sc') {
return 'track';
}
if (exploded[0] === 'youtube') { if (exploded[0] === 'youtube') {
const youtubeParts = exploded[1].split('/'); const youtubeParts = exploded[1].split('/');
if (youtubeParts[0] === 'video') { if (youtubeParts[0] === 'video') {