diff --git a/README.md b/README.md index ffee07a..5e86128 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,6 @@ Add your playlist, album, station from Spotify, Napster, Amazon, ... to "My Sono Read the Quickstart and explore the full scope in the [Wiki.](https://github.com/hklages/node-red-contrib-sonos-plus/wiki) -### ACTION REQUIRED TO MIGRATE TO VERSION 4 - -> See required action here: [issue 67](https://github.com/hklages/node-red-contrib-sonos-plus/issues/67) - ### SUPPORT Either open a github issue (preferred method) or send an email to nrcsplus@gmail.com @@ -30,20 +26,6 @@ Either open a github issue (preferred method) or send an email to nrcsplus@gmail - My Sonos node: !!! library.get.playlists: msg.size is now msg.requestedCount -- Universal node: !!! group.get.sleeptimer returns now "none" if not set - -- Universal node: !!! group.get.state, group.get.members, household.get.groups: members have different data: url instead of hostname, port, ... - -- Universal node: !!! group.get.state does not anymore provide groupName - -- !!! artUri now instead of AlbumArtUri, added serviceName to group.get.trackplus and some others. - -- In Universal node: household.create.group - use a comma separated list with coordinator at first position to create a group - -- In Universal node: new command group.get.members - -- In Universal node: new command player.play.tv - ### Installation Install directly from your Node-RED's setting palette. diff --git a/package-lock.json b/package-lock.json index 4e57989..2dec173 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,9 +44,9 @@ } }, "@eslint/eslintrc": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz", - "integrity": "sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.3.0.tgz", + "integrity": "sha512-1JTKgrOKAHVivSvOYw+sJOunkBjUOvjqWk1DPja7ZFhIS2mX/4EgTT8M7eTK9jrKhL/FvXXEbQwIs3pg1xp3dg==", "dev": true, "requires": { "ajv": "^6.12.4", @@ -56,7 +56,7 @@ "ignore": "^4.0.6", "import-fresh": "^3.2.1", "js-yaml": "^3.13.1", - "lodash": "^4.17.19", + "lodash": "^4.17.20", "minimatch": "^3.0.4", "strip-json-comments": "^3.1.1" } @@ -279,13 +279,13 @@ "dev": true }, "eslint": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.17.0.tgz", - "integrity": "sha512-zJk08MiBgwuGoxes5sSQhOtibZ75pz0J35XTRlZOk9xMffhpA9BTbQZxoXZzOl5zMbleShbGwtw+1kGferfFwQ==", + "version": "7.19.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.19.0.tgz", + "integrity": "sha512-CGlMgJY56JZ9ZSYhJuhow61lMPPjUzWmChFya71Z/jilVos7mR/jPgaEfVGgMBY5DshbKdG8Ezb8FDCHcoMEMg==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "@eslint/eslintrc": "^0.2.2", + "@eslint/eslintrc": "^0.3.0", "ajv": "^6.10.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", @@ -309,7 +309,7 @@ "js-yaml": "^3.13.1", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", - "lodash": "^4.17.19", + "lodash": "^4.17.20", "minimatch": "^3.0.4", "natural-compare": "^1.4.0", "optionator": "^0.9.1", @@ -465,9 +465,9 @@ } }, "flatted": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.0.tgz", - "integrity": "sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", + "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", "dev": true }, "follow-redirects": { @@ -975,9 +975,9 @@ "dev": true }, "uri-js": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", - "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, "requires": { "punycode": "^2.1.0" diff --git a/package.json b/package.json index eaa576f..1da111a 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,6 @@ "xml2js": "^0.4.23" }, "devDependencies": { - "eslint": "^7.17.0" + "eslint": "^7.19.0" } } diff --git a/src/Sonos-Commands.js b/src/Sonos-Commands.js index 36364d8..f05a213 100644 --- a/src/Sonos-Commands.js +++ b/src/Sonos-Commands.js @@ -690,7 +690,8 @@ module.exports = { } else if (module.exports.UPNP_CLASSES_QUEUE.includes(item.upnpClass)) { item.processingType = 'queue' } else { - item.processingType = 'unsupported' + // default as it works in most case + item.processingType = 'queue' } return item