aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-02 11:06:12 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-09-02 11:06:12 -0400
commitb6bc22ae638f8a8ad54609547ceb82253b4386d2 (patch)
tree5b7337a541e4bb3f918959205555cb77357dcbae
parentf428c976aaef610eb8ef6476a846c31cc0ce592a (diff)
Added GetDefaultUser to ApiClient and updated mb logo
-rw-r--r--MediaBrowser.ApiInteraction/ApiClient.cs13
-rw-r--r--MediaBrowser.Common/Resources/mblogo.pngbin23457 -> 32983 bytes
2 files changed, 13 insertions, 0 deletions
diff --git a/MediaBrowser.ApiInteraction/ApiClient.cs b/MediaBrowser.ApiInteraction/ApiClient.cs
index 922b4bb0c..bc06aa9a2 100644
--- a/MediaBrowser.ApiInteraction/ApiClient.cs
+++ b/MediaBrowser.ApiInteraction/ApiClient.cs
@@ -582,6 +582,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>
public async Task<WeatherInfo> GetWeatherInfoAsync()
{
string url = ApiUrl + "/weather";
diff --git a/MediaBrowser.Common/Resources/mblogo.png b/MediaBrowser.Common/Resources/mblogo.png
index 3b86a12af..84323fe52 100644
--- a/MediaBrowser.Common/Resources/mblogo.png
+++ b/MediaBrowser.Common/Resources/mblogo.png
Binary files differ