aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Syncplay/SendCommand.cs
diff options
context:
space:
mode:
authorgion <oancaionutandrei@gmail.com>2020-04-15 18:03:58 +0200
committergion <oancaionutandrei@gmail.com>2020-04-27 22:39:20 +0200
commit84d92ba9cea4fdd97a8d1580e67706dc4577871a (patch)
tree1b4ab3037c2dc2c5ad0b92c4fe6017143774c625 /MediaBrowser.Model/Syncplay/SendCommand.cs
parent73c19bd2811abf7daa2db3801388db488cab3a59 (diff)
Check that client is playing the right item
Send date when playback command is emitted Rename some classes
Diffstat (limited to 'MediaBrowser.Model/Syncplay/SendCommand.cs')
-rw-r--r--MediaBrowser.Model/Syncplay/SendCommand.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Syncplay/SendCommand.cs b/MediaBrowser.Model/Syncplay/SendCommand.cs
new file mode 100644
index 0000000000..d9f3914030
--- /dev/null
+++ b/MediaBrowser.Model/Syncplay/SendCommand.cs
@@ -0,0 +1,38 @@
+namespace MediaBrowser.Model.Syncplay
+{
+ /// <summary>
+ /// Class SendCommand.
+ /// </summary>
+ public class SendCommand
+ {
+ /// <summary>
+ /// Gets or sets the group identifier.
+ /// </summary>
+ /// <value>The group identifier.</value>
+ public string GroupId { get; set; }
+
+ /// <summary>
+ /// Gets or sets the UTC time when to execute the command.
+ /// </summary>
+ /// <value>The UTC time when to execute the command.</value>
+ public string When { get; set; }
+
+ /// <summary>
+ /// Gets or sets the position ticks.
+ /// </summary>
+ /// <value>The position ticks.</value>
+ public long? PositionTicks { get; set; }
+
+ /// <summary>
+ /// Gets or sets the command.
+ /// </summary>
+ /// <value>The command.</value>
+ public SendCommandType Command { get; set; }
+
+ /// <summary>
+ /// Gets or sets the UTC time when this command has been emitted.
+ /// </summary>
+ /// <value>The UTC time when this command has been emitted.</value>
+ public string EmittedAt { get; set; }
+ }
+}