mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Correcting according to the comments provided
This commit is contained in:
parent
d1cc56f78c
commit
01bbc7d117
@ -259,18 +259,13 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
}
|
}
|
||||||
|
|
||||||
_libraryManager.UpdatePeople(audio, people);
|
_libraryManager.UpdatePeople(audio, people);
|
||||||
// audio.Artists = performers;
|
|
||||||
audio.Artists = audio.Artists != null ? audio.Artists : performers;
|
audio.Artists = audio.Artists != null ? audio.Artists : performers;
|
||||||
// audio.AlbumArtists = albumArtists;
|
|
||||||
audio.AlbumArtists = audio.AlbumArtists != null ? audio.AlbumArtists : albumArtists;
|
audio.AlbumArtists = audio.AlbumArtists != null ? audio.AlbumArtists : albumArtists;
|
||||||
}
|
}
|
||||||
|
|
||||||
audio.Name = string.IsNullOrEmpty(audio.Name.ToString()) ? tags.Title : audio.Name;
|
audio.Name = string.IsNullOrEmpty(audio.Name) ? tags.Title : audio.Name;
|
||||||
// audio.Album = tags.Album;
|
|
||||||
audio.Album = audio.Album != null ? audio.Album : tags.Album;
|
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.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);
|
audio.ParentIndexNumber = audio.ParentIndexNumber != null ? audio.ParentIndexNumber : Convert.ToInt32(tags.Disc);
|
||||||
|
|
||||||
if (tags.Year != 0)
|
if (tags.Year != 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user