diff --git a/MediaBrowser.Api/MediaBrowser.Api.csproj b/MediaBrowser.Api/MediaBrowser.Api.csproj
index fca49d7d1..e6352eb6f 100644
--- a/MediaBrowser.Api/MediaBrowser.Api.csproj
+++ b/MediaBrowser.Api/MediaBrowser.Api.csproj
@@ -115,6 +115,7 @@
+
diff --git a/MediaBrowser.Api/WebSocket/SessionInfoWebSocketListener.cs b/MediaBrowser.Api/WebSocket/SessionInfoWebSocketListener.cs
new file mode 100644
index 000000000..f010ac375
--- /dev/null
+++ b/MediaBrowser.Api/WebSocket/SessionInfoWebSocketListener.cs
@@ -0,0 +1,52 @@
+using MediaBrowser.Common.Net;
+using MediaBrowser.Controller.Dto;
+using MediaBrowser.Controller.Session;
+using MediaBrowser.Model.Logging;
+using MediaBrowser.Model.Session;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace MediaBrowser.Api.WebSocket
+{
+ ///
+ /// Class SessionInfoWebSocketListener
+ ///
+ class SessionInfoWebSocketListener : BasePeriodicWebSocketListener, object>
+ {
+ ///
+ /// Gets the name.
+ ///
+ /// The name.
+ protected override string Name
+ {
+ get { return "Sessions"; }
+ }
+
+ ///
+ /// The _kernel
+ ///
+ private readonly ISessionManager _sessionManager;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The logger.
+ /// The session manager.
+ public SessionInfoWebSocketListener(ILogger logger, ISessionManager sessionManager)
+ : base(logger)
+ {
+ _sessionManager = sessionManager;
+ }
+
+ ///
+ /// Gets the data to send.
+ ///
+ /// The state.
+ /// Task{SystemInfo}.
+ protected override Task> GetDataToSend(object state)
+ {
+ return Task.FromResult(_sessionManager.Sessions.Select(SessionInfoDtoBuilder.GetSessionInfoDto));
+ }
+ }
+}
diff --git a/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs b/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs
index e93a936a9..122b0ef91 100644
--- a/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs
+++ b/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs
@@ -277,8 +277,6 @@ namespace MediaBrowser.Controller.Providers.Movies
// backdrops - only download if earlier providers didn't find any (fanart)
if (images.backdrops != null && images.backdrops.Count > 0 && ConfigurationManager.Configuration.DownloadMovieImages.Backdrops && item.BackdropImagePaths.Count == 0)
{
- item.BackdropImagePaths = new List();
-
var tmdbSettings = await MovieDbProvider.Current.GetTmdbSettings(cancellationToken).ConfigureAwait(false);
var tmdbImageUrl = tmdbSettings.images.base_url + ConfigurationManager.Configuration.TmdbFetchedBackdropSize;