Soundcloud import now works, but not on private songs

This commit is contained in:
Kasper Rynning-Tønnesen
2018-09-22 13:04:16 +02:00
parent 36175fbdf9
commit e7bb000d47
5 changed files with 136 additions and 12 deletions

View File

@@ -136,7 +136,7 @@ function skip(list, guid, coll, offline, socket) {
}
if(!list.hasOwnProperty("id") || !list.hasOwnProperty("channel") ||
typeof(list.id) != "string" || typeof(list.channel) != "string") {
(typeof(list.id) != "string" && typeof(list.id) != "number") || typeof(list.channel) != "string") {
var result = {
channel: {
expected: "string",