diff options
| -rw-r--r-- | MediaBrowser.ApiInteraction/ApiClient.cs | 13 | ||||
| -rw-r--r-- | MediaBrowser.Common/Resources/mblogo.png | bin | 23457 -> 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 Binary files differindex 3b86a12af..84323fe52 100644 --- a/MediaBrowser.Common/Resources/mblogo.png +++ b/MediaBrowser.Common/Resources/mblogo.png |
