mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
resolve local trailers not used for cinema mode
This commit is contained in:
@@ -2648,7 +2648,7 @@ namespace Emby.Server.Implementations.Data
|
||||
{
|
||||
//Logger.Debug("{2} query time: {0}ms. Query: {1}",
|
||||
// Convert.ToInt32(elapsed),
|
||||
// cmd.CommandText,
|
||||
// commandText,
|
||||
// methodName);
|
||||
}
|
||||
}
|
||||
@@ -4203,7 +4203,7 @@ namespace Emby.Server.Implementations.Data
|
||||
|
||||
var paramName = "@ExcludeProviderId" + index;
|
||||
//excludeIds.Add("(COALESCE((select value from ProviderIds where ItemId=Guid and Name = '" + pair.Key + "'), '') <> " + paramName + ")");
|
||||
excludeIds.Add("ProviderIds not like " + paramName);
|
||||
excludeIds.Add("(ProviderIds is null or ProviderIds not like " + paramName + ")");
|
||||
if (statement != null)
|
||||
{
|
||||
statement.TryBind(paramName, "%" + pair.Key + "=" + pair.Value + "%");
|
||||
|
||||
Reference in New Issue
Block a user