From 982a30394018a9262aae0fafc56c736635ba27ed Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 29 Aug 2013 17:00:27 -0400 Subject: added IsMuted to playback progress --- MediaBrowser.Controller/Session/ISessionManager.cs | 2 +- MediaBrowser.Controller/Session/SessionInfo.cs | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Controller/Session') diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.cs index 2af2bbec90..1976c653a6 100644 --- a/MediaBrowser.Controller/Session/ISessionManager.cs +++ b/MediaBrowser.Controller/Session/ISessionManager.cs @@ -62,7 +62,7 @@ namespace MediaBrowser.Controller.Session /// The session id. /// Task. /// - Task OnPlaybackProgress(BaseItem item, long? positionTicks, bool isPaused, Guid sessionId); + Task OnPlaybackProgress(BaseItem item, long? positionTicks, bool isPaused, bool isMuted, Guid sessionId); /// /// Used to report that playback has ended for an item diff --git a/MediaBrowser.Controller/Session/SessionInfo.cs b/MediaBrowser.Controller/Session/SessionInfo.cs index 177573de6a..6c0f1a0854 100644 --- a/MediaBrowser.Controller/Session/SessionInfo.cs +++ b/MediaBrowser.Controller/Session/SessionInfo.cs @@ -87,8 +87,14 @@ namespace MediaBrowser.Controller.Session /// Gets or sets a value indicating whether this instance is paused. /// /// true if this instance is paused; otherwise, false. - public bool? IsPaused { get; set; } + public bool IsPaused { get; set; } + /// + /// Gets or sets a value indicating whether this instance is muted. + /// + /// true if this instance is muted; otherwise, false. + public bool IsMuted { get; set; } + /// /// Gets or sets the device id. /// -- cgit v1.2.3