From f5388bed9fff1e82f6b0c6b6628dbd5770e54685 Mon Sep 17 00:00:00 2001 From: gwenvador Date: Wed, 29 Jul 2020 17:07:36 +0900 Subject: [PATCH] Update EmbyHelper.cs The link provided for connecting to Jellyfin is not working. I updated the path to reflect the change and kept the link for not Jellyfin users. Issue #3691 --- src/Ombi.Helpers/EmbyHelper.cs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/Ombi.Helpers/EmbyHelper.cs b/src/Ombi.Helpers/EmbyHelper.cs index 61716cd4b..ec23004f7 100644 --- a/src/Ombi.Helpers/EmbyHelper.cs +++ b/src/Ombi.Helpers/EmbyHelper.cs @@ -7,15 +7,21 @@ string path = "item"; if (isJellyfin) { - path = "itemdetails.html"; + path = "details"; } if (customerServerUrl.HasValue()) { - if (!customerServerUrl.EndsWith("/")) + if (isJellyfin) { - return $"{customerServerUrl}/#!/{path}?id={mediaId}"; - } return $"{customerServerUrl}#!/{path}?id={mediaId}"; + } + else { + if (!customerServerUrl.EndsWith("/")) + { + return $"{customerServerUrl}/#!/{path}?id={mediaId}"; + } + return $"{customerServerUrl}#!/{path}?id={mediaId}"; + } } else {