Bug 158943 - EPG in DVB-C does not work
Summary: EPG in DVB-C does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Christophe Thommeret
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 23:56 UTC by Kari Paju
Modified: 2009-02-20 21:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Picture from Kaffeine EPG on (389.80 KB, image/png)
2008-03-07 23:59 UTC, Kari Paju
Details
5 MB DVB-C EPG dump from Kaffeine 0.8.5 (888.97 KB, application/x-gzip)
2008-03-08 01:00 UTC, tlinden
Details
The corresponding 157 kB EPG dump from Kaffeine 0.8.6 (153.74 KB, text/plain)
2008-03-08 01:04 UTC, tlinden
Details
channels.dvb file as requested (11.64 KB, text/plain)
2008-03-16 19:21 UTC, Kari Paju
Details
channels_0.8.5.dvb created with Kaffeine 0.8.5 (12.84 KB, text/plain)
2008-03-16 23:33 UTC, tlinden
Details
channels_0.8.6.dvb created with Kaffeine 0.8.6 (13.01 KB, text/plain)
2008-03-16 23:34 UTC, tlinden
Details
channels.dvb (11.79 KB, text/plain)
2008-03-17 21:38 UTC, Kari Paju
Details
EPG data, bunzipped (221.88 KB, application/octet-stream)
2008-03-21 19:41 UTC, Kari Paju
Details
channels.dvb (11.82 KB, text/plain)
2008-03-21 19:42 UTC, Kari Paju
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kari Paju 2008-03-07 23:56:54 UTC
Version:           0.8.6 rel 72.6 (using KDE 3.5.7)
Installed from:    SuSE RPMsSuSE RPMs
OS:                Linux

I have over 100 TV channels our from cable. Most of them are pay TV, and I do not have access to them. But there are several free TVs.

When I try to look EPG, it shows only 10 channels (from which 5 is TV channels) list. Not others.
I live in Finland, TTV is my cable provider.
Comment 1 Kari Paju 2008-03-07 23:59:09 UTC
Created attachment 23827 [details]
Picture from Kaffeine EPG on

This is snapshot from Kaffeine, where I have running program underneath EPG.
EPG shows only few channels in list, not others than provider YLE.
Comment 2 tlinden 2008-03-08 00:54:48 UTC
I'm running Fedora 8 with a DVB-C card. Kaffeine 0.8.5 finds the EPG data OK, but Kaffeine 0.8.6 only finds a few channels EPG data out of about a 100 channels, see the attached files. 
Comment 3 tlinden 2008-03-08 01:00:48 UTC
Created attachment 23828 [details]
5 MB DVB-C EPG dump from Kaffeine 0.8.5
Comment 4 tlinden 2008-03-08 01:04:37 UTC
Created attachment 23829 [details]
The corresponding 157 kB EPG dump from Kaffeine 0.8.6
Comment 5 Christophe Thommeret 2008-03-16 11:04:51 UTC
Please, post your channels.dvb
Comment 6 Kari Paju 2008-03-16 19:21:31 UTC
Created attachment 23923 [details]
channels.dvb file as requested

This is my current channels.dvb file. Hopefully this helps :)
Anything else that I could do to help in this case?
Comment 7 Christophe Thommeret 2008-03-16 21:52:22 UTC
yes, delete all channels and rescan.
Comment 8 tlinden 2008-03-16 23:33:26 UTC
Created attachment 23926 [details]
channels_0.8.5.dvb created with Kaffeine 0.8.5
Comment 9 tlinden 2008-03-16 23:34:19 UTC
Created attachment 23927 [details]
channels_0.8.6.dvb created with Kaffeine 0.8.6
Comment 10 tlinden 2008-03-16 23:39:40 UTC
I removed all channels and rescanned them and now the EPG data seems to be as it should. Thank you for this hint. 

Why would the video and audio streams work OK after an 0.8.5 -> 0.8.6 upgrade but the EPG data would not work without deleting all channels and rescanning?
Comment 11 Kari Paju 2008-03-17 21:38:40 UTC
Created attachment 23937 [details]
channels.dvb

