diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-01-21 15:27:07 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-01-21 15:27:07 -0500 |
| commit | 2ef30a3ba85190adb38ad7b2f360c2018cd0a5ff (patch) | |
| tree | 99bceeee3e86def1c651ad209416202a67db7daa /Emby.Server.Implementations/LiveTv/LiveStreamHelper.cs | |
| parent | 0bf95da493e91b6713f9b3ec76d6c9659a04ec10 (diff) | |
update program titles
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/LiveStreamHelper.cs')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/LiveStreamHelper.cs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Emby.Server.Implementations/LiveTv/LiveStreamHelper.cs b/Emby.Server.Implementations/LiveTv/LiveStreamHelper.cs index a338ae23a..78390f084 100644 --- a/Emby.Server.Implementations/LiveTv/LiveStreamHelper.cs +++ b/Emby.Server.Implementations/LiveTv/LiveStreamHelper.cs @@ -96,15 +96,7 @@ namespace Emby.Server.Implementations.LiveTv } // Try to estimate this - if (!mediaSource.Bitrate.HasValue) - { - var total = mediaSource.MediaStreams.Select(i => i.BitRate ?? 0).Sum(); - - if (total > 0) - { - mediaSource.Bitrate = total; - } - } + mediaSource.InferTotalBitrate(); } } } |
