[vlc-devel] content vlc-devel Digest, Vol 56, Issue 33

jm jean-michel.lambert7 at wanadoo.fr
Tue Jan 10 09:02:34 CET 2012


On 01/10/2012 08:58 AM, jm wrote:
> Send vlc-devel mailing list submissions to
>     vlc-devel at videolan.org 

> Regarding the way to expose the meta info, do you prefer me to add a
>> property "meta" and sub properties for each meta type ?(ie 
>> input.meta.title,
>> meta.currentlyPlaying, etc ... ?). I liked it this way before it 
>> allows to
>> process new fields in the future without recompiling everything.
> I think it will be better than using some "magic numbers" in JS code...

There are 17 meta fields so I thought it would be preferable  to keep 
them from others, hence building a new object called meta.
Where should I put the object:
- underneath the root one
- underneath the root.input one ?

Guidance please ..




More information about the vlc-devel mailing list