diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-11 15:31:09 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-11 15:31:09 -0500 |
| commit | 5ad9123d6734521012a84a44924de8a645702b69 (patch) | |
| tree | c71f22d7f7879831214e35b94d46cd28db43b6fc | |
| parent | 50dcfb9816be83be57e6128f4055c95c249b03af (diff) | |
add options to identify function
| -rw-r--r-- | MediaBrowser.Api/ItemLookupService.cs | 12 | ||||
| -rw-r--r-- | MediaBrowser.Server.Implementations/Localization/Server/server.json | 4 | ||||
| -rw-r--r-- | MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj | 6 |
3 files changed, 13 insertions, 9 deletions
diff --git a/MediaBrowser.Api/ItemLookupService.cs b/MediaBrowser.Api/ItemLookupService.cs index 507d56970..9a97022b6 100644 --- a/MediaBrowser.Api/ItemLookupService.cs +++ b/MediaBrowser.Api/ItemLookupService.cs @@ -93,8 +93,16 @@ namespace MediaBrowser.Api [Authenticated(Roles = "Admin")] public class ApplySearchCriteria : RemoteSearchResult, IReturnVoid { - [ApiMember(Name = "Id", Description = "The item id", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")] + [ApiMember(Name = "Id", Description = "The item id", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "POST")] public string Id { get; set; } + + [ApiMember(Name = "ReplaceAllImages", Description = "Whether or not to replace all images", IsRequired = false, DataType = "boolean", ParameterType = "query", Verb = "POST")] + public bool ReplaceAllImages { get; set; } + + public ApplySearchCriteria() + { + ReplaceAllImages = true; + } } public class ItemLookupService : BaseApiService @@ -206,7 +214,7 @@ namespace MediaBrowser.Api MetadataRefreshMode = MetadataRefreshMode.FullRefresh, ImageRefreshMode = ImageRefreshMode.FullRefresh, ReplaceAllMetadata = true, - ReplaceAllImages = true, + ReplaceAllImages = request.ReplaceAllImages, Recursive = true }); } diff --git a/MediaBrowser.Server.Implementations/Localization/Server/server.json b/MediaBrowser.Server.Implementations/Localization/Server/server.json index f54cbfde3..1935fba93 100644 --- a/MediaBrowser.Server.Implementations/Localization/Server/server.json +++ b/MediaBrowser.Server.Implementations/Localization/Server/server.json @@ -838,6 +838,8 @@ "OptionAuto": "Auto", "OptionYes": "Yes", "OptionNo": "No", + "HeaderOptions": "Options", + "HeaderIdentificationResult": "Identification Result", "LabelHomePageSection1": "Home page section 1:", "LabelHomePageSection2": "Home page section 2:", "LabelHomePageSection3": "Home page section 3:", @@ -861,7 +863,7 @@ "OptionCommunityMostWatchedSort": "Most Watched", "TabNextUp": "Next Up", "MessageNoMovieSuggestionsAvailable": "No movie suggestions are currently available. Start watching and rating your movies, and then come back to view your recommendations.", - "MessageNoCollectionsAvailable": "Collections allow you to enjoy personalized groupings of Movies, Series, Albums, Books and Games. Click the New button to start creating Collections.", + "MessageNoCollectionsAvailable": "Collections allow you to enjoy personalized groupings of Movies, Series, Albums, Books and Games. Click the + button to start creating Collections.", "MessageNoPlaylistsAvailable": "Playlists allow you to create lists of content to play consecutively at a time. To add items to playlists, right click or tap and hold, then select Add to Playlist.", "MessageNoPlaylistItemsAvailable": "This playlist is currently empty.", "ButtonDismiss": "Dismiss", diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index 7979f35ae..b94235673 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -2212,12 +2212,6 @@ <Content Include="dashboard-ui\css\images\mblogoicon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
- <Content Include="dashboard-ui\css\images\mblogotextblack.png">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
- <Content Include="dashboard-ui\css\images\mblogotextwhite.png">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </Content>
<Content Include="dashboard-ui\css\images\clients\dlna.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
|
