Skip to content

The Free Software Media System - Server Backend & API

Added GetDefaultUser to ApiClient and updated mb logo

LukePulverenti Luke Pulverenti luke pulverentib6bc22ae638f
diff --git a/MediaBrowser.ApiInteraction/ApiClient.cs b/MediaBrowser.ApiInteraction/ApiClient.cs
index 922b4bb0c9..bc06aa9a2e 100644
--- a/MediaBrowser.ApiInteraction/ApiClient.cs
+++ b/MediaBrowser.ApiInteraction/ApiClient.cs
@@ -579,6 +579,19 @@ namespace MediaBrowser.ApiInteraction
}
}
+ /// <summary>
+ /// Gets weather information for the default location as set in configuration
+ /// </summary>
+ public async Task<DTOUser> GetDefaultUserAsync()
+ {
+ string url = ApiUrl + "/defaultuser";
+
+ using (Stream stream = await GetSerializedStreamAsync(url).ConfigureAwait(false))
+ {
+ return DeserializeFromStream<DTOUser>(stream);
+ }
+ }
+
/// <summary>
/// Gets weather information for the default location as set in configuration
/// </summary>
diff --git a/MediaBrowser.Common/Resources/mblogo.png b/MediaBrowser.Common/Resources/mblogo.png
index 3b86a12af3..84323fe525 100644
Binary files a/MediaBrowser.Common/Resources/mblogo.png and b/MediaBrowser.Common/Resources/mblogo.png differ