From a97121bb415e1db81168c54608a881dfa85f5c2d Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Sat, 8 Nov 2014 17:40:22 +0100 Subject: [PATCH] Prioritize the album artist instead of the performer --- Espera.Core/LocalSongFinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Espera.Core/LocalSongFinder.cs b/Espera.Core/LocalSongFinder.cs index 734b00d9..84cf102a 100644 --- a/Espera.Core/LocalSongFinder.cs +++ b/Espera.Core/LocalSongFinder.cs @@ -48,7 +48,7 @@ private static Tuple CreateSong(Tag tag, TimeSpan duration, s var song = new LocalSong(filePath, duration) { Album = PrepareTag(tag.Album, String.Empty), - Artist = PrepareTag(tag.FirstPerformer ?? tag.FirstAlbumArtist, "Unknown Artist"), //HACK: In the future retrieve the string for an unkown artist from the view if we want to localize it + Artist = PrepareTag(tag.FirstAlbumArtist ?? tag.FirstPerformer, "Unknown Artist"), //HACK: In the future retrieve the string for an unkown artist from the view if we want to localize it Genre = PrepareTag(tag.FirstGenre, String.Empty), Title = PrepareTag(tag.Title, Path.GetFileNameWithoutExtension(filePath)), TrackNumber = (int)tag.Track