momo0853 / mp4v2

mp4v2 for android
Other
19 stars 20 forks source link

Enhancement: Fill Genre from GenreType #172

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run mp4info on a .m4a file from iTunes using a standard genre.
2.
3.

What is the expected output? What do you see instead?
You see a 'GenreType' tag but no Genre.  This causes problems for software such 
as MediaTomb using the library and expecting a Genre.

The patch here is an initial attempt to rectify this situation.  It will fill 
in the Genre from the corresponding string to the GenreType if one is found.  
This patch should be improved to only do this if the Genre is empty (right now 
it overwrites) and this behavior should be made optional at least at config 
time.

What version of the product are you using? On what operating system?
mp4v2 2.0.0

Please provide any additional information below.

Original issue reported on code.google.com by Adrian.B...@gmail.com on 3 Aug 2014 at 10:01

Attachments: