aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2024-02-14 11:27:20 +0100
committerGitHub <noreply@github.com>2024-02-14 11:27:20 +0100
commit03ef9aebfd5b41d444172aab5a21e0d6671c90b1 (patch)
tree0d21efc144593d0f17811c9e42b16017b0fe01b9
parent0bf1c10c443c4763143e37fa9dce269c4e5cbad9 (diff)
parentac906a04e222d3c114424944f2dd7b5127b0b370 (diff)
Merge pull request #11000 from nicknsy/tiles-playlist-fix
Fix tiles playlist not using relative paths
-rw-r--r--Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
index f6854157a6..095bc9ed30 100644
--- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
+++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs
@@ -382,7 +382,7 @@ public class TrickplayManager : ITrickplayManager
if (trickplayInfo.ThumbnailCount > 0)
{
- const string urlFormat = "Trickplay/{0}/{1}.jpg?MediaSourceId={2}&api_key={3}";
+ const string urlFormat = "{0}.jpg?MediaSourceId={1}&api_key={2}";
const string decimalFormat = "{0:0.###}";
var resolution = $"{trickplayInfo.Width}x{trickplayInfo.Height}";
@@ -431,7 +431,6 @@ public class TrickplayManager : ITrickplayManager
.AppendFormat(
CultureInfo.InvariantCulture,
urlFormat,
- width.ToString(CultureInfo.InvariantCulture),
i.ToString(CultureInfo.InvariantCulture),
itemId.ToString("N"),
apiKey)