aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGinoGinocchio <gino.ginocchio@unmsm.edu.pe>2023-07-10 00:40:48 -0500
committerBrian Howe <howe.m.brian@gmail.com>2023-12-06 22:57:11 -0600
commit01bbc7d117217c1d08ca86a475f793415701187a (patch)
treeb20b724373af6de519167f2a2988658747599576
parentd1cc56f78c325142d9d2565e436e26efcec24aa5 (diff)
Correcting according to the comments provided
-rw-r--r--MediaBrowser.Providers/MediaInfo/AudioFileProber.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
index f8e8bdcb1..22dd2d732 100644
--- a/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
+++ b/MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
@@ -259,18 +259,13 @@ namespace MediaBrowser.Providers.MediaInfo
}
_libraryManager.UpdatePeople(audio, people);
- // audio.Artists = performers;
audio.Artists = audio.Artists != null ? audio.Artists : performers;
- // audio.AlbumArtists = albumArtists;
audio.AlbumArtists = audio.AlbumArtists != null ? audio.AlbumArtists : albumArtists;
}
- audio.Name = string.IsNullOrEmpty(audio.Name.ToString()) ? tags.Title : audio.Name;
- // audio.Album = tags.Album;
+ audio.Name = string.IsNullOrEmpty(audio.Name) ? tags.Title : audio.Name;
audio.Album = audio.Album != null ? audio.Album : tags.Album;
- // audio.IndexNumber = Convert.ToInt32(tags.Track);
audio.IndexNumber = audio.IndexNumber != null ? audio.IndexNumber : Convert.ToInt32(tags.Track);
- // audio.ParentIndexNumber = Convert.ToInt32(tags.Disc);
audio.ParentIndexNumber = audio.ParentIndexNumber != null ? audio.ParentIndexNumber : Convert.ToInt32(tags.Disc);
if (tags.Year != 0)