diff --git a/package.json b/package.json index 8fd20f4..521ca60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mstream", - "version": "5.4.3", + "version": "5.4.4", "description": "music streaming server", "main": "cli-boot-wrapper.js", "bin": { diff --git a/webapp/assets/js/mstream.js b/webapp/assets/js/mstream.js index 1c25c88..1106ad2 100644 --- a/webapp/assets/js/mstream.js +++ b/webapp/assets/js/mstream.js @@ -1452,7 +1452,7 @@ function testIt() { // load user settings try { const ivp = JSON.parse(localStorage.getItem('ignoreVPaths')); - if (Array.isArray(ivp)) { throw 'bad!'; } + if (Array.isArray(ivp) || !(ivp instanceof Object)) { throw 'bad!'; } MSTREAMPLAYER.ignoreVPaths = ivp; } catch (e) {}