Sfoglia il codice sorgente

Merge pull request #748 from timhobbs/master

Enable remote "fullscreen"
Luke 11 anni fa
parent
commit
72917cc0b7

+ 1 - 1
MediaBrowser.Api/SessionsService.cs

@@ -131,7 +131,7 @@ namespace MediaBrowser.Api
         /// Gets or sets the play command.
         /// </summary>
         /// <value>The play command.</value>
-        [ApiMember(Name = "Command", Description = "The command to send - stop, pause, unpause, nexttrack, previoustrack, seek.", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")]
+        [ApiMember(Name = "Command", Description = "The command to send - stop, pause, unpause, nexttrack, previoustrack, seek, fullscreen.", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")]
         public PlaystateCommand Command { get; set; }
     }
 

+ 5 - 1
MediaBrowser.Model/Session/PlaystateCommand.cs

@@ -29,7 +29,11 @@ namespace MediaBrowser.Model.Session
         /// <summary>
         /// The seek
         /// </summary>
-        Seek
+        Seek,
+        /// <summary>
+        /// The fullscreen
+        /// </summary>
+        Fullscreen
     }
 
     public class PlaystateRequest