mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 22:05:44 +01:00
Set recording ID in probe result normalizer
This commit is contained in:
parent
014182c162
commit
9dd18c8aba
1 changed files with 4 additions and 0 deletions
|
|
@ -1338,6 +1338,10 @@ namespace MediaBrowser.MediaEncoding.Probing
|
|||
mb = GetMultipleMusicBrainzId(tags.GetValueOrDefault("MusicBrainz Release Track Id"))
|
||||
?? GetMultipleMusicBrainzId(tags.GetValueOrDefault("MUSICBRAINZ_RELEASETRACKID"));
|
||||
audio.TrySetProviderId(MetadataProvider.MusicBrainzTrack, mb);
|
||||
|
||||
mb = GetMultipleMusicBrainzId(tags.GetValueOrDefault("MusicBrainz Track Id"))
|
||||
?? GetMultipleMusicBrainzId(tags.GetValueOrDefault("MUSICBRAINZ_TRACKID"));
|
||||
audio.TrySetProviderId(MetadataProvider.MusicBrainzRecording, mb);
|
||||
}
|
||||
|
||||
private string GetMultipleMusicBrainzId(string value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue