aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Dto/IDtoService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Dto/IDtoService.cs')
-rw-r--r--MediaBrowser.Controller/Dto/IDtoService.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Dto/IDtoService.cs b/MediaBrowser.Controller/Dto/IDtoService.cs
index e4ab29102..77a81d0c8 100644
--- a/MediaBrowser.Controller/Dto/IDtoService.cs
+++ b/MediaBrowser.Controller/Dto/IDtoService.cs
@@ -22,8 +22,14 @@ namespace MediaBrowser.Controller.Dto
/// </summary>
/// <param name="dto">The dto.</param>
/// <param name="item">The item.</param>
- /// <param name="fields">The fields.</param>
- void AttachPrimaryImageAspectRatio(IItemDto dto, IHasImages item, List<ItemFields> fields);
+ void AttachPrimaryImageAspectRatio(IItemDto dto, IHasImages item);
+
+ /// <summary>
+ /// Gets the primary image aspect ratio.
+ /// </summary>
+ /// <param name="item">The item.</param>
+ /// <returns>System.Nullable&lt;System.Double&gt;.</returns>
+ double? GetPrimaryImageAspectRatio(IHasImages item);
/// <summary>
/// Gets the base item dto.