[vlc-devel] New widget for EPG
Marian Ďurkovič
md at bts.sk
Tue Sep 22 13:45:06 CEST 2009
On Tue, Sep 22, 2009 at 12:46:13PM +0200, Jean-Baptiste Kempf wrote:
> On Tue, Sep 22, 2009 at 12:44:48PM +0200, Laurent Aimar wrote :
> > > Great, that would be of course the best solution!
> > I plan to remove the conversion in the core from vlc_epg_t to text and
> > let the GUI do whatever it wants with it.
> > It will be much more easier and cleaner.
>
> Ok, what about xmltv integration? How can we be sure that this widget
> would be able to use such data?
A quick look at xmltv format spec shows:
<programme start="20080715003000 -0600" stop="20080715010000 -0600" channel="I10436.labs.zap2it.com">
<title lang="en">NOW on PBS</title>
<desc lang="en">Jordan's Queen Rania has made job creation a priority to help curb the staggering unemployment rates among youths in the Middle East.</desc>
<date>20080711</date>
<category lang="en">Newsmagazine</category>
<category lang="en">Interview</category>
<category lang="en">Public affairs</category>
<category lang="en">Series</category>
<episode-num system="dd_progid">EP01006886.0028</episode-num>
<episode-num system="onscreen">427</episode-num>
<audio>
<stereo>stereo</stereo>
</audio>
<previously-shown start="20080711000000" />
<subtitles type="teletext" />
</programme>
So basically instead of start+duration we have start+end here, title and
description are the same, so the future xmltv plugin could just fill the
vlc_epg_event_t the same way as TS demux is doing now.
There are a few extras, which (if we like to have them), will need an
extension of vlc_epg_event_t, but I don't think this is important ATM.
With kind regards,
M.
More information about the vlc-devel
mailing list