Bug 386146 - Kaffeine program information encrypted on UK (Freeview)
Summary: Kaffeine program information encrypted on UK (Freeview)
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-24 19:07 UTC by Michael
Modified: 2019-05-03 20:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2017-10-24 19:07:14 UTC
Kaffeine does not display the OSD and Program Guide properly.  The information given is unreadable garbage; almost as if it were encrypted.  Apart from this, the television works well.  I am using a Hauppauge Dual Tuner USB device, and my system language is UK English.  Thank you for any advice.
Comment 1 Mauro Carvalho Chehab 2017-12-02 09:18:56 UTC
(In reply to Michael from comment #0)
> Kaffeine does not display the OSD and Program Guide properly.  The
> information given is unreadable garbage; almost as if it were encrypted. 
> Apart from this, the television works well.  I am using a Hauppauge Dual
> Tuner USB device, and my system language is UK English.  Thank you for any
> advice.

That is a known issue. The problem is that UK (Freeview) encrypts the data at the Event Information Table - EIT, using huffman-based tables. While it is not hard to decrypt, there are some patents an licenses that apply to the huffman decoding tables. 

Adding it to Kaffeine or libdvbv5 could be problematic, from legal standpoint.
Comment 2 Mauro Carvalho Chehab 2019-05-03 20:30:15 UTC
(In reply to Mauro Carvalho Chehab from comment #1)
> (In reply to Michael from comment #0)
> > Kaffeine does not display the OSD and Program Guide properly.  The
> > information given is unreadable garbage; almost as if it were encrypted. 
> > Apart from this, the television works well.  I am using a Hauppauge Dual
> > Tuner USB device, and my system language is UK English.  Thank you for any
> > advice.
> 
> That is a known issue. The problem is that UK (Freeview) encrypts the data
> at the Event Information Table - EIT, using huffman-based tables. While it
> is not hard to decrypt, there are some patents an licenses that apply to the
> huffman decoding tables. 
> 
> Adding it to Kaffeine or libdvbv5 could be problematic, from legal
> standpoint.

Kaffeine 2.0.17 adds a feature that allows you to use EPG in UK: it comes with support for XMLTV files.

With that, you could either import the XMLTV using existing xmltv grabber scripts or write your own, eventually getting the data from EPG via an external application, with would decrypt and produce a XMLTV file, allowing it to be done outside Kaffeine, and preventing any licensing issues at Kaffeine's code.
Comment 3 Mauro Carvalho Chehab 2019-05-03 20:30:58 UTC
As it is now possible to import EPG data on Kaffeine via XMLTV files, I'm closing this bug.