Re: [vdr] Duplicate channels

2015-02-03 Thread Arthur




Lugupidamisega,
Arthur
2.02.2015 23:22, Arthur kirjutas:

25.01.2015 13:21, Klaus Schmidinger kirjutas:

On 23.01.2015 16:43, Adam Juraszek wrote:

On Fri, Jan 23, 2015 at 11:23 AM, Klaus Schmidinger
klaus.schmidin...@tvdr.de wrote:

On 22.01.2015 15:51, Adam Juraszek wrote:


Hello,

I have a few months old system with vdr 2.0.6. VDR is used only as a
backend for xbmc (via xvdr plugin).

Everything works fine except for a few lags which I tracked to VDR
creating new channels every now and then. When I checked the channels
I noticed there are duplicates (there are 36374 channels and many of
them are there about 500 times). I wouldn't be surprised if vdr would
suffer performance problem with such number of channels.

See the setup.conf (not changed in months), syslog and part of
channels (got by LSTC command) and stats:
https://gist.github.com/juriad/2b635ef475a6ddf829ab

Why VDR creates duplicate channels?
Is there problem with my configuration or is it a bug in vdr?
What other information shall I provide?



Looks like VDR doesn't find an existing channel in its Channels list
when it encounters a new version of the SDT. At the moment I have no
idea how that could happen.

Is this a plain vanilla, unpatched version 2.0.6 of VDR?

Klaus


Yes, it is unpatched version (just checked diff againts
vdr-2.0.6.tar.bz2).
I tried to use gdb to see what is happening.

Anyway, the backtrace of call of method cChannels::NewChannel is:
#0  cChannels::NewChannel (this=0x76b800 Channels,
Transponder=0xf992a0, Name=Name@entry=0x7f74ce78fdf0 CT 1 HD,
ShortName=ShortName@entry=0x7f74ce790df0 ,
 Provider=Provider@entry=0x7f74ce791df0 Towercom,
Nid=Nid@entry=3, Tid=3234, Sid=4901, Rid=0) at channels.c:1013
#1  0x004d64ee in cSdtFilter::Process (this=0xf9aa40,
Pid=optimized out, Tid=optimized out, Data=optimized out,
Length=optimized out) at sdt.c:105
#2  0x004d727c in cSectionHandler::Action (this=0xfa41e0) at
sections.c:211
#3  0x004f8b23 in cThread::StartThread (Thread=0xfa41e0) at
thread.c:262
#4  0x7f74d79920a4 in start_thread (arg=0x7f74ce794700) at
pthread_create.c:309
#5  0x7f74d63acccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

I tried to create a core-dump but gdb failed to do so.


Maybe you can add some debug output when a channel named CT 1 HD is
encountered in the SDT and then searched for in the Channels list.
Since the channel apparently *is* in the list, the search for it
seems to fail at some point. We need to find out the reason for that.

Klaus



Is there any progress?
Maybe my problem related to this too. I just jumped from vdr-2.1.6 to
the 2.1.8 and now I have many false OBSOLETE channels.
For example, i have channel (svdrpsend printout):
875 TV11:11804:hM2O0S0:S4.8E:27500:6001=2:6002=@3:6006:90F,93E:6000:86:8:0

but this and any other channels on that transponder marked as OBSOLETE:

Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'TV11,;' on
S4.8E transponder 111804 with id 86-8-6000-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'TV 2
Filmkanalen,;Viasat' on S4.8E transponder 111804 with id 86-8-6010-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Ticket,;' on
S4.8E transponder 111804 with id 86-8-6020-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'MTV NO,;' on
S4.8E transponder 111804 with id 86-8-6040-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat
History,;' on S4.8E transponder 111804 with id 86-8-6050-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat Sport
Baltic,;' on S4.8E transponder 111804 with id 86-8-6060-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Sjuan,;' on
S4.8E transponder 111804 with id 86-8-6080-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'TV4 Film,;' on
S4.8E transponder 111804 with id 86-8-6090-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat Nature
East,;' on S4.8E transponder 111804 with id 86-8-6030-0
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 822 from
'Viasat Sport Baltic,;' to 'Viasat Sport Baltic OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 875 from
'TV11,;' to 'TV11 OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 876 from 'TV
2 Filmkanalen,;' to 'TV 2 Filmkanalen OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 877 from
'Viasat History,;' to 'Viasat History OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 878 from
'Sjuan,;' to 'Sjuan OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 879 from
'TV4 Film,;' to 'TV4 Film OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 880 from
'Viasat Nature East,;' to 'Viasat Nature East OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 888 from
'MTV NO,;' to 'MTV NO OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] 

