diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-17 17:49:55 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-17 17:49:55 -0400 |
| commit | 76cabe82269ff92d5950b8cf738c00976ca60e93 (patch) | |
| tree | f037b6f33478ebf908866b9275aa8f1f5c98b3de /MediaBrowser.Model/ApiClient | |
| parent | 4f207c43dd912b710345e083adfb6ad45c849b1d (diff) | |
update translations
Diffstat (limited to 'MediaBrowser.Model/ApiClient')
| -rw-r--r-- | MediaBrowser.Model/ApiClient/IConnectionManager.cs | 9 | ||||
| -rw-r--r-- | MediaBrowser.Model/ApiClient/ServerInfo.cs | 1 |
2 files changed, 8 insertions, 2 deletions
diff --git a/MediaBrowser.Model/ApiClient/IConnectionManager.cs b/MediaBrowser.Model/ApiClient/IConnectionManager.cs index 627ce74ca..45eaaecc8 100644 --- a/MediaBrowser.Model/ApiClient/IConnectionManager.cs +++ b/MediaBrowser.Model/ApiClient/IConnectionManager.cs @@ -1,4 +1,5 @@ -using MediaBrowser.Model.Connect; +using System.Collections.Generic; +using MediaBrowser.Model.Connect; using MediaBrowser.Model.Dto; using MediaBrowser.Model.Events; using System; @@ -86,5 +87,11 @@ namespace MediaBrowser.Model.ApiClient /// <param name="pin">The pin.</param> /// <returns>Task.</returns> Task ExchangePin(PinCreationResult pin); + + /// <summary> + /// Gets the available servers. + /// </summary> + /// <param name="cancellationToken">The cancellation token.</param> + Task<List<ServerInfo>> GetAvailableServers(CancellationToken cancellationToken); } } diff --git a/MediaBrowser.Model/ApiClient/ServerInfo.cs b/MediaBrowser.Model/ApiClient/ServerInfo.cs index af46cc660..ce2483338 100644 --- a/MediaBrowser.Model/ApiClient/ServerInfo.cs +++ b/MediaBrowser.Model/ApiClient/ServerInfo.cs @@ -17,7 +17,6 @@ namespace MediaBrowser.Model.ApiClient public ServerInfo() { WakeOnLanInfos = new List<WakeOnLanInfo>(); - LocalAddress = "http://localhost:8096"; } } } |
