From f1b753911d7e821de68e878f801c1a416e83d911 Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Fri, 3 Dec 2021 07:15:08 +0000 Subject: [PATCH 1/2] Set MediaSourceId to the correct value, no videoId --- source/VideoPlayer.brs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/VideoPlayer.brs b/source/VideoPlayer.brs index 9dda18503..28f764b6a 100644 --- a/source/VideoPlayer.brs +++ b/source/VideoPlayer.brs @@ -56,12 +56,12 @@ sub AddVideoContent(video, audio_stream_idx = 1, subtitle_idx = -1, playbackPosi video.content.PlayStart = int(playbackPosition / 10000000) ' Call PlayInfo from server - mediaSourceId = video.id + mediaSourceId = video.mediaSourceId if meta.live then mediaSourceId = "" ' Don't send mediaSourceId for Live media playbackInfo = ItemPostPlaybackInfo(video.id, mediaSourceId, audio_stream_idx, subtitle_idx, playbackPosition) video.videoId = video.id - video.mediaSourceId = video.id + video.mediaSourceId = video.mediaSourceId video.audioIndex = audio_stream_idx if playbackInfo = invalid From 3812ff2446c0b3a6d259603e77953aaa359c40ee Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Fri, 3 Dec 2021 17:54:56 +0000 Subject: [PATCH 2/2] Remove redundant setting of property --- source/VideoPlayer.brs | 1 - 1 file changed, 1 deletion(-) diff --git a/source/VideoPlayer.brs b/source/VideoPlayer.brs index 28f764b6a..113442be8 100644 --- a/source/VideoPlayer.brs +++ b/source/VideoPlayer.brs @@ -61,7 +61,6 @@ sub AddVideoContent(video, audio_stream_idx = 1, subtitle_idx = -1, playbackPosi playbackInfo = ItemPostPlaybackInfo(video.id, mediaSourceId, audio_stream_idx, subtitle_idx, playbackPosition) video.videoId = video.id - video.mediaSourceId = video.mediaSourceId video.audioIndex = audio_stream_idx if playbackInfo = invalid