Skip to content

Commit

Permalink
Prioritize the album artist instead of the performer
Browse files Browse the repository at this point in the history
  • Loading branch information
flagbug committed Nov 8, 2014
1 parent 78bca35 commit a97121b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Espera.Core/LocalSongFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private static Tuple<LocalSong, byte[]> 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
Expand Down

0 comments on commit a97121b

Please sign in to comment.