Re: [vdr] Duplicate channels

2015-02-02 Thread Arthur

25.01.2015 13:21, Klaus Schmidinger kirjutas:

On 23.01.2015 16:43, Adam Juraszek wrote:

On Fri, Jan 23, 2015 at 11:23 AM, Klaus Schmidinger
klaus.schmidin...@tvdr.de wrote:

On 22.01.2015 15:51, Adam Juraszek wrote:


Hello,

I have a few months old system with vdr 2.0.6. VDR is used only as a
backend for xbmc (via xvdr plugin).

Everything works fine except for a few lags which I tracked to VDR
creating new channels every now and then. When I checked the channels
I noticed there are duplicates (there are 36374 channels and many of
them are there about 500 times). I wouldn't be surprised if vdr would
suffer performance problem with such number of channels.

See the setup.conf (not changed in months), syslog and part of
channels (got by LSTC command) and stats:
https://gist.github.com/juriad/2b635ef475a6ddf829ab

Why VDR creates duplicate channels?
Is there problem with my configuration or is it a bug in vdr?
What other information shall I provide?



Looks like VDR doesn't find an existing channel in its Channels list
when it encounters a new version of the SDT. At the moment I have no
idea how that could happen.

Is this a plain vanilla, unpatched version 2.0.6 of VDR?

Klaus


Yes, it is unpatched version (just checked diff againts
vdr-2.0.6.tar.bz2).
I tried to use gdb to see what is happening.

Anyway, the backtrace of call of method cChannels::NewChannel is:
#0  cChannels::NewChannel (this=0x76b800 Channels,
Transponder=0xf992a0, Name=Name@entry=0x7f74ce78fdf0 CT 1 HD,
ShortName=ShortName@entry=0x7f74ce790df0 ,
 Provider=Provider@entry=0x7f74ce791df0 Towercom,
Nid=Nid@entry=3, Tid=3234, Sid=4901, Rid=0) at channels.c:1013
#1  0x004d64ee in cSdtFilter::Process (this=0xf9aa40,
Pid=optimized out, Tid=optimized out, Data=optimized out,
Length=optimized out) at sdt.c:105
#2  0x004d727c in cSectionHandler::Action (this=0xfa41e0) at
sections.c:211
#3  0x004f8b23 in cThread::StartThread (Thread=0xfa41e0) at
thread.c:262
#4  0x7f74d79920a4 in start_thread (arg=0x7f74ce794700) at
pthread_create.c:309
#5  0x7f74d63acccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

I tried to create a core-dump but gdb failed to do so.


Maybe you can add some debug output when a channel named CT 1 HD is
encountered in the SDT and then searched for in the Channels list.
Since the channel apparently *is* in the list, the search for it
seems to fail at some point. We need to find out the reason for that.

Klaus



Is there any progress?
Maybe my problem related to this too. I just jumped from vdr-2.1.6 to 
the 2.1.8 and now I have many false OBSOLETE channels.

For example, i have channel (svdrpsend printout):
875 TV11:11804:hM2O0S0:S4.8E:27500:6001=2:6002=@3:6006:90F,93E:6000:86:8:0

