From 698da887cdf7d76bcaae62e034c6e8b41142a21d Mon Sep 17 00:00:00 2001 From: CompoUK Date: Wed, 1 Apr 2015 09:14:23 +0100 Subject: [PATCH] 1.0.0.5 Add the following as per request from Luke // Set to true if unknown to enable deinterlacing IsInterlaced = true --- src/LiveTvService.cs | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/LiveTvService.cs b/src/LiveTvService.cs index c468c13..a77699d 100644 --- a/src/LiveTvService.cs +++ b/src/LiveTvService.cs @@ -1180,7 +1180,26 @@ namespace MediaBrowser.Plugins.VuPlus { Id = _liveStreams.ToString(CultureInfo.InvariantCulture), Path = streamUrl, - Protocol = MediaProtocol.Http + Protocol = MediaProtocol.Http, + MediaStreams = new List + { + new MediaStream + { + Type = MediaStreamType.Video, + // Set the index to -1 because we don't know the exact index of the video stream within the container + Index = -1, + + // Set to true if unknown to enable deinterlacing + IsInterlaced = true + + }, + new MediaStream + { + Type = MediaStreamType.Audio, + // Set the index to -1 because we don't know the exact index of the audio stream within the container + Index = -1 + } + } }; throw new ResourceNotFoundException(string.Format("Could not stream channel {0}", channelOid)); }