Re: [vdr] [patch] channels with same pids+channels update
Thiemo wrote: >> The patch keeps a time stamp whenever a channel announcement is seen, >> and the plugin tracks the first-seen and last-seen time of all channels > Is this timestamp stored in the channels.conf? If so, what about > compatibility? No, it is not, to preserve compatibility and to keep the patch minimal. The patch keeps this information only on a per-session base. The plugin then stores the information in a separate file across sessions. >> If there's interest in this, I can publish these two. > Yes, i would be interested. Please post it. I'll see what I can do. Cheers, Udo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids+channels update
Am Samstag 12 April 2008 schrieb Udo Richter: > Peter Evertz wrote: > > I am very interested in this feature. My providers (astra/hotbird) are > > smart enough not to send not to much garbage, but deleting of unused > > channels is really a pain. I am at 4500 Channels in my channels.conf and > > I am pretty sure that at least 30 % of them are long gone. > > I'm using a (not yet published) small patch and a (also not yet > published) plugin to keep track of channels: > > The patch keeps a time stamp whenever a channel announcement is seen, > and the plugin tracks the first-seen and last-seen time of all channels Is this timestamp stored in the channels.conf? If so, what about compatibility? > If there's interest in this, I can publish these two. Yes, i would be interested. Please post it. regards, Thiemo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids+channels update
Peter Evertz wrote: > I am very interested in this feature. My providers (astra/hotbird) are > smart enough not to send not to much garbage, but deleting of unused > channels is really a pain. I am at 4500 Channels in my channels.conf and > I am pretty sure that at least 30 % of them are long gone. I'm using a (not yet published) small patch and a (also not yet published) plugin to keep track of channels: The patch keeps a time stamp whenever a channel announcement is seen, and the plugin tracks the first-seen and last-seen time of all channels persistently. If a channel was not seen for some time, the channel name gets marked, and the channel can easily be deleted manually later. If there's interest in this, I can publish these two. Cheers, Udo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids+channels update
On Thursday 10 Apr 2008, Peter Evertz wrote: > ua0lnj schrieb: > > And other feature, this is deleting absent channels. If provider was > > deleted channels, you need delete it from channels.conf manually. > > After this patch, vdr auto deleting channels, which not present on > > transponder in sdt. Need select "delete absent channels" in dvb > > settings menu, but if you selected channels update or transponder > > update. > > I am very interested in this feature. My providers (astra/hotbird) are > smart enough not to send not to much garbage, but deleting of unused > channels is really a pain. I am at 4500 Channels in my channels.conf and > I am pretty sure that at least 30 % of them are long gone. > > Is it possible to have that feature seperated ? > @kls ... and include it in the mainline ? Beware... VDRadmin (and maybe other applications) uses the line number in channels.conf to decide whether to display a channel. Deleting defunct channels would mess this up. -- Dave ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids+channels update
En/na Peter Evertz ha escrit: > I am very interested in this feature. My providers (astra/hotbird) are > smart enough not to send not to much garbage, but deleting of unused > channels is really a pain. I am at 4500 Channels in my channels.conf and > I am pretty sure that at least 30 % of them are long gone. Beware, though, that there are providers that don't advertise channels in the sdt even if the channels are currently broadcasting. In the actuator plugin I have an option to prefix a '+' to all channels in the current satellite, then you start a channel scan which will update all active channels (i.e removing the '+'). At the end of the scan you can tell it to delete all channels marked with '+'. It's clumsier but it's safer, since you can revise the channels that are going to be deleted before actually deleting them. Of course all of this wouldn't be necessary if all broadcasters respected the standards Bye -- Luca ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids+channels update
ua0lnj schrieb: > Hi > If it's interecting for anybody. ... > And other feature, this is deleting absent channels. If provider was > deleted channels, you need delete it from channels.conf manually. > After this patch, vdr auto deleting channels, which not present on > transponder in sdt. Need select "delete absent channels" in dvb > settings menu, but if you selected channels update or transponder update. I am very interested in this feature. My providers (astra/hotbird) are smart enough not to send not to much garbage, but deleting of unused channels is really a pain. I am at 4500 Channels in my channels.conf and I am pretty sure that at least 30 % of them are long gone. Is it possible to have that feature seperated ? @kls ... and include it in the mainline ? Best regards Peter ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] [patch] channels with same pids+channels update
Hi If it's interecting for anybody. This is next version of a patch for non unique channels pids. (for stupid providers :) ). Rid not used now, SID/NID/TID+Transponder only. I tested this patch on 80E Express AM2 KU band. In my channels.conf: Культура;Orion Express:11044:hC56:S80.0E:44948:301:401=rus:0:602:1:1:1:0 TV-NADYM;Service Provider:11190:HC34:S80.0E:3255:308 +8190:256=eng,257=eng:0:0:1:1:1:0 Russya+Tomsk;Russya+Tomsk:11463:VC34:S80.0E:3200:96 +100:97=rus,98=rus:0:2600:1:1:1:0 Yugoria Network:11478:HC34:S80.0E:4400:1110:1211=und,1213=und,1212=und,1214=und:0:0:1:1:1:0 GTRK KUZBASS;TandbergTV:11650:VC34:S80.0E:5700:308 +8190:256=eng,257=fra:0:0:1:1:1:0 Охота и Рыбалка;Orion Express:11044:hC56:S80.0E:44948:302:402=rus:0:602:2:1:1:0 Yugoria Audio:11478:HC34:S80.0E:4400:0:1215=und,1217=und:0:0:2:1:1:0 I think this is show how dvb standard use. And you can switch off "delete duplicate channels" in dvb settings menu, if you want. ( if you set "delete duplicate channels" to ON, vdr can works with incorrect pids too). And other feature, this is deleting absent channels. If provider was deleted channels, you need delete it from channels.conf manually. After this patch, vdr auto deleting channels, which not present on transponder in sdt. Need select "delete absent channels" in dvb settings menu, but if you selected channels update or transponder update. Attached patch: for native vrd-1.6.0, for vdr+iptv plugin, for vdr +h264(without dvb-s2), for vdr+h264+iptv. -- ua0lnj Pridvorov Andrey vdr-1.6.0-dvb_channels.patch.tar.bz2 Description: application/bzip-compressed-tar ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids
On Sun, 2008-02-24 at 10:34 +0100, Klaus Schmidinger wrote: > On 02/24/08 07:20, ua0lnj wrote: > > Hi > > 1. cChannel::PluginParam() need for iptv plugin. > > sorry, i was attached bad version for native vdr. > > See attach for this message. > > > > 2. You right of cause, the triplet SID/NID/TID is supposed to be unique > > within one satellite, but in really we have incorrect pid tables on many > > satellites, and in local iptv networks. Example, see > > http://www.lyngsat.com/eam2.html, some channels have equal pids: > > 11650V, 11190H, and 11044H too. > > This is fault of sat providers, but we have it as is. And be a fine, if > > vdr can works correct with such channels, without editing channel.conf > > manually. > > Have you ever tried complaining to those providers, telling them about > their non-standard behavior? > > If we always just work around the provider's faults, we're never going > to get standard behavior... Satellites are a multi-million dollar business. Do we really think that a few VDR users complaining that they cannot use their particular choice of receiver (VDR) is going to make a difference? > Klaus > > > On Sat, 23/02/2008 18:03 +0100, Klaus Schmidinger wrote: > >> On 02/22/08 04:29, ua0lnj wrote: > >>> Hi. > >>> Some satellites have many channels with same sid, nid, tid on different > >>> transponders. This is incorrect pid table, and vdr works with it not > >>> good, need scan channels and change rid manually, but if you select > >>> "transponder update" all you settings will be rewrite and channels > >>> deleted as duplicate. > >>> I have this trouble on ABS1 75.0 E and Express AM2 80.0 E, and I have > >>> very many channels with same pids on my iptv stream. > >>> After this patch, vdr parsing duplicate pids, and if transponders is > >>> not equal, channel not deleted, but rid wil be increased. If pids and > >>> transponders are equal, channel will be deleted as duplicate. > >>> Patch was made for vdr-1.5.12, but works with 1.5.15 too. > >>> Attached 3 patches, for native vdr and vdr + iptv plugin patched and for > >>> native reelchannelscan-0.4.1 plugin (include patch for 1.5.xx). > >> First of all, there is no cChannel::PluginParam() in plain vanilla VDR > >> 1.5.15. > >> > >> Secondly, as far as I understand this, the triplet SID/NID/TID is supposed > >> to be unique within one satellite. > >> Can you point me to a standard document that would indicate otherwise? > >> > >> Klaus > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids
Trying working with NA sats. At least in Europe you have standards. Here the only standard is that there is no standard. For example, on 97w after using a custome scanner, if I allow VDR to auto update channel names, then surf through the channels with a fresh conf, some channels dissapear, others get renamed to wrong names, etc.. Using yaepg while fliping through I can see some channels get shuffled and renamed. - Original Message - From: "Klaus Schmidinger" <[EMAIL PROTECTED]> To: Sent: Sunday, February 24, 2008 7:00 AM Subject: Re: [vdr] [patch] channels with same pids > On 02/24/08 12:35, Igor wrote: > >> Have you ever tried complaining to those providers, telling them about > >> their non-standard behavior? > > > > I have tried. Several times. No results. > > I wonder why these people think that the DVB standards don't apply to them... > > > I can confirm that only VDR has this problem. Other receivers (dreambox for example) don't have this problem. > > Does this mean that the dreambox doesn't identify channels using NID/TID/SID? > > VDR itself doesn't use the RID, and I don't like starting to use it > just to iron out the inability of some providers to adhere to the standard. > I'd rather like to get rid of the RID altogether. > > Klaus > > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids
I think, may be not need use rid, but add new parameter for channel identify, such as transponder example, or add some variants of identify and select it in settings... Nid/Tid/Sid or Transponder/Channel Name or Transponder/Sid/Tid... Because wanted use "transponder update" and don't want edit channel.conf manually... В Вск, 24/02/2008 в 15:00 +0100, Klaus Schmidinger пишет: > On 02/24/08 12:35, Igor wrote: > >> Have you ever tried complaining to those providers, telling them about > >> their non-standard behavior? > > > > I have tried. Several times. No results. > > I wonder why these people think that the DVB standards don't apply to them... > > > I can confirm that only VDR has this problem. Other receivers (dreambox for > > example) don't have this problem. > > Does this mean that the dreambox doesn't identify channels using NID/TID/SID? > > VDR itself doesn't use the RID, and I don't like starting to use it > just to iron out the inability of some providers to adhere to the standard. > I'd rather like to get rid of the RID altogether. > > Klaus > > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > -- Pridvorov Andrey ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids
On 02/24/08 12:35, Igor wrote: >> Have you ever tried complaining to those providers, telling them about >> their non-standard behavior? > > I have tried. Several times. No results. I wonder why these people think that the DVB standards don't apply to them... > I can confirm that only VDR has this problem. Other receivers (dreambox for > example) don't have this problem. Does this mean that the dreambox doesn't identify channels using NID/TID/SID? VDR itself doesn't use the RID, and I don't like starting to use it just to iron out the inability of some providers to adhere to the standard. I'd rather like to get rid of the RID altogether. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids
> Have you ever tried complaining to those providers, telling them about > their non-standard behavior? I have tried. Several times. No results. I can confirm that only VDR has this problem. Other receivers (dreambox for example) don't have this problem. Igor ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids
On 02/24/08 07:20, ua0lnj wrote: > Hi > 1. cChannel::PluginParam() need for iptv plugin. > sorry, i was attached bad version for native vdr. > See attach for this message. > > 2. You right of cause, the triplet SID/NID/TID is supposed to be unique > within one satellite, but in really we have incorrect pid tables on many > satellites, and in local iptv networks. Example, see > http://www.lyngsat.com/eam2.html, some channels have equal pids: > 11650V, 11190H, and 11044H too. > This is fault of sat providers, but we have it as is. And be a fine, if > vdr can works correct with such channels, without editing channel.conf > manually. Have you ever tried complaining to those providers, telling them about their non-standard behavior? If we always just work around the provider's faults, we're never going to get standard behavior... Klaus > On Sat, 23/02/2008 18:03 +0100, Klaus Schmidinger wrote: >> On 02/22/08 04:29, ua0lnj wrote: >>> Hi. >>> Some satellites have many channels with same sid, nid, tid on different >>> transponders. This is incorrect pid table, and vdr works with it not >>> good, need scan channels and change rid manually, but if you select >>> "transponder update" all you settings will be rewrite and channels >>> deleted as duplicate. >>> I have this trouble on ABS1 75.0 E and Express AM2 80.0 E, and I have >>> very many channels with same pids on my iptv stream. >>> After this patch, vdr parsing duplicate pids, and if transponders is >>> not equal, channel not deleted, but rid wil be increased. If pids and >>> transponders are equal, channel will be deleted as duplicate. >>> Patch was made for vdr-1.5.12, but works with 1.5.15 too. >>> Attached 3 patches, for native vdr and vdr + iptv plugin patched and for >>> native reelchannelscan-0.4.1 plugin (include patch for 1.5.xx). >> First of all, there is no cChannel::PluginParam() in plain vanilla VDR >> 1.5.15. >> >> Secondly, as far as I understand this, the triplet SID/NID/TID is supposed >> to be unique within one satellite. >> Can you point me to a standard document that would indicate otherwise? >> >> Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [patch] channels with same pids
Hi 1. cChannel::PluginParam() need for iptv plugin. sorry, i was attached bad version for native vdr. See attach for this message. 2. You right of cause, the triplet SID/NID/TID is supposed to be unique within one satellite, but in really we have incorrect pid tables on many satellites, and in local iptv networks. Example, see http://www.lyngsat.com/eam2.html, some channels have equal pids: 11650V, 11190H, and 11044H too. This is fault of sat providers, but we have it as is. And be a fine, if vdr can works correct with such channels, without editing channel.conf manually. On Sat, 23/02/2008 18:03 +0100, Klaus Schmidinger wrote: > On 02/22/08 04:29, ua0lnj wrote: > > Hi. > > Some satellites have many channels with same sid, nid, tid on different > > transponders. This is incorrect pid table, and vdr works with it not > > good, need scan channels and change rid manually, but if you select > > "transponder update" all you settings will be rewrite and channels > > deleted as duplicate. > > I have this trouble on ABS1 75.0 E and Express AM2 80.0 E, and I have > > very many channels with same pids on my iptv stream. > > After this patch, vdr parsing duplicate pids, and if transponders is > > not equal, channel not deleted, but rid wil be increased. If pids and > > transponders are equal, channel will be deleted as duplicate. > > Patch was made for vdr-1.5.12, but works with 1.5.15 too. > > Attached 3 patches, for native vdr and vdr + iptv plugin patched and for > > native reelchannelscan-0.4.1 plugin (include patch for 1.5.xx). > > First of all, there is no cChannel::PluginParam() in plain vanilla VDR 1.5.15. > > Secondly, as far as I understand this, the triplet SID/NID/TID is supposed > to be unique within one satellite. > Can you point me to a standard document that would indicate otherwise? > > Klaus > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr diff -Nup vdr-1.5.12/channels.c vdr-1.5.12mod/channels.c --- vdr-1.5.12/channels.c 2007-10-13 01:40:53.0 +1100 +++ vdr-1.5.12mod/channels.c 2008-01-08 23:41:56.0 +1000 @@ -876,6 +876,7 @@ cChannels::cChannels(void) modified = CHANNELSMOD_NONE; } + void cChannels::DeleteDuplicateChannels(void) { cList ChannelSorter; @@ -887,12 +888,21 @@ void cChannels::DeleteDuplicateChannels( cChannelSorter *cs = ChannelSorter.First(); while (cs) { cChannelSorter *next = ChannelSorter.Next(cs); -if (next && cs->channelID == next->channelID) { +if (next && cs->channelID == next->channelID && cs->channel->Transponder() == next->channel->Transponder()) { dsyslog("deleting duplicate channel %s", *next->channel->ToText()); Del(next->channel); } -cs = next; -} +else if (next && cs->channelID == next->channelID) { + dsyslog("deleting duplicate id %s", *next->channel->ToText()); + int sid = cs->channel->Sid(); + int nid = cs->channel->Nid(); + int tid = cs->channel->Tid(); + int rid = cs->channel->Rid(); + next->channel->SetId(nid, tid, sid, rid+1); + } + cs = next; + } + Channels.Save(); } bool cChannels::Load(const char *FileName, bool AllowComments, bool MustExist) diff -Nup vdr-1.5.12/nit.c vdr-1.5.12mod/nit.c --- vdr-1.5.12/nit.c 2007-08-18 01:02:45.0 +1100 +++ vdr-1.5.12mod/nit.c 2007-12-29 13:39:39.0 +1000 @@ -143,7 +143,7 @@ void cNitFilter::Process(u_short Pid, u_ if (Setup.UpdateChannels >= 5) { bool found = false; for (cChannel *Channel = Channels.First(); Channel; Channel = Channels.Next(Channel)) { -if (!Channel->GroupSep() && Channel->Source() == Source && Channel->Nid() == ts.getOriginalNetworkId() && Channel->Tid() == ts.getTransportStreamId()) { +if (!Channel->GroupSep() && Channel->Source() == Source && Channel->Transponder() == Transponder() && Channel->Nid() == ts.getOriginalNetworkId() && Channel->Tid() == ts.getTransportStreamId()) { int transponder = Channel->Transponder(); if (!ISTRANSPONDER(cChannel::Transponder(Frequency, Polarization), transponder)) { for (int n = 0; n < NumFrequencies; n++) { diff -Nup vdr-1.5.12/sdt.c vdr-1.5.12mod/sdt.c --- vdr-1.5.12/sdt.c 2007-06-10 19:50:49.0 +1100 +++ vdr-1.5.12mod/sdt.c 2008-01-08 23:48:59.0 +1000 @@ -78,7 +78,7 @@ void cSdtFilter::Process(u_short Pid, u_ char *pp = compactspace(ProviderNameBuf); if (channel) { channel->SetId(sdt.getOriginalNetworkId(), sdt.getTransportStreamId(), SiSdtService.getServiceId()); - if (Setup.UpdateChannels == 1 || Setup.UpdateChannels >= 3) +
Re: [vdr] [patch] channels with same pids
On 02/22/08 04:29, ua0lnj wrote: > Hi. > Some satellites have many channels with same sid, nid, tid on different > transponders. This is incorrect pid table, and vdr works with it not > good, need scan channels and change rid manually, but if you select > "transponder update" all you settings will be rewrite and channels > deleted as duplicate. > I have this trouble on ABS1 75.0 E and Express AM2 80.0 E, and I have > very many channels with same pids on my iptv stream. > After this patch, vdr parsing duplicate pids, and if transponders is > not equal, channel not deleted, but rid wil be increased. If pids and > transponders are equal, channel will be deleted as duplicate. > Patch was made for vdr-1.5.12, but works with 1.5.15 too. > Attached 3 patches, for native vdr and vdr + iptv plugin patched and for > native reelchannelscan-0.4.1 plugin (include patch for 1.5.xx). First of all, there is no cChannel::PluginParam() in plain vanilla VDR 1.5.15. Secondly, as far as I understand this, the triplet SID/NID/TID is supposed to be unique within one satellite. Can you point me to a standard document that would indicate otherwise? Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] [patch] channels with same pids
Hi. Some satellites have many channels with same sid, nid, tid on different transponders. This is incorrect pid table, and vdr works with it not good, need scan channels and change rid manually, but if you select "transponder update" all you settings will be rewrite and channels deleted as duplicate. I have this trouble on ABS1 75.0 E and Express AM2 80.0 E, and I have very many channels with same pids on my iptv stream. After this patch, vdr parsing duplicate pids, and if transponders is not equal, channel not deleted, but rid wil be increased. If pids and transponders are equal, channel will be deleted as duplicate. Patch was made for vdr-1.5.12, but works with 1.5.15 too. Attached 3 patches, for native vdr and vdr + iptv plugin patched and for native reelchannelscan-0.4.1 plugin (include patch for 1.5.xx). vdr-1.5.12-incorrect-pid.diff Description: Binary data vdr-1.5.12-iptv-incorrect-pid.diff Description: Binary data reelchannelscan-0.4.1-1.5.12-incorrect-pid.diff Description: Binary data ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr