https://bugs.kde.org/show_bug.cgi?id=405278

--- Comment #5 from Mauro Carvalho Chehab <mchehab+sams...@kernel.org> ---
(In reply to Mauro Carvalho Chehab from comment #3)
> On a quick look, I guess that the main challenge is how to map the channel
> ID provided by xmltv into the channel data stored at the mysql tables used
> by Kaffeine, at epgdata.dvb file.
> 
> From the file you posted, xmltv stores channels like:
> 
>   <channel id="bloomb.tv.vodafone.pt">
>     <display-name lang="pt">Bloomberg</display-name>
> ...
>   <channel id="blazehd.tv.vodafone.pt">
>     <display-name lang="pt">Blaze HD</display-name>
> 
> 
> Kaffeine's EPG data is stored using channel name, as it was discovered from
> MPEG-TS tables. Do you know if the display-name is identical to the channel
> name that Kaffeine displays?
> 
> On a quick look, it doesn't sound hard to parse the tables
> 
> One challenge is how to handle languages. Instead of ISO639 3-letter code,
> as found at MPEG-TS tables, it uses ISO 639 2-letter codes, but the DTD file
> says:
> 
>   Many of the details have a 'lang' attribute so that you can
>   store them in multiple languages or have mixed languages in a single
>   listing.  This 'lang' should be the two-letter code such as 'en' or
>   'fr_FR'.  Or you can just leave it out and let your reader take a
>   guess.
> 
> Adding support for 2-letter codes is easy, but converting 'fr_FR', 'pt_BR',
> ... formats to ISO 639 3-letter codes could be a little tricky. I can't find
> an easy way of doing that. It is easier to just ignore the Country
> information and use just the 2 letter code.
> 
> Could you please record ~60 seconds of a channel and place on GoogleDrive
> (or something similar) from one channel that has EPG data? I need the record
> of the entire transponder, in order to have all MPEG tables there, and be
> able to test some code that would map xmltv data into Kaffeine's EPG
> internal representation.
> 
> In order to get it, you should use dvbv5-zap. Instructions about how to use
> it are at:
> 
> https://linuxtv.org/wiki/index.php/Dvbv5-
> zap#Recording_the_full_MPEG_stream_on_a_transponder

No need anymore. Some of the channels on the xmltv file you provided are
identical to the channel names I have here. So, I was able to test it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to