mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix format
This commit is contained in:
parent
666db81a09
commit
5ac895bef6
@ -498,10 +498,11 @@ public class TrickplayManager : ITrickplayManager
|
|||||||
var trickplayManifest = new Dictionary<string, Dictionary<int, TrickplayInfo>>();
|
var trickplayManifest = new Dictionary<string, Dictionary<int, TrickplayInfo>>();
|
||||||
foreach (var mediaSource in item.GetMediaSources(false))
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
var trickplayResolutions = await GetTrickplayResolutions(mediaSourceId).ConfigureAwait(false);
|
var trickplayResolutions = await GetTrickplayResolutions(mediaSourceId).ConfigureAwait(false);
|
||||||
|
|
||||||
if (trickplayResolutions.Count > 0)
|
if (trickplayResolutions.Count > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user