[cfg] Remove hardcoding of strings for unknown album etc

Now configurable, since we don't have real localisation
This commit is contained in:
ejurgensen
2020-05-11 17:02:14 +02:00
parent 8d4f99ebf9
commit de1b1c3805
6 changed files with 33 additions and 23 deletions

View File

@@ -545,7 +545,7 @@ process_track_file(plist_t trk)
/* Don't let album_artist set to "Unknown artist" if we've
* filled artist from the iTunes data in the meantime
*/
if (strcmp(mfi->album_artist, "Unknown artist") == 0)
if (strcmp(mfi->album_artist, CFG_NAME_UNKNOWN_ARTIST) == 0)
{
free(mfi->album_artist);
mfi->album_artist = strdup(mfi->artist);