fix: fix play on Jellyfin/Emby button after previous merge

This commit is contained in:
notfakie
2022-09-11 13:32:13 +12:00
parent 5f7e7eef11
commit 3b0c0915fb

View File

@@ -194,11 +194,12 @@ class Media {
if (tautulliUrl) {
this.tautulliUrl4k = `${tautulliUrl}/info?rating_key=${this.ratingKey4k}`;
}
}
}
} else {
const pageName =
process.env.JELLYFIN_TYPE === 'emby' ? 'item' : 'details';
const { serverId, hostname, externalHostname } =
getSettings().jellyfin;
const { serverId, hostname, externalHostname } = getSettings().jellyfin;
const jellyfinHost =
externalHostname && externalHostname.length > 0
? externalHostname
@@ -211,8 +212,6 @@ class Media {
}
}
}
}
}
@AfterLoad()
public setServiceUrl(): void {