···248248 return `media included in librariesBlock '${blockedLibrary.name}'`;
249249 }
250250 }
251251- }
252251253253- if(!this.getValidLibraries().some(x => state.play.meta.library === x.name)) {
254254- return `media not included in a valid library`;
252252+ // this is inside this block because we SHOULD allow non-music libraries if
253253+ // user specified name in librariesAllow
254254+ // -- so only check for this if nothing is specified
255255+ if(!this.getValidLibraries().some(x => state.play.meta.library === x.name)) {
256256+ return `media not included in a valid library`;
257257+ }
255258 }
256259 }
257260