diff options
| author | gnattu <gnattuoc@me.com> | 2024-10-16 17:50:19 +0800 |
|---|---|---|
| committer | gnattu <gnattuoc@me.com> | 2024-10-16 17:50:19 +0800 |
| commit | 5ac895bef66d53d6cba148d7816b021c0a655380 (patch) | |
| tree | f7801f5345bca0d46f43cec1ec517c1827d2c2f2 /Jellyfin.Server.Implementations/Trickplay | |
| parent | 666db81a09e32f4fd8ddb201ff2fddaca0481007 (diff) | |
Fix format
Diffstat (limited to 'Jellyfin.Server.Implementations/Trickplay')
| -rw-r--r-- | Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs index 25870305e..cfe385106 100644 --- a/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs +++ b/Jellyfin.Server.Implementations/Trickplay/TrickplayManager.cs @@ -498,10 +498,11 @@ public class TrickplayManager : ITrickplayManager var trickplayManifest = new Dictionary<string, Dictionary<int, TrickplayInfo>>(); foreach (var mediaSource in item.GetMediaSources(false)) { - if (mediaSource.IsRemote || !Guid.TryParse(mediaSource.Id, out var mediaSourceId) + if (mediaSource.IsRemote || !Guid.TryParse(mediaSource.Id, out var mediaSourceId)) { continue; } + var trickplayResolutions = await GetTrickplayResolutions(mediaSourceId).ConfigureAwait(false); if (trickplayResolutions.Count > 0) |
