lawishere / mp4v2

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

MP4tags cannot set various 'sort' meta-data atoms #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Mp4tags does not list any option to set these meta data.

What is the expected output? What do you see instead?
Mp4info correctly displays these meta-data.

What version of the product are you using? On what operating system?
mp4v2 checked out using TortoiseSVN (Windows 7 64-bit) on April 2.

I realize that this is not so much as "issue" as an enhancement request.  
Unfortunately I cannot find an option to so mark it here.

Original issue reported on code.google.com by CarlEd...@gmail.com on 13 Apr 2011 at 2:56

GoogleCodeExporter commented 9 years ago
could you show me the output from mp4info so I know what atoms you're talking 
about, specifically?

Original comment by kid...@gmail.com on 13 Apr 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Sure.  They actually are already listed in atom_standard.cpp:
        ExpectChildAtom("soal", Optional, OnlyOne); /* sort album */
        ExpectChildAtom("soar", Optional, OnlyOne); /* sort artist */
        ExpectChildAtom("soaa", Optional, OnlyOne); /* sort album artist */
        ExpectChildAtom("sonm", Optional, OnlyOne); /* sort name */
        ExpectChildAtom("soco", Optional, OnlyOne); /* sort composer */
        ExpectChildAtom("sosn", Optional, OnlyOne); /* sort show */

Here is an example of mp4info displaying two of those:
 Name: Shrek
 Sort Name: Shrek 1
 Release Date: 2001
 Genre: CGI
 Cover Art pieces: 1
 Media Type: Movie
 TV Show: Shrek
 Sort TV Show: Shrek 1

These "sort" meta data only affect the order in which mp4 files are listed in 
iTunes (and possibly other tools with support, such as mp3tag) and as such are 
almost purely cosmetic.  The displayed name is still the non-sort one.  But 
they are kind of useful in making such a really large mp4 library is listed in 
a logical order, so I like to use them.

Original comment by CarlEd...@gmail.com on 13 Apr 2011 at 3:29

GoogleCodeExporter commented 9 years ago
AtomicParsley lets you set these with its --sortOrder option which takes two 
parameters.  For example:

AtomicParsley foo.mp4 --sortOrder artist "Cars, The"
AtomicParsley bar.mp4 --sortOrder name "End of Reason, The"
AtomicParsley baz.mp4 --sortOrder albumartist "Various"
AtomicParsley LionWitchWardrobe.m4b --sortOrder album "Narnia 1"
AtomicParsley requiem.mp4 --sortOrder composer "Mozart, Wolfgang Amadeus"
AtomicParsley s01e01.mp4 --sortOrder show "Mentalist, The"

I can make do with AtomicParsley for this feature, but I much prefer mp4tags, 
so it would be great to see this added.

Original comment by jk1j...@gmail.com on 16 Jul 2011 at 2:59