mirror of https://github.com/fooyin/fooyin
[taglib] Handle tags ARTIST and ARTISTS separately
* Read ARTISTS as extra track data instead of replacing/overwriting ARTIST Resolves #783
This commit is contained in:
parent
8f0bb0f78b
commit
883d37fde0
|
|
@ -23,7 +23,6 @@ namespace Fooyin {
|
|||
namespace Tag {
|
||||
constexpr auto Title = "TITLE";
|
||||
constexpr auto Artist = "ARTIST";
|
||||
constexpr auto ArtistAlt = "ARTISTS";
|
||||
constexpr auto Album = "ALBUM";
|
||||
constexpr auto AlbumArtist = "ALBUMARTIST";
|
||||
constexpr auto Genre = "GENRE";
|
||||
|
|
|
|||
|
|
@ -628,7 +628,7 @@ void readGeneralProperties(const TagLib::PropertyMap& props, Fooyin::Track& trac
|
|||
if(field == Title) {
|
||||
track.setTitle(convertString(value.toString()));
|
||||
}
|
||||
else if(field == Artist || field == ArtistAlt) {
|
||||
else if(field == Artist) {
|
||||
track.setArtists(convertStringList(value));
|
||||
}
|
||||
else if(field == Album) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue