diff options
| author | Nick <20588554+nicknsy@users.noreply.github.com> | 2024-02-12 09:30:47 -0800 |
|---|---|---|
| committer | Nick <20588554+nicknsy@users.noreply.github.com> | 2024-02-12 09:30:47 -0800 |
| commit | ac906a04e222d3c114424944f2dd7b5127b0b370 (patch) | |
| tree | 5289eb0a696a65329885495f7d0b1920710183f4 /Jellyfin.Server.Implementations/Trickplay | |
| parent | f359d2e5eca9abda77c4072006b774c3faae52c7 (diff) | |
Fix tiles playlist not using relative paths
Diffstat (limited to 'Jellyfin.Server.Implementations/Trickplay')
| -rw-r--r-- | Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs index f6854157a..095bc9ed3 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) |
