Merge pull request #11156 from sel10ut/bugfix/fix-audio-title

Change parsing logic of audio track title
pull/11172/head
Bond-009 2 months ago committed by GitHub
commit 1424723a75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -348,9 +348,9 @@ namespace MediaBrowser.Providers.MediaInfo
}
}
if (!audio.LockedFields.Contains(MetadataField.Name))
if (!audio.LockedFields.Contains(MetadataField.Name) && !string.IsNullOrEmpty(tags.Title))
{
audio.Name = options.ReplaceAllMetadata || string.IsNullOrEmpty(audio.Name) ? tags.Title : audio.Name;
audio.Name = tags.Title;
}
if (options.ReplaceAllMetadata)

Loading…
Cancel
Save