diff options
author | Daniel <random.mister@gmail.com> | 2011-04-23 16:31:43 +0100 |
---|---|---|
committer | Alex Bennee <alex@bennee.com> | 2011-04-23 16:32:00 +0100 |
commit | 90d2930aacda57538f1e9e05acc18e8e80481de3 (patch) | |
tree | ecb839619a58cf7e80d5342b5fda094fc7bfd42a /src/id3v24_tag.c | |
parent | 30a13ab5271ed2ec11a2b876c70c5cdce8b4276c (diff) |
Add option to make genre tags as "Text Only"
Quoth Daniel:
"I also have a patch which sets the genre tag as a string instead of
the genre number. This number is not probably handled by iTunes (it
shows the number, not the actual genre name). I've added it as a
attachment."
This is controlled by an option in the ID3 preferences tab
Written-By: Daniel <random.mister@gmail.com>
Diffstat (limited to 'src/id3v24_tag.c')
-rw-r--r-- | src/id3v24_tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/id3v24_tag.c b/src/id3v24_tag.c index 823a5b6..82d1355 100644 --- a/src/id3v24_tag.c +++ b/src/id3v24_tag.c @@ -921,7 +921,7 @@ gboolean Id3tag_Write_File_v24Tag (ET_File *ETFile) if (FileTag->genre) genre_value = Id3tag_String_To_Genre(FileTag->genre); - if (genre_value == ID3_INVALID_GENRE) + if ((genre_value == ID3_INVALID_GENRE)||(FILE_WRITING_ID3V2_TEXT_ONLY_GENRE)) string1 = g_strdup(FileTag->genre); else string1 = g_strdup_printf("%d",genre_value); |