fix mediaplayer script error

This commit is contained in:
Luke Pulverenti 2016-01-27 01:06:26 -05:00
parent aed423d042
commit 79aaecc11f

View File

@ -1595,7 +1595,6 @@
state.PlayState.PlayMethod = self.streamInfo.playMethod;
state.PlayState.LiveStreamId = mediaSource.LiveStreamId;
state.PlayState.PlaySessionId = getParameterByName('PlaySessionId', currentSrc);
}
}
@ -1603,6 +1602,7 @@
if (mediaSource) {
state.PlayState.MediaSourceId = mediaSource.Id;
state.PlayState.LiveStreamId = mediaSource.LiveStreamId;
state.NowPlayingItem = {
RunTimeTicks: mediaSource.RunTimeTicks