diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-21 23:35:03 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-21 23:35:03 -0400 |
| commit | 327af0fe62bb3a055e4286154e9ba6104969af24 (patch) | |
| tree | 60ece20a2867291141d1a5918859f2d5e3cb582a /MediaBrowser.Controller/Session | |
| parent | 72917cc0b795c8f18a7b982ef8c70da5aa8c8fa8 (diff) | |
rework media versions to be based on original item id
Diffstat (limited to 'MediaBrowser.Controller/Session')
4 files changed, 43 insertions, 1 deletions
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> |
