Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use ALBUM ARTIST and ALBUMARTIST in ID3v2 TXXX fields as album artist

  • Loading branch information...
commit c909a29bd4313ce59979069fc25b0f89e36506a9 1 parent a1d90c1
Jonathan Marshall authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  xbmc/music/tags/TagLoaderTagLib.cpp
2  xbmc/music/tags/TagLoaderTagLib.cpp
@@ -359,6 +359,8 @@ bool CTagLoaderTagLib::ParseID3v2Tag(ID3v2::Tag *id3v2, EmbeddedArt *art, CMusic
359 359 else if (frame->description() == "replaygain_album_gain") tag.SetReplayGainAlbumGain((int)(atof(stringList.front().toCString(true)) * 100 + 0.5));
360 360 else if (frame->description() == "replaygain_track_peak") tag.SetReplayGainTrackPeak((float)atof(stringList.front().toCString(true)));
361 361 else if (frame->description() == "replaygain_album_peak") tag.SetReplayGainAlbumPeak((float)atof(stringList.front().toCString(true)));
  362 + else if (frame->description() == "ALBUMARTIST") SetAlbumArtist(tag, StringListToVectorString(stringList));
  363 + else if (frame->description() == "ALBUM ARTIST") SetAlbumArtist(tag, StringListToVectorString(stringList));
362 364 else if (g_advancedSettings.m_logLevel == LOG_LEVEL_MAX)
363 365 CLog::Log(LOGDEBUG, "unrecognized user text tag detected: TXXX:%s", frame->description().toCString(true));
364 366 }

0 comments on commit c909a29

Please sign in to comment.
Something went wrong with that request. Please try again.