Fix: Fix Library selection wont show after server connected
This commit is contained in:
@@ -38,7 +38,7 @@ const mapPlaylist = (item: any): Playlist => ({
|
||||
const mapLibrary = (item: any): PlexLibrary => ({
|
||||
id: item.id ?? item.title,
|
||||
title: item.title ?? item.id,
|
||||
type: item.type ?? 'artist',
|
||||
type: item.type || item.libraryType || item.library_type || item.section?.type || '',
|
||||
});
|
||||
|
||||
// Helper function to map raw rules array to ReplacementRule[]
|
||||
|
||||
Reference in New Issue
Block a user