mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
save additional info to recording nfo's
This commit is contained in:
@@ -170,7 +170,9 @@ namespace Emby.Server.Implementations.Data
|
||||
|
||||
createMediaStreamsTableCommand,
|
||||
|
||||
"create index if not exists idx_mediastreams1 on mediastreams(ItemId)"
|
||||
"create index if not exists idx_mediastreams1 on mediastreams(ItemId)",
|
||||
|
||||
"pragma shrink_memory"
|
||||
|
||||
};
|
||||
|
||||
@@ -3591,6 +3593,15 @@ namespace Emby.Server.Implementations.Data
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(query.ExternalId))
|
||||
{
|
||||
whereClauses.Add("ExternalId=@ExternalId");
|
||||
if (statement != null)
|
||||
{
|
||||
statement.TryBind("@ExternalId", query.ExternalId);
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(query.Name))
|
||||
{
|
||||
whereClauses.Add("CleanName=@Name");
|
||||
|
||||
Reference in New Issue
Block a user