diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-09 18:43:11 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-09 18:43:11 -0400 |
| commit | 35a7986b3f2c40e66bb7da6a9ae91b38cc763422 (patch) | |
| tree | a81b31b24b2372ce2c8f23faedcf240f8bd7e700 /MediaBrowser.Model/Session/PlayRequest.cs | |
| parent | 2b2832076471f789d46faf938596c57a18601e1f (diff) | |
added model classes for remote control
Diffstat (limited to 'MediaBrowser.Model/Session/PlayRequest.cs')
| -rw-r--r-- | MediaBrowser.Model/Session/PlayRequest.cs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/PlayRequest.cs b/MediaBrowser.Model/Session/PlayRequest.cs new file mode 100644 index 000000000..c9bb58693 --- /dev/null +++ b/MediaBrowser.Model/Session/PlayRequest.cs @@ -0,0 +1,46 @@ + +namespace MediaBrowser.Model.Session +{ + /// <summary> + /// Class PlayRequest + /// </summary> + public class PlayRequest + { + /// <summary> + /// Gets or sets the item ids. + /// </summary> + /// <value>The item ids.</value> + public string[] ItemIds { get; set; } + + /// <summary> + /// Gets or sets the start position ticks that the first item should be played at + /// </summary> + /// <value>The start position ticks.</value> + public long? StartPositionTicks { get; set; } + + /// <summary> + /// Gets or sets the play command. + /// </summary> + /// <value>The play command.</value> + public PlayCommand PlayCommand { get; set; } + } + + /// <summary> + /// Enum PlayCommand + /// </summary> + public enum PlayCommand + { + /// <summary> + /// The play now + /// </summary> + PlayNow, + /// <summary> + /// The play next + /// </summary> + PlayNext, + /// <summary> + /// The play last + /// </summary> + PlayLast + } +} |
