Fix build (#8859)
This commit is contained in:
parent
9ec5782555
commit
b2def4c9ea
|
@ -2458,7 +2458,6 @@ namespace Emby.Server.Implementations.Data
|
||||||
builder.Append("((CleanName like @SearchTermStartsWith or (OriginalTitle not null and OriginalTitle like @SearchTermStartsWith)) * 10)");
|
builder.Append("((CleanName like @SearchTermStartsWith or (OriginalTitle not null and OriginalTitle like @SearchTermStartsWith)) * 10)");
|
||||||
builder.Append("+ ((CleanName = @SearchTermStartsWith COLLATE NOCASE or (OriginalTitle not null and OriginalTitle = @SearchTermStartsWith COLLATE NOCASE)) * 10)");
|
builder.Append("+ ((CleanName = @SearchTermStartsWith COLLATE NOCASE or (OriginalTitle not null and OriginalTitle = @SearchTermStartsWith COLLATE NOCASE)) * 10)");
|
||||||
|
|
||||||
|
|
||||||
if (query.SearchTerm.Length > 1)
|
if (query.SearchTerm.Length > 1)
|
||||||
{
|
{
|
||||||
builder.Append("+ ((CleanName like @SearchTermContains or (OriginalTitle not null and OriginalTitle like @SearchTermContains)) * 10)");
|
builder.Append("+ ((CleanName like @SearchTermContains or (OriginalTitle not null and OriginalTitle like @SearchTermContains)) * 10)");
|
||||||
|
|
|
@ -16,6 +16,8 @@ namespace MediaBrowser.Controller.Providers
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interface IRemoteMetadataProvider.
|
/// Interface IRemoteMetadataProvider.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <typeparam name="TItemType">The type of <see cref="BaseItem" />.</typeparam>
|
||||||
|
/// <typeparam name="TLookupInfoType">The type of <see cref="ItemLookupInfo" />.</typeparam>
|
||||||
public interface IRemoteMetadataProvider<TItemType, in TLookupInfoType> : IMetadataProvider<TItemType>, IRemoteMetadataProvider, IRemoteSearchProvider<TLookupInfoType>
|
public interface IRemoteMetadataProvider<TItemType, in TLookupInfoType> : IMetadataProvider<TItemType>, IRemoteMetadataProvider, IRemoteSearchProvider<TLookupInfoType>
|
||||||
where TItemType : BaseItem, IHasLookupInfo<TLookupInfoType>
|
where TItemType : BaseItem, IHasLookupInfo<TLookupInfoType>
|
||||||
where TLookupInfoType : ItemLookupInfo, new()
|
where TLookupInfoType : ItemLookupInfo, new()
|
||||||
|
@ -32,6 +34,7 @@ namespace MediaBrowser.Controller.Providers
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interface IRemoteMetadataProvider.
|
/// Interface IRemoteMetadataProvider.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <typeparam name="TLookupInfoType">The type of <see cref="ItemLookupInfo" />.</typeparam>
|
||||||
public interface IRemoteSearchProvider<in TLookupInfoType> : IRemoteSearchProvider
|
public interface IRemoteSearchProvider<in TLookupInfoType> : IRemoteSearchProvider
|
||||||
where TLookupInfoType : ItemLookupInfo
|
where TLookupInfoType : ItemLookupInfo
|
||||||
{
|
{
|
||||||
|
|
|
@ -635,7 +635,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||||
return imageResolutionParameter;
|
return imageResolutionParameter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private async Task<string> ExtractImageInternal(string inputPath, string container, MediaStream videoStream, int? imageStreamIndex, Video3DFormat? threedFormat, TimeSpan? offset, bool useIFrame, ImageFormat? targetFormat, CancellationToken cancellationToken)
|
private async Task<string> ExtractImageInternal(string inputPath, string container, MediaStream videoStream, int? imageStreamIndex, Video3DFormat? threedFormat, TimeSpan? offset, bool useIFrame, ImageFormat? targetFormat, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(inputPath))
|
if (string.IsNullOrEmpty(inputPath))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user