aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-02-11 13:41:22 -0500
committerLuke <luke.pulverenti@gmail.com>2016-02-11 13:41:22 -0500
commit4a1d01be030e5ffb4e367597c7beabaa4e4da887 (patch)
treec42dfd5f233e5eafc560c5bc1a60a2edb1b574cd /MediaBrowser.Controller
parent46a6194516d0445da943ead5a31b72bb25eb6663 (diff)
parent9e8d35dadc2859d39c3daab98458fd9d1be03865 (diff)
Merge pull request #1441 from MediaBrowser/dev
merge from dev
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Dto/IDtoService.cs7
-rw-r--r--MediaBrowser.Controller/Entities/Photo.cs5
-rw-r--r--MediaBrowser.Controller/Library/ILibraryManager.cs1
3 files changed, 9 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/Dto/IDtoService.cs b/MediaBrowser.Controller/Dto/IDtoService.cs
index 77a81d0c8..5f0442f93 100644
--- a/MediaBrowser.Controller/Dto/IDtoService.cs
+++ b/MediaBrowser.Controller/Dto/IDtoService.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Controller.Entities;
+using System;
+using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Querying;
using System.Collections.Generic;
@@ -44,10 +45,10 @@ namespace MediaBrowser.Controller.Dto
/// <summary>
/// Fills the synchronize information.
/// </summary>
- /// <param name="dtos">The dtos.</param>
+ /// <param name="tuples">The tuples.</param>
/// <param name="options">The options.</param>
/// <param name="user">The user.</param>
- void FillSyncInfo(IEnumerable<IHasSyncInfo> dtos, DtoOptions options, User user);
+ void FillSyncInfo(IEnumerable<Tuple<BaseItem, BaseItemDto>> tuples, DtoOptions options, User user);
/// <summary>
/// Gets the base item dto.
diff --git a/MediaBrowser.Controller/Entities/Photo.cs b/MediaBrowser.Controller/Entities/Photo.cs
index 308e61590..aa9e44297 100644
--- a/MediaBrowser.Controller/Entities/Photo.cs
+++ b/MediaBrowser.Controller/Entities/Photo.cs
@@ -53,6 +53,11 @@ namespace MediaBrowser.Controller.Entities
}
}
+ public override bool CanDownload()
+ {
+ return true;
+ }
+
public int? Width { get; set; }
public int? Height { get; set; }
public string CameraMake { get; set; }
diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs
index 3b45d7764..1c515edd5 100644
--- a/MediaBrowser.Controller/Library/ILibraryManager.cs
+++ b/MediaBrowser.Controller/Library/ILibraryManager.cs
@@ -329,7 +329,6 @@ namespace MediaBrowser.Controller.Library
/// <param name="parentId">The parent identifier.</param>
/// <param name="viewType">Type of the view.</param>
/// <param name="sortName">Name of the sort.</param>
- /// <param name="uniqueId">The unique identifier.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task&lt;UserView&gt;.</returns>
Task<UserView> GetNamedView(User user,