mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
add options to identify function
This commit is contained in:
parent
50dcfb9816
commit
5ad9123d67
3 changed files with 13 additions and 9 deletions
|
@ -93,8 +93,16 @@ namespace MediaBrowser.Api
|
||||||
[Authenticated(Roles = "Admin")]
|
[Authenticated(Roles = "Admin")]
|
||||||
public class ApplySearchCriteria : RemoteSearchResult, IReturnVoid
|
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; }
|
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
|
public class ItemLookupService : BaseApiService
|
||||||
|
@ -206,7 +214,7 @@ namespace MediaBrowser.Api
|
||||||
MetadataRefreshMode = MetadataRefreshMode.FullRefresh,
|
MetadataRefreshMode = MetadataRefreshMode.FullRefresh,
|
||||||
ImageRefreshMode = ImageRefreshMode.FullRefresh,
|
ImageRefreshMode = ImageRefreshMode.FullRefresh,
|
||||||
ReplaceAllMetadata = true,
|
ReplaceAllMetadata = true,
|
||||||
ReplaceAllImages = true,
|
ReplaceAllImages = request.ReplaceAllImages,
|
||||||
Recursive = true
|
Recursive = true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -838,6 +838,8 @@
|
||||||
"OptionAuto": "Auto",
|
"OptionAuto": "Auto",
|
||||||
"OptionYes": "Yes",
|
"OptionYes": "Yes",
|
||||||
"OptionNo": "No",
|
"OptionNo": "No",
|
||||||
|
"HeaderOptions": "Options",
|
||||||
|
"HeaderIdentificationResult": "Identification Result",
|
||||||
"LabelHomePageSection1": "Home page section 1:",
|
"LabelHomePageSection1": "Home page section 1:",
|
||||||
"LabelHomePageSection2": "Home page section 2:",
|
"LabelHomePageSection2": "Home page section 2:",
|
||||||
"LabelHomePageSection3": "Home page section 3:",
|
"LabelHomePageSection3": "Home page section 3:",
|
||||||
|
@ -861,7 +863,7 @@
|
||||||
"OptionCommunityMostWatchedSort": "Most Watched",
|
"OptionCommunityMostWatchedSort": "Most Watched",
|
||||||
"TabNextUp": "Next Up",
|
"TabNextUp": "Next Up",
|
||||||
"MessageNoMovieSuggestionsAvailable": "No movie suggestions are currently available. Start watching and rating your movies, and then come back to view your recommendations.",
|
"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.",
|
"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.",
|
"MessageNoPlaylistItemsAvailable": "This playlist is currently empty.",
|
||||||
"ButtonDismiss": "Dismiss",
|
"ButtonDismiss": "Dismiss",
|
||||||
|
|
|
@ -2212,12 +2212,6 @@
|
||||||
<Content Include="dashboard-ui\css\images\mblogoicon.png">
|
<Content Include="dashboard-ui\css\images\mblogoicon.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</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">
|
<Content Include="dashboard-ui\css\images\clients\dlna.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in a new issue