but this and any other channels on that transponder marked as OBSOLETE:

Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'TV11,;' on 
S4.8E transponder 111804 with id 86-8-6000-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'TV 2 
Filmkanalen,;Viasat' on S4.8E transponder 111804 with id 86-8-6010-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Ticket,;' on 
S4.8E transponder 111804 with id 86-8-6020-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'MTV NO,;' on 
S4.8E transponder 111804 with id 86-8-6040-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat 
History,;' on S4.8E transponder 111804 with id 86-8-6050-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat Sport 
Baltic,;' on S4.8E transponder 111804 with id 86-8-6060-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Sjuan,;' on 
S4.8E transponder 111804 with id 86-8-6080-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'TV4 Film,;' on 
S4.8E transponder 111804 with id 86-8-6090-0
Feb  2 22:14:50 akovdr vdr: [5269] creating new channel 'Viasat Nature 
East,;' on S4.8E transponder 111804 with id 86-8-6030-0
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 822 from 
'Viasat Sport Baltic,;' to 'Viasat Sport Baltic OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 875 from 
'TV11,;' to 'TV11 OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 876 from 'TV 
2 Filmkanalen,;' to 'TV 2 Filmkanalen OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 877 from 
'Viasat History,;' to 'Viasat History OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 878 from 
'Sjuan,;' to 'Sjuan OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 879 from 
'TV4 Film,;' to 'TV4 Film OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 880 from 
'Viasat Nature East,;' to 'Viasat Nature East OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 888 from 
'MTV NO,;' to 'MTV NO OBSOLETE,;OBSOLETE '
Feb  2 22:14:50 akovdr vdr: [5269] changing name of channel 945 from 
'Ticket,;' 

Re: [vdr] Duplicate channels

2015-01-25 Thread Klaus Schmidinger

On 23.01.2015 16:43, Adam Juraszek wrote:

On Fri, Jan 23, 2015 at 11:23 AM, Klaus Schmidinger
klaus.schmidin...@tvdr.de wrote:

On 22.01.2015 15:51, Adam Juraszek wrote:


Hello,

I have a few months old system with vdr 2.0.6. VDR is used only as a
backend for xbmc (via xvdr plugin).

Everything works fine except for a few lags which I tracked to VDR
creating new channels every now and then. When I checked the channels
I noticed there are duplicates (there are 36374 channels and many of
them are there about 500 times). I wouldn't be surprised if vdr would
suffer performance problem with such number of channels.

See the setup.conf (not changed in months), syslog and part of
channels (got by LSTC command) and stats:
https://gist.github.com/juriad/2b635ef475a6ddf829ab

Why VDR creates duplicate channels?
Is there problem with my configuration or is it a bug in vdr?
What other information shall I provide?



Looks like VDR doesn't find an existing channel in its Channels list
when it encounters a new version of the SDT. At the moment I have no
idea how that could happen.

Is this a plain vanilla, unpatched version 2.0.6 of VDR?

Klaus


Yes, it is unpatched version (just checked diff againts vdr-2.0.6.tar.bz2).
I tried to use gdb to see what is happening.

Anyway, the backtrace of call of method cChannels::NewChannel is:
#0  cChannels::NewChannel (this=0x76b800 Channels,
Transponder=0xf992a0, Name=Name@entry=0x7f74ce78fdf0 CT 1 HD,
ShortName=ShortName@entry=0x7f74ce790df0 ,
 Provider=Provider@entry=0x7f74ce791df0 Towercom,
Nid=Nid@entry=3, Tid=3234, Sid=4901, Rid=0) at channels.c:1013
#1  0x004d64ee in cSdtFilter::Process (this=0xf9aa40,
Pid=optimized out, Tid=optimized out, Data=optimized out,
Length=optimized out) at sdt.c:105
#2  0x004d727c in cSectionHandler::Action (this=0xfa41e0) at
sections.c:211
#3  0x004f8b23 in cThread::StartThread (Thread=0xfa41e0) at thread.c:262
#4  0x7f74d79920a4 in start_thread (arg=0x7f74ce794700) at
pthread_create.c:309
#5  0x7f74d63acccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

I tried to create a core-dump but gdb failed to do so.


Maybe you can add some debug output when a channel named CT 1 HD is
encountered in the SDT and then searched for in the Channels list.
Since the channel apparently *is* in the list, the search for it
seems to fail at some point. We need to find out the reason for that.

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Duplicate channels

2015-01-23 Thread Klaus Schmidinger

On 22.01.2015 15:51, Adam Juraszek wrote:

Hello,

I have a few months old system with vdr 2.0.6. VDR is used only as a
backend for xbmc (via xvdr plugin).

Everything works fine except for a few lags which I tracked to VDR
creating new channels every now and then. When I checked the channels
I noticed there are duplicates (there are 36374 channels and many of
them are there about 500 times). I wouldn't be surprised if vdr would
suffer performance problem with such number of channels.

