diff options
Diffstat (limited to 'MediaBrowser.Controller')
6 files changed, 44 insertions, 8 deletions
diff --git a/MediaBrowser.Controller/Dto/IDtoService.cs b/MediaBrowser.Controller/Dto/IDtoService.cs index 03039dc83..a02851a9f 100644 --- a/MediaBrowser.Controller/Dto/IDtoService.cs +++ b/MediaBrowser.Controller/Dto/IDtoService.cs @@ -29,13 +29,6 @@ namespace MediaBrowser.Controller.Dto SessionInfoDto GetSessionInfoDto(SessionInfo session); /// <summary> - /// Gets the base item info. - /// </summary> - /// <param name="item">The item.</param> - /// <returns>BaseItemInfo.</returns> - BaseItemInfo GetBaseItemInfo(BaseItem item); - - /// <summary> /// Gets the dto id. /// </summary> /// <param name="item">The item.</param> diff --git a/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs b/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs index 2ec3d308e..ca815c114 100644 --- a/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs +++ b/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs @@ -12,6 +12,7 @@ namespace MediaBrowser.Controller.Library public List<User> Users { get; set; } public long? PlaybackPositionTicks { get; set; } public BaseItem Item { get; set; } + public string MediaVersionId { get; set; } public PlaybackProgressEventArgs() { diff --git a/MediaBrowser.Controller/Session/PlaybackInfo.cs b/MediaBrowser.Controller/Session/PlaybackInfo.cs index ab3111e76..5cb488ff1 100644 --- a/MediaBrowser.Controller/Session/PlaybackInfo.cs +++ b/MediaBrowser.Controller/Session/PlaybackInfo.cs @@ -34,5 +34,11 @@ namespace MediaBrowser.Controller.Session /// </summary> /// <value>The session id.</value> public Guid SessionId { get; set; } + + /// <summary> + /// Gets or sets the media version identifier. + /// </summary> + /// <value>The media version identifier.</value> + public string MediaVersionId { get; set; } } } diff --git a/MediaBrowser.Controller/Session/PlaybackProgressInfo.cs b/MediaBrowser.Controller/Session/PlaybackProgressInfo.cs index a07543260..0c825932c 100644 --- a/MediaBrowser.Controller/Session/PlaybackProgressInfo.cs +++ b/MediaBrowser.Controller/Session/PlaybackProgressInfo.cs @@ -34,5 +34,11 @@ namespace MediaBrowser.Controller.Session /// </summary> /// <value>The position ticks.</value> public long? PositionTicks { get; set; } + + /// <summary> + /// Gets or sets the media version identifier. + /// </summary> + /// <value>The media version identifier.</value> + public string MediaVersionId { get; set; } } } diff --git a/MediaBrowser.Controller/Session/PlaybackStopInfo.cs b/MediaBrowser.Controller/Session/PlaybackStopInfo.cs index 5d1ce0131..3391c96cf 100644 --- a/MediaBrowser.Controller/Session/PlaybackStopInfo.cs +++ b/MediaBrowser.Controller/Session/PlaybackStopInfo.cs @@ -22,5 +22,11 @@ namespace MediaBrowser.Controller.Session /// </summary> /// <value>The position ticks.</value> public long? PositionTicks { get; set; } + + /// <summary> + /// Gets or sets the media version identifier. + /// </summary> + /// <value>The media version identifier.</value> + public string MediaVersionId { get; set; } } } diff --git a/MediaBrowser.Controller/Session/SessionInfo.cs b/MediaBrowser.Controller/Session/SessionInfo.cs index 73e33d78c..953d186e8 100644 --- a/MediaBrowser.Controller/Session/SessionInfo.cs +++ b/MediaBrowser.Controller/Session/SessionInfo.cs @@ -120,11 +120,23 @@ namespace MediaBrowser.Controller.Session public BaseItem NowPlayingItem { get; set; } /// <summary> + /// Gets or sets the now playing media version identifier. + /// </summary> + /// <value>The now playing media version identifier.</value> + public string NowPlayingMediaVersionId { get; set; } + + + /// <summary> + /// Gets or sets the now playing run time ticks. + /// </summary> + /// <value>The now playing run time ticks.</value> + public long? NowPlayingRunTimeTicks { get; set; } + + /// <summary> /// Gets or sets the now playing position ticks. /// </summary> /// <value>The now playing position ticks.</value> public long? NowPlayingPositionTicks { get; set; } - /// <summary> /// Gets or sets a value indicating whether this instance is paused. /// </summary> @@ -162,6 +174,18 @@ namespace MediaBrowser.Controller.Session public bool SupportsFullscreenToggle { get; set; } /// <summary> + /// Gets or sets a value indicating whether [supports osd toggle]. + /// </summary> + /// <value><c>true</c> if [supports osd toggle]; otherwise, <c>false</c>.</value> + public bool SupportsOsdToggle { get; set; } + + /// <summary> + /// Gets or sets a value indicating whether [supports navigation commands]. + /// </summary> + /// <value><c>true</c> if [supports navigation commands]; otherwise, <c>false</c>.</value> + public bool SupportsNavigationControl { get; set; } + + /// <summary> /// Gets a value indicating whether this instance is active. /// </summary> /// <value><c>true</c> if this instance is active; otherwise, <c>false</c>.</value> |
