fix(jellyfin): get jellyfin integration working with the last develop version

re #288
This commit is contained in:
Juan D. Jara
2021-09-27 02:56:02 +02:00
parent 54868fd486
commit f97ee11430
4 changed files with 115 additions and 132 deletions

View File

@@ -22,7 +22,7 @@ import { scheduledJobs } from '../../job/schedule';
import cacheManager, { AvailableCacheIds } from '../../lib/cache';
import { Permission } from '../../lib/permissions';
import { plexFullScanner } from '../../lib/scanners/plex';
import { getSettings, MainSettings } from '../../lib/settings';
import { getSettings, Library, MainSettings } from '../../lib/settings';
import logger from '../../logger';
import { isAuthenticated } from '../../middleware/auth';
import { getAppVersion } from '../../utils/appVersion';
@@ -269,6 +269,7 @@ settingsRoutes.get('/jellyfin/library', async (req, res) => {
id: library.key,
name: library.title,
enabled: existing?.enabled ?? false,
type: library.type,
};
});