This commit is contained in:
IrosTheBeggar 2021-09-28 09:30:31 -04:00
parent 0040d41b82
commit 295516600d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "mstream",
"version": "5.4.3",
"version": "5.4.4",
"description": "music streaming server",
"main": "cli-boot-wrapper.js",
"bin": {

View File

@ -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) {}