diff --git a/MediaBrowser.Controller/Session/ISessionManager.cs b/MediaBrowser.Controller/Session/ISessionManager.cs
index 892ec93456..ee29671c00 100644
--- a/MediaBrowser.Controller/Session/ISessionManager.cs
+++ b/MediaBrowser.Controller/Session/ISessionManager.cs
@@ -76,6 +76,13 @@ namespace MediaBrowser.Controller.Session
///
Task OnPlaybackStopped(PlaybackStopInfo info);
+ ///
+ /// Reports the session ended.
+ ///
+ /// The session identifier.
+ /// Task.
+ Task ReportSessionEnded(Guid sessionId);
+
///
/// Sends the system command.
///
diff --git a/MediaBrowser.Dlna/PlayTo/Device.cs b/MediaBrowser.Dlna/PlayTo/Device.cs
index 9c2859a363..dd416b5a44 100644
--- a/MediaBrowser.Dlna/PlayTo/Device.cs
+++ b/MediaBrowser.Dlna/PlayTo/Device.cs
@@ -375,7 +375,7 @@ namespace MediaBrowser.Dlna.PlayTo
try
{
var hasTrack = await GetPositionInfo().ConfigureAwait(false);
-
+
// TODO: Why make these requests if hasTrack==false?
if (_count > 5)
{
diff --git a/MediaBrowser.Dlna/PlayTo/DlnaController.cs b/MediaBrowser.Dlna/PlayTo/DlnaController.cs
index 894e32599d..48ef5e5897 100644
--- a/MediaBrowser.Dlna/PlayTo/DlnaController.cs
+++ b/MediaBrowser.Dlna/PlayTo/DlnaController.cs
@@ -17,7 +17,7 @@ using Timer = System.Timers.Timer;
namespace MediaBrowser.Dlna.PlayTo
{
- public class PlayToController : ISessionController
+ public class PlayToController : ISessionController, IDisposable
{
private Device _device;
private BaseItem _currentItem = null;