mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
New: Use file's format title for quality if parsed
Closes #7993 (cherry picked from commit 599ad86657bbb8125c4354000cfc94331041f984)
This commit is contained in:
@@ -107,6 +107,11 @@ namespace NzbDrone.Core.MediaFiles.MediaInfo
|
||||
mediaInfoModel.RawStreamData = ffprobeOutput;
|
||||
mediaInfoModel.SchemaRevision = CURRENT_MEDIA_INFO_SCHEMA_REVISION;
|
||||
|
||||
if (analysis.Format.Tags?.TryGetValue("title", out var title) ?? false)
|
||||
{
|
||||
mediaInfoModel.Title = title;
|
||||
}
|
||||
|
||||
FFProbeFrames frames = null;
|
||||
|
||||
// if it looks like PQ10 or similar HDR, do a frame analysis to figure out which type it is
|
||||
|
||||
Reference in New Issue
Block a user