Export to GitHub

mp4v2 - issue #92

MP4tags cannot set various 'sort' meta-data atoms


Posted on Apr 13, 2011 by Grumpy Hippo

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.

Comment #1

Posted on Apr 13, 2011 by Happy Lion

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

Comment #2

Posted on Apr 13, 2011 by Grumpy Hippo

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.

Comment #3

Posted on Jul 16, 2011 by Swift Dog

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.

Status: New

Labels:
Type-Defect Priority-Medium