Here is my channels.dvb - no luck in epg after rescanning channels. Same
problem than before, only YLE channels have EPG information, no others have.

Any next proposal to be tested?
Comment 12 Kari Paju 2008-03-21 19:41:11 UTC
Created attachment 23992 [details]
EPG data, bunzipped
Comment 13 Kari Paju 2008-03-21 19:42:16 UTC
Created attachment 23993 [details]
channels.dvb

current channels.dvb
Comment 14 Kari Paju 2008-03-21 19:46:26 UTC
I added two files, EPG data, and channels.dvb.

I changed network ID to 1100 for few channels, and due to that I started to get EPG data from missing channels. Data is not perfect, unfortunately. 

I do not know, if this helps at all to clarify this bug, but at least something have been found.
Comment 15 m0711 2008-04-09 23:19:07 UTC
*** This bug has been confirmed by popular vote. ***
Comment 16 Christophe Thommeret 2008-04-10 00:53:41 UTC
As i said previously, delete all channels and rescan (with 0.8.6)
Comment 17 Kari Paju 2008-04-10 07:55:13 UTC
I already did that a few times (at least 5 times without success). 

It is now working (not fully) to some channels, but only due to fact that I manually added network ID. After that I have not deleted channels, and I cannot do it in near future (hopefully I find time during weekend).

I will try it again (for the sixth time)...
Comment 18 m0711 2008-04-10 14:50:19 UTC
Delete & rescan does not help. 
Comment 19 Christophe Thommeret 2008-04-10 16:30:45 UTC
What are the Network ID of non-working-epg channels?
Comment 20 jmiaho 2008-04-14 20:12:56 UTC
I have the same problem on ubuntu 8.04, Kaffeine 0.8.6, Finland. Delete & rescan did not help. 

Network ID (no idea what it does) of the all non-working-epg channels is 0. After changing it to 1100 as Kari I get epg working for at least some channels.
Comment 21 Kari Paju 2008-04-15 08:14:21 UTC
I deleted again all channels, closed and restarted Kaffeine, scanned all channels (100+, mostly protected) and no EPG data anywhere else than in YLE channels.

Network ID were 0 for all channels that were non-working. When I changed to 1100 to MTV3 and Nelonen (Finnish channels), I got EPG working for those channels. Earlier same procedure helped also to MTV (Music TV), BBC World etc. free channels.

One additional thing that I remembered last weekend when I was entering Logitech USB webcam to Linux - I have compiled mantis support to my PC. The openSUSE (10.3) that I use, does not support Mantis driver, and I have made sort of "ugly patch", where I just compile necessary module, and install it into use. Could this cause any problem in my case? I think this does not apply to all, therefore I think it is not in Mantis-module.

I got mantis from here: http://www.jusst.de/hg/mantis/ and some infromation from here: http://www.linuxtv.org/pipermail/linux-dvb/2008-March/024301.html

I have older version because latest were not working in my machine. (package was mantis-a9ecd19a37c9.tar.bz2 if I remember correctly)
Comment 22 Christophe Thommeret 2008-04-15 10:35:03 UTC
Ok, the problem is NID==0.
As a workaround, edit the file kaffeine/src/input/dvb/plugins/epg/kaffeinedvbevents.cpp
and comment out lines 174 to 177 :
//if ( nid==0) {
//  mutex.unlock();
//  return 0;
//}

If not yet done, delete all channels and rescan with 0.8.6 before.
Comment 23 m0711 2008-04-15 16:47:14 UTC
Above patch works OK. EPG is now functional again. Thank you.  
Comment 24 Kari Paju 2008-04-15 17:56:59 UTC
Hi,

I am not able to verify due I do not have source files (for some reason).
But I trust that this corrects the bug, and I will mark as RESOLVED.  

Thank you Christophe

br, Kari
Comment 25 Otto Kekäläinen 2009-02-20 21:59:41 UTC
I just installed a fresh 0.8.7 (Ubuntu 8.10 backport) and this issue is still unresolved. 

I had to manually change the network id to 1100 in order get EPG working on any channel that uses network id 0 for EPG.