jdzyzh / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

What's the point to MP4TagsSetGenreID #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
More of a question than a problem.  What's the value to setting the geID tag 
with MP4TagsSetGenreID?  If I just set that to a valid genre id, and don't also 
call MP4TagsSetGenre, then iTunes doesn't know the genre.  If I just call 
MP4TagsSetGenre and don't call SetGenreID, it knows it just fine.  So, I'm 
failing to see the point.

I would suggest an enhancement though where if I pass a known genre to SetGenre 
than you just automatically call SetGenreID with the right number for me.

Original issue reported on code.google.com by Scott.Gr...@gmail.com on 23 Aug 2011 at 9:17

GoogleCodeExporter commented 8 years ago
Genre and GenreID are two separate things; one is an identifier for genre, and 
the other is a string representation of the genre.  The reason for having two 
separate things, I suspect, is internationalization/localization.  If we added 
code to automatically call "SetGenreID" when you call SetGenre, then there's 
some pretty clear int/loc issues to deal with.  So my suggestion is to just 
call both.

Original comment by kid...@gmail.com on 5 Sep 2011 at 6:33