diff --git a/MediaBrowser.ApiInteraction/ApiClient.cs b/MediaBrowser.ApiInteraction/ApiClient.cs
index 813d984f6..5770ee2a4 100644
--- a/MediaBrowser.ApiInteraction/ApiClient.cs
+++ b/MediaBrowser.ApiInteraction/ApiClient.cs
@@ -35,7 +35,7 @@ namespace MediaBrowser.ApiInteraction
/// Use if a max width is required. Aspect ratio will be preserved.
/// Use if a max height is required. Aspect ratio will be preserved.
/// Quality level, from 0-100. Currently only applies to JPG. The default value should suffice.
- public string GetImageUrl(Guid itemId, ImageType imageType, int? imageIndex, int? width, int? height, int? maxWidth, int? maxHeight, int? quality)
+ public string GetImageUrl(Guid itemId, ImageType imageType, int? imageIndex = null, int? width = null, int? height = null, int? maxWidth = null, int? maxHeight = null, int? quality = null)
{
string url = ApiUrl + "/image";
@@ -79,7 +79,7 @@ namespace MediaBrowser.ApiInteraction
/// Use if a max width is required. Aspect ratio will be preserved.
/// Use if a max height is required. Aspect ratio will be preserved.
/// Quality level, from 0-100. Currently only applies to JPG. The default value should suffice.
- public IEnumerable GetBackdropImageUrls(ApiBaseItemWrapper itemWrapper, int? width, int? height, int? maxWidth, int? maxHeight, int? quality)
+ public IEnumerable GetBackdropImageUrls(ApiBaseItemWrapper itemWrapper, int? width = null, int? height = null, int? maxWidth = null, int? maxHeight = null, int? quality = null)
{
Guid? backdropItemId = null;
int backdropCount = 0;
@@ -119,7 +119,7 @@ namespace MediaBrowser.ApiInteraction
/// Use if a max width is required. Aspect ratio will be preserved.
/// Use if a max height is required. Aspect ratio will be preserved.
/// Quality level, from 0-100. Currently only applies to JPG. The default value should suffice.
- public string GetLogoImageUrl(ApiBaseItemWrapper itemWrapper, int? width, int? height, int? maxWidth, int? maxHeight, int? quality)
+ public string GetLogoImageUrl(ApiBaseItemWrapper itemWrapper, int? width = null, int? height = null, int? maxWidth = null, int? maxHeight = null, int? quality = null)
{
Guid? logoItemId = !string.IsNullOrEmpty(itemWrapper.Item.LogoImagePath) ? itemWrapper.Item.Id : itemWrapper.ParentLogoItemId;
@@ -130,7 +130,7 @@ namespace MediaBrowser.ApiInteraction
return null;
}
-
+
///
/// Gets an image stream based on a url
///