update startup wizard

This commit is contained in:
Luke Pulverenti 2015-07-30 10:34:46 -04:00
parent 2fd45ef3ec
commit a2b9ee8ac6
3 changed files with 12 additions and 1 deletions

View File

@ -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
});
}

View File

@ -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; }
}
}

View File

@ -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>