fix: scan jobs not running when media server type is emby

This commit is contained in:
fallenbagel
2024-07-25 19:09:03 +05:00
parent 6207a6a26d
commit 6636aeef45

View File

@@ -567,7 +567,10 @@ class JellyfinScanner {
public async run(): Promise<void> {
const settings = getSettings();
if (settings.main.mediaServerType != MediaServerType.JELLYFIN) {
if (
settings.main.mediaServerType != MediaServerType.JELLYFIN &&
settings.main.mediaServerType != MediaServerType.EMBY
) {
return;
}