mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-06 19:09:52 -06:00
trying to filter down to playlist collection
This commit is contained in:
@@ -29,7 +29,7 @@ export function fetchPlaylistLibrary(api: Api): Promise<BaseItemDto> {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
console.debug("Fetching music libraries from Jellyfin");
|
||||
|
||||
let libraries = await getItemsApi(api).getItems({ includeItemTypes: ['PlaylistsFolder'] });
|
||||
let libraries = await getItemsApi(api).getItems({ includeItemTypes: ['CollectionFolder'], nameStartsWith: "Playlists" });
|
||||
|
||||
if (_.isUndefined(libraries.data.Items)) {
|
||||
console.warn("No playlist libraries found on Jellyfin");
|
||||
|
||||
Reference in New Issue
Block a user