Skip to content

Commit

Permalink
Merge pull request #632 from lrisora/patch02
Browse files Browse the repository at this point in the history
fix #631
  • Loading branch information
zhongyang219 authored Jul 2, 2024
2 parents f30e559 + 3a6e980 commit 8591454
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MusicPlayer2/TagLibHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ template<class T>
static void WriteOtherProperties(const SongInfo& song_info, T& file)
{
TagLib::PropertyMap properties = file.properties();
properties["ALBUMARTIST"].clear();
properties["DISCNUMBER"].clear();
if (!song_info.album_artist.empty())
properties["ALBUMARTIST"].append(song_info.album_artist);
if (song_info.disc_num != 0)
Expand Down

0 comments on commit 8591454

Please sign in to comment.