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

Sergey Radionov rsatom at gmail.com
Tue Jan 10 10:56:35 CET 2012



On 10.01.2012 15:02, jm wrote:
> 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 ..
What if it will be a playlist item?

something like
vlc_root.playlist.item[i].title;
vlc_root.playlist.current_item.description;

What do you think?

>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>

-- 
With best wishes,
Sergey Radionov (aka RSATom).




More information about the vlc-devel mailing list