From 2e3c0b63b29b2a3e3928e8b8d098084458d3a17f Mon Sep 17 00:00:00 2001 From: vexorian Date: Sat, 11 Nov 2023 12:03:01 -0400 Subject: [PATCH] I *think* this change fixes somethign with music libraries. Let's see --- web/directives/plex-library.js | 2 +- web/services/plex.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/directives/plex-library.js b/web/directives/plex-library.js index 23f5e25..23b89d9 100644 --- a/web/directives/plex-library.js +++ b/web/directives/plex-library.js @@ -69,7 +69,7 @@ module.exports = function (plex, dizquetv, $timeout, commonProgramTools) { } } scope.selectLibrary = async (library) => { - await scope.fillNestedIfNecessary(library); + await scope.fillNestedIfNecessary(library, true); let p = library.nested.length; scope.pending += library.nested.length; try { diff --git a/web/services/plex.js b/web/services/plex.js index 35575ff..18913bc 100644 --- a/web/services/plex.js +++ b/web/services/plex.js @@ -283,7 +283,7 @@ module.exports = function ($http, $window, $interval) { console.error(msg , err); } } - if ( (includeCollections === true) && (res.viewGroup !== "artist" ) ) { + if (includeCollections === true) { let k = res.librarySectionID; k = `/library/sections/${k}/collections`;