update startup wizard
This commit is contained in:
parent
2fd45ef3ec
commit
a2b9ee8ac6
|
@ -185,6 +185,9 @@ namespace MediaBrowser.Api.UserLibrary
|
|||
|
||||
[ApiMember(Name = "PlaySessionId", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]
|
||||
public string PlaySessionId { get; set; }
|
||||
|
||||
[ApiMember(Name = "RepeatMode", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "POST")]
|
||||
public RepeatMode RepeatMode { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -325,7 +328,8 @@ namespace MediaBrowser.Api.UserLibrary
|
|||
VolumeLevel = request.VolumeLevel,
|
||||
PlayMethod = request.PlayMethod,
|
||||
PlaySessionId = request.PlaySessionId,
|
||||
LiveStreamId = request.LiveStreamId
|
||||
LiveStreamId = request.LiveStreamId,
|
||||
RepeatMode = request.RepeatMode
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -55,5 +55,11 @@
|
|||
/// </summary>
|
||||
/// <value>The play method.</value>
|
||||
public PlayMethod? PlayMethod { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the repeat mode.
|
||||
/// </summary>
|
||||
/// <value>The repeat mode.</value>
|
||||
public RepeatMode RepeatMode { get; set; }
|
||||
}
|
||||
}
|
|
@ -366,6 +366,7 @@ namespace MediaBrowser.Server.Implementations.Session
|
|||
session.PlayState.AudioStreamIndex = info.AudioStreamIndex;
|
||||
session.PlayState.SubtitleStreamIndex = info.SubtitleStreamIndex;
|
||||
session.PlayState.PlayMethod = info.PlayMethod;
|
||||
session.PlayState.RepeatMode = info.RepeatMode;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue
Block a user