Revert "Merge pull request #504 from neilsb/set-mediasourceid-correctly"
This reverts commit0e2d621263
, reversing changes made tod5c316586b
.
This commit is contained in:
parent
de2e628182
commit
f6d9695761
|
@ -64,11 +64,12 @@ sub AddVideoContent(video, audio_stream_idx = 1, subtitle_idx = -1, playbackPosi
|
|||
video.content.PlayStart = int(playbackPosition / 10000000)
|
||||
|
||||
' Call PlayInfo from server
|
||||
mediaSourceId = video.mediaSourceId
|
||||
mediaSourceId = video.id
|
||||
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.audioIndex = audio_stream_idx
|
||||
|
||||
if playbackInfo = invalid
|
||||
|
|
Loading…
Reference in New Issue
Block a user