fix(api): set plex libraries to disabled if the name changes

re #324
pull/340/head
sct 4 years ago
parent f8f388db6d
commit 675060bcdf

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

Loading…
Cancel
Save