See the setup.conf (not changed in months), syslog and part of
channels (got by LSTC command) and stats:
https://gist.github.com/juriad/2b635ef475a6ddf829ab

Why VDR creates duplicate channels?
Is there problem with my configuration or is it a bug in vdr?
What other information shall I provide?


Looks like VDR doesn't find an existing channel in its Channels list
when it encounters a new version of the SDT. At the moment I have no
idea how that could happen.

Is this a plain vanilla, unpatched version 2.0.6 of VDR?

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Duplicate channels

2015-01-23 Thread Adam Juraszek
On Fri, Jan 23, 2015 at 11:23 AM, Klaus Schmidinger
klaus.schmidin...@tvdr.de wrote:
 On 22.01.2015 15:51, Adam Juraszek wrote:

 Hello,

 I have a few months old system with vdr 2.0.6. VDR is used only as a
 backend for xbmc (via xvdr plugin).

 Everything works fine except for a few lags which I tracked to VDR
 creating new channels every now and then. When I checked the channels
 I noticed there are duplicates (there are 36374 channels and many of
 them are there about 500 times). I wouldn't be surprised if vdr would
 suffer performance problem with such number of channels.

 See the setup.conf (not changed in months), syslog and part of
 channels (got by LSTC command) and stats:
 https://gist.github.com/juriad/2b635ef475a6ddf829ab

 Why VDR creates duplicate channels?
 Is there problem with my configuration or is it a bug in vdr?
 What other information shall I provide?


 Looks like VDR doesn't find an existing channel in its Channels list
 when it encounters a new version of the SDT. At the moment I have no
 idea how that could happen.

 Is this a plain vanilla, unpatched version 2.0.6 of VDR?

 Klaus

 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Yes, it is unpatched version (just checked diff againts vdr-2.0.6.tar.bz2).
I tried to use gdb to see what is happening.

Anyway, the backtrace of call of method cChannels::NewChannel is:
#0  cChannels::NewChannel (this=0x76b800 Channels,
Transponder=0xf992a0, Name=Name@entry=0x7f74ce78fdf0 CT 1 HD,
ShortName=ShortName@entry=0x7f74ce790df0 ,
Provider=Provider@entry=0x7f74ce791df0 Towercom,
Nid=Nid@entry=3, Tid=3234, Sid=4901, Rid=0) at channels.c:1013
#1  0x004d64ee in cSdtFilter::Process (this=0xf9aa40,
Pid=optimized out, Tid=optimized out, Data=optimized out,
Length=optimized out) at sdt.c:105
#2  0x004d727c in cSectionHandler::Action (this=0xfa41e0) at
sections.c:211
#3  0x004f8b23 in cThread::StartThread (Thread=0xfa41e0) at thread.c:262
#4  0x7f74d79920a4 in start_thread (arg=0x7f74ce794700) at
pthread_create.c:309
#5  0x7f74d63acccd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

I tried to create a core-dump but gdb failed to do so.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Duplicate channels list

2008-12-14 Thread Clemens Kirchgatterer
Alex Betis alex.be...@gmail.com wrote:

 Strange... I sent that email to the list, but it doesn't appear there.
 Resending...

it has appeared. i guess you pull your mails from gmail via pop. gmail
does not send you your own mails. it's annoying - i know. :-)

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Duplicate channels list

2008-12-13 Thread Alex Betis
Strange... I sent that email to the list, but it doesn't appear there.
Resending...

Hi Klaus,

 What is the motivation behind the logic of not allowing duplicate channels
 in channels.conf file?

 I've tried to mimic channels settings of my Topfield receiver where I have
 favorite channels divided in
 different groups, while I can still access any channel on any satellite.

 I've intended to have it that way:
 :News
 :Sport
 :Kids
 :Radio
 :@1 All
 :Sat1
 :Sat2
 :Sat3

 Where SatX group has all the channels of that satellite and
 News,Sport,Kids,Radio groups will
 act as favorite channels groups having the same channels as in SatX groups.

 I had to change some functions in channels.c to update all duplicate
 channels when an update should
 be done.

 If anyone is interested I'll post it here.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr