<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On
Message: 4
Date: Tue, 10 Jan 2012 16:56:35 +0700
From: Sergey Radionov <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="mailto:rsatom@gmail.com"><rsatom@gmail.com></a>
To: Mailing list for VLC media player developers <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:vlc-devel@videolan.org"><vlc-devel@videolan.org></a>
Subject: Re: [vlc-devel] content vlc-devel Digest, Vol 56, Issue 33
Message-ID: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:4F0C0B53.4020906@gmail.com"><4F0C0B53.4020906@gmail.com></a>
Content-Type: text/plain; charset=KOI8-R; format=flowed
On 10.01.2012 15:02, jm wrote:
<blockquote
cite="mid:mailman.48966.1326190618.1630.vlc-devel@videolan.org"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 14px;"
lang="x-western">
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">> </span>On 01/10/2012 08:58 AM, jm wrote:
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>> </span>Send vlc-devel mailing list submissions to
<span class="moz-txt-citetags">>> </span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vlc-devel@videolan.org">vlc-devel@videolan.org</a>
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">></span>
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>> </span>Regarding the way to expose the meta info, do you prefer me to add a
</pre>
<blockquote type="cite" style="color: #000000;">
<pre wrap=""><span class="moz-txt-citetags">>>> </span>property "meta" and sub properties for each meta type ?(ie input.meta.title,
<span class="moz-txt-citetags">>>> </span>meta.currentlyPlaying, etc ... ?). I liked it this way before it allows to
<span class="moz-txt-citetags">>>> </span>process new fields in the future without recompiling everything.
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">>> </span>I think it will be better than using some "magic numbers" in JS code...
</pre>
</blockquote>
<pre wrap=""><span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>There are 17 meta fields so I thought it would be preferable to keep them from others, hence
<span class="moz-txt-citetags">> </span>building a new object called meta.
<span class="moz-txt-citetags">> </span>Where should I put the object:
<span class="moz-txt-citetags">> </span>- underneath the root one
<span class="moz-txt-citetags">> </span>- underneath the root.input one ?
<span class="moz-txt-citetags">></span>
<span class="moz-txt-citetags">> </span>Guidance please ..
</pre>
</blockquote>
<pre wrap="">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?
<span class="moz-txt-citetags"></span>
</pre>
</div>
</blockquote>
<small>unfortunately, there will be meta information only for the
current item so this does not make too much sense to tie it to the
playlist .</small><br>
</body>
</html>