|
|
@ -101,7 +101,7 @@ settingsRoutes.get('/plex/library', async (req, res) => {
|
|
|
|
.filter((library) => library.agent !== 'com.plexapp.agents.none')
|
|
|
|
.filter((library) => library.agent !== 'com.plexapp.agents.none')
|
|
|
|
.map((library) => {
|
|
|
|
.map((library) => {
|
|
|
|
const existing = settings.plex.libraries.find(
|
|
|
|
const existing = settings.plex.libraries.find(
|
|
|
|
(l) => l.id === library.key
|
|
|
|
(l) => l.id === library.key && l.name === library.title
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|