aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/ApiClient/IApiClient.cs
diff options
context:
space:
mode:
authorT. Adams <t.adams88@gmail.com>2015-03-13 21:57:10 -0700
committerT. Adams <t.adams88@gmail.com>2015-03-13 21:57:10 -0700
commiteff23da3737718c944a59078c24e3ccf19435b90 (patch)
tree68d1c42e2bcd4a4be0398c8f4c0f1ba88d42e56e /MediaBrowser.Model/ApiClient/IApiClient.cs
parentb7b28ffd31892dac13004199766262126d2785c5 (diff)
parentdbb7fd61ff0545f8ebf7b9ece432f1408d43040c (diff)
Merge branch 'dev' into Video-Playlist-Controls
Diffstat (limited to 'MediaBrowser.Model/ApiClient/IApiClient.cs')
-rw-r--r--MediaBrowser.Model/ApiClient/IApiClient.cs52
1 files changed, 4 insertions, 48 deletions
diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs
index 190f2100e..7e07b3f3b 100644
--- a/MediaBrowser.Model/ApiClient/IApiClient.cs
+++ b/MediaBrowser.Model/ApiClient/IApiClient.cs
@@ -251,12 +251,12 @@ namespace MediaBrowser.Model.ApiClient
Task<ItemsResult> GetAdditionalParts(string itemId, string userId);
/// <summary>
- /// Gets the live media information.
+ /// Gets the playback information.
/// </summary>
/// <param name="itemId">The item identifier.</param>
/// <param name="userId">The user identifier.</param>
/// <returns>Task&lt;LiveMediaInfoResult&gt;.</returns>
- Task<LiveMediaInfoResult> GetLiveMediaInfo(string itemId, string userId);
+ Task<LiveMediaInfoResult> GetPlaybackInfo(string itemId, string userId);
/// <summary>
/// Gets the users async.
@@ -344,14 +344,14 @@ namespace MediaBrowser.Model.ApiClient
/// </summary>
/// <param name="query">The query.</param>
/// <returns>Task{ItemsResult}.</returns>
- Task<ItemsResult> GetInstantMixFromArtistAsync(SimilarItemsByNameQuery query);
+ Task<ItemsResult> GetInstantMixFromArtistAsync(SimilarItemsQuery query);
/// <summary>
/// Gets the instant mix from music genre async.
/// </summary>
/// <param name="query">The query.</param>
/// <returns>Task{ItemsResult}.</returns>
- Task<ItemsResult> GetInstantMixFromMusicGenreAsync(SimilarItemsByNameQuery query);
+ Task<ItemsResult> GetInstantMixFromMusicGenreAsync(SimilarItemsQuery query);
/// <summary>
/// Gets the similar movies async.
@@ -418,15 +418,6 @@ namespace MediaBrowser.Model.ApiClient
Task<ItemsResult> GetAlbumArtistsAsync(ArtistsQuery query);
/// <summary>
- /// Gets a studio
- /// </summary>
- /// <param name="name">The name.</param>
- /// <param name="userId">The user id.</param>
- /// <returns>Task{BaseItemDto}.</returns>
- /// <exception cref="ArgumentNullException">userId</exception>
- Task<BaseItemDto> GetStudioAsync(string name, string userId);
-
- /// <summary>
/// Gets the next up async.
/// </summary>
/// <param name="query">The query.</param>
@@ -495,15 +486,6 @@ namespace MediaBrowser.Model.ApiClient
Task<BaseItemDto> GetGameGenreAsync(string name, string userId);
/// <summary>
- /// Gets the artist async.
- /// </summary>
- /// <param name="name">The name.</param>
- /// <param name="userId">The user id.</param>
- /// <returns>Task{BaseItemDto}.</returns>
- /// <exception cref="ArgumentNullException">name</exception>
- Task<BaseItemDto> GetArtistAsync(string name, string userId);
-
- /// <summary>
/// Restarts the server.
/// </summary>
/// <returns>Task.</returns>
@@ -1014,14 +996,6 @@ namespace MediaBrowser.Model.ApiClient
/// <summary>
/// Gets an image url that can be used to download an image from the api
/// </summary>
- /// <param name="year">The year.</param>
- /// <param name="options">The options.</param>
- /// <returns>System.String.</returns>
- string GetYearImageUrl(int year, ImageOptions options);
-
- /// <summary>
- /// Gets an image url that can be used to download an image from the api
- /// </summary>
/// <param name="name">The name.</param>
/// <param name="options">The options.</param>
/// <returns>System.String.</returns>
@@ -1045,24 +1019,6 @@ namespace MediaBrowser.Model.ApiClient
string GetGameGenreImageUrl(string name, ImageOptions options);
/// <summary>
- /// Gets an image url that can be used to download an image from the api
- /// </summary>
- /// <param name="name">The name.</param>
- /// <param name="options">The options.</param>
- /// <returns>System.String.</returns>
- /// <exception cref="ArgumentNullException">name</exception>
- string GetStudioImageUrl(string name, ImageOptions options);
-
- /// <summary>
- /// Gets the artist image URL.
- /// </summary>
- /// <param name="name">The name.</param>
- /// <param name="options">The options.</param>
- /// <returns>System.String.</returns>
- /// <exception cref="ArgumentNullException">name</exception>
- string GetArtistImageUrl(string name, ImageOptions options);
-
- /// <summary>
/// This is a helper to get a list of backdrop url's from a given ApiBaseItemWrapper. If the actual item does not have any backdrops it will return backdrops from the first parent that does.
/// </summary>
/// <param name="item">A given item.</param>