Skip to content

Commit

Permalink
fix(api): set plex libraries to disabled if the name changes
Browse files Browse the repository at this point in the history
re #324
  • Loading branch information
sct committed Dec 16, 2020
1 parent f8f388d commit 675060b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 675060b

Please sign in to comment.