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/id3_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/id3_tag.c')
-rw-r--r-- | src/id3_tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/id3_tag.c b/src/id3_tag.c index 4956179..1e9ebba 100644 --- a/src/id3_tag.c +++ b/src/id3_tag.c @@ -290,7 +290,7 @@ gboolean Id3tag_Write_File_v23Tag (ET_File *ETFile) genre_value = Id3tag_String_To_Genre(FileTag->genre); // If genre not defined don't write genre value between brackets! (priority problem noted with some tools) - if (genre_value == ID3_INVALID_GENRE) + if ((genre_value == ID3_INVALID_GENRE)||(FILE_WRITING_ID3V2_TEXT_ONLY_GENRE)) genre_string_tmp = g_strdup_printf("%s",FileTag->genre); else genre_string_tmp = g_strdup_printf("(%d)",genre_value); |