[vlc-devel] New widget for EPG
fenrir at via.ecp.fr
Tue Sep 22 12:44:48 CEST 2009
On Tue, Sep 22, 2009, Marian Ďurkovič wrote:
> On Tue, Sep 22, 2009 at 10:35:29AM +0200, Jean-Baptiste Kempf wrote:
> > While those tests are great, let's face it, this is a bad solution.
> > I'll try to make an EPG widget in Qt4, if I know how to get some data.
> Great, that would be of course the best solution!
> First, I uploaded a sample stream (epg.ts) to streams.videolan.org upload
> area. This is a raw TS dump with all of SDT, EIT p/f and EIT schedule
> entries encoded in ISO6937. After pressing play, wait for at least 15 seconds
> (the repetition interval of EIT schedule) and press pause - now all the
> EPG data is loaded and Infopanel will display it.
> As for the current VLC implementation, EPG data, kept in vlc_epg_event_t
> are handed over to GUI via input_item_SetEpg() function in src/input/item.c,
> which feeds it between the streaminfo entries. The EPG entries could be
> identified by having "EPG " as first four characters of
> p_item->pp_categories[i]->psz_name. I.e. those shouldn't be displayed
> in the Third panel, but in the new EPG panel instead.
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.
More information about the vlc-devel