The Free Software Media System - Server Backend & API
Fix build (#8859)
Bond-009b2def4c9ea6c
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.csindex 4f0a15df18..9d44fd9d18 100644--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs@@ -2458,7 +2458,6 @@ namespace Emby.Server.Implementations.Databuilder.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)");-if (query.SearchTerm.Length > 1){builder.Append("+ ((CleanName like @SearchTermContains or (OriginalTitle not null and OriginalTitle like @SearchTermContains)) * 10)");diff --git a/MediaBrowser.Controller/Providers/IRemoteMetadataProvider.cs b/MediaBrowser.Controller/Providers/IRemoteMetadataProvider.csindex 888ca6c72c..9ad0c26b0c 100644--- a/MediaBrowser.Controller/Providers/IRemoteMetadataProvider.cs+++ b/MediaBrowser.Controller/Providers/IRemoteMetadataProvider.cs@@ -16,6 +16,8 @@ namespace MediaBrowser.Controller.Providers/// <summary>/// Interface IRemoteMetadataProvider./// </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>where TItemType : BaseItem, IHasLookupInfo<TLookupInfoType>where TLookupInfoType : ItemLookupInfo, new()@@ -32,6 +34,7 @@ namespace MediaBrowser.Controller.Providers/// <summary>/// Interface IRemoteMetadataProvider./// </summary>+ /// <typeparam name="TLookupInfoType">The type of <see cref="ItemLookupInfo" />.</typeparam>public interface IRemoteSearchProvider<in TLookupInfoType> : IRemoteSearchProviderwhere TLookupInfoType : ItemLookupInfo{diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.csindex 93c035c5cf..e50aa679a3 100644--- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs+++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs@@ -635,7 +635,6 @@ namespace MediaBrowser.MediaEncoding.Encoderreturn imageResolutionParameter;}-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))