Merge pull request #504 from neilsb/set-mediasourceid-correctly
This commit is contained in:
commit
0e2d621263
|
@ -56,12 +56,11 @@ 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.audioIndex = audio_stream_idx
|
||||
|
||||
if playbackInfo = invalid
|
||||
|
|
Loading…
Reference in New Issue
Block a user