[NUT-devel] [RFC][PATCH] recursive metadata and language & contry for metadata
Michael Niedermayer
michaelni at gmx.at
Tue Sep 23 15:11:29 CEST 2008
Hi
Patch below would add $subj
comments and alternative suggestions are welcome!
Index: nut.txt
===================================================================
--- nut.txt (revision 660)
+++ nut.txt (working copy)
@@ -970,6 +970,29 @@
might be less pretty.
Note: Nonstandard fields should be prefixed by "X-".
+ When there are multiple tags with the same name but different values,
+ then each except the first MUST have a sequential number starting at 2
+ appended, for example
+ "Author", "Author2", "Author3", ...
+ This is required to avoid ambiguity when info packets are repeated.
+
+ Subtypes, like the authors email address, MUST have a type that is made
+ of the refering type + '/' + the subtype, so for example 2 email
+ addresses of the second author would be:
+ "Author2/X-EMAIL" and "Author2/X-EMAIL2"
+ All subtags of a tag should be stored immediately after the tag with
+ no other fields in between, so that simple players can just display the
+ tags sequentially and have readable output.
+
+ If the value of a tag is in a specific language, that should be indicated
+ by appending hyphen and the 3 letter ISO 639-2 language code optionally
+ followed by an ISO 3166-1 country code that is separated from the
+ language code by a hyphen as well. Examples would be
+ "Author2-deu" "Michael"
+ "Author2-eng" "Mike"
+
+ names MUST not contain / - or end in numbers to avoid ambiguity.
+
value
value of this name/type pair
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/nut-devel/attachments/20080923/a329f22a/attachment.pgp>
More information about the NUT-devel
mailing list