Hi
a new plugin channelscan has been released. Channelscan uses a transponders .ini file from win project like prog-DVB software for create a channels.conf
The homepage of the plugin is at http://www.kikko77.altervista.org goto download page for the channelscan-0.0.4.tar.bz2 archive
--------------------------------------------------------------------------------------------------------- changelog: 2005-04-11: Version 0.0.4
- Channelscan is now faster because sets the filters for sdt, pat and pmt itself, so it now knows when scanning of a transponder is over.(idea from Luca Olivetti) (write by Thomas Bergwinkl) - It's now also possible to decide which service types (TV,Radio,NVOD) should be added (write by Thomas Bergwinkl) - it now checks if the dvb device, which does the scan, is able to provide the transponder. So no dvb-c/t devices will be selected for channelscan. (write by Thomas Bergwinkl) - fixed a bug, which crashed vdr if two transponders have the same polarization and almost the same frequency (write by Thomas Bergwinkl) - now take care of Setup.OSDHeigth (write by Thomas Bergwinkl) - added autorepeat for left/right buttons (suggested by Andrey Vlasov) (write by Thomas Bergwinkl) - added up/down to jump over 10 satellites (suggested by Andrey Vlasov) (write by Thomas Bergwinkl) - Add IT translation (by kikko77) *** A BIG THANKS TO Thomas Bergwinkl AND ALL BETA-TESTER FOR ALL NEW FEATURES *** ---------------------------------------------------------------------------------------------------------
Please read the README before to use the plugin... Any feedback is appreciated.
best regards kikko77
tinconn@virgilio.it wrote:
Hi
a new plugin channelscan has been released. Channelscan uses a transponders .ini file from win project like prog-DVB software for create a channels.conf
The homepage of the plugin is at http://www.kikko77.altervista.org goto download page for the channelscan-0.0.4.tar.bz2 archive
changelog: 2005-04-11: Version 0.0.4
- Channelscan is now faster because sets the filters for sdt, pat and
pmt itself, so it now knows when scanning of a transponder is over.(idea from Luca Olivetti) (write by Thomas Bergwinkl)
I see you've copied large parts of VDR's pat and sdt code in order to introduce what I assume shall improve performance.
Would you mind elaborating on all these changes and letting me know what and why they do, so maybe the official VDR code might also benefit?
Generally it's not such a good idea to duplicate large code segments in a plugin...
Klaus
Klaus Schmidinger wrote:
tinconn@virgilio.it wrote:
Hi
a new plugin channelscan has been released. Channelscan uses a transponders .ini file from win project like prog-DVB software for create a channels.conf
The homepage of the plugin is at
http://www.kikko77.altervista.org goto
download page for the channelscan-0.0.4.tar.bz2 archive
changelog: 2005-04-11: Version 0.0.4
- Channelscan is now faster because sets the filters for
sdt, pat and
pmt itself, so it now knows when scanning of a transponder is
over.(idea from Luca
Olivetti) (write by Thomas Bergwinkl)
I see you've copied large parts of VDR's pat and sdt code in order to introduce what I assume shall improve performance.
In ealier version the plugin just switched to all transponders of a satellite, waited 10 seconds and let vdr add new channels. But of course it is not always necessary to wait so long, or sometimes after 10 seconds not all channels were added by vdr. So Luca Olivetti wanted a way to get a notification when a transponder scan is complete. So he suggested to wait until 'sdt.getSectionNumber() == sdt.getLastSectionNumber()'.
Of course this is not enough, you also have to wait for the pmt data. But there is the problem, that some pids are in pat, but don't get broadcasted. To speed up the scan, the plugin sets 10 filter for pmt-pids at a time. So when there is such a pmt pid, which isn't in the stream, it can't delay processing the other pids (as long not all 10 are missing, which is improbable)
A second attempt to avoid those timeouts is that only the pmt pid filter will be set for services which were really in sdt. Because it makes no sense to wait for the pmt data for services, which are not in channels.conf (which pids should then be set/updated?).
So this changes did i make: - sdtfilter tells patfilter which SIDs it received - patfilter sets only for these services the filters for pmtpids - patfilter sets up to 10 filters for pmtpids simultaneous - after all sections of sdt and the necessary pmtpids were proceeded, the plugin knows that the scan for the transponder is then over
Would you mind elaborating on all these changes and letting me know what and why they do, so maybe the official VDR code might also benefit?
The main idea for the modifications in the plugin was that more than one filter for pmtpids will be set at a time. But I'm not sure, if this is a good idea for vdr's patfilter. I think the number of filters which can be set simultaneous is limited. So when vdr sets too much filters for proceeding pmt data then perhaps there aren't enough left for recordings? Perhaps it would be possible to set always as much filters as possible and stop them when filters for more important things (like a recording) are needed. So perhaps priorities for filters would be a good idea?
Thomas
I have used channelscan. this is a very useful plugin, when adding new sats to your system. but my question is when you do a scan, where does it store the information once the scan is complete, and also how does this plugin get copied over to the channels.conf file.
-----Original Message----- From: vdr-bounces@linuxtv.org [mailto:vdr-bounces@linuxtv.org]On Behalf Of Klaus Schmidinger Sent: Saturday, May 07, 2005 10:28 AM To: vdr@linuxtv.org Subject: Re: [vdr] [ANNOUNCE] Channelscan Plugin 0.0.4
tinconn@virgilio.it wrote:
Hi
a new plugin channelscan has been released. Channelscan uses a transponders .ini file from win project like prog-DVB software for create a channels.conf
The homepage of the plugin is at http://www.kikko77.altervista.org goto download page for the channelscan-0.0.4.tar.bz2 archive
-------------------------------
changelog: 2005-04-11: Version 0.0.4
- Channelscan is now faster because sets the filters for sdt, pat and
pmt itself, so it now knows when scanning of a transponder is over.(idea from Luca Olivetti) (write by Thomas Bergwinkl)
I see you've copied large parts of VDR's pat and sdt code in order to introduce what I assume shall improve performance.
Would you mind elaborating on all these changes and letting me know what and why they do, so maybe the official VDR code might also benefit?
Generally it's not such a good idea to duplicate large code segments in a plugin...
Klaus
_______________________________________________ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.11.6 - Release Date: 5/6/2005
Thomas Bergwinkl wrote:
Klaus Schmidinger wrote:
[..]
I see you've copied large parts of VDR's pat and sdt code in order to introduce what I assume shall improve performance.
In ealier version the plugin just switched to all transponders of a satellite, waited 10 seconds and let vdr add new channels. But of course it is not always necessary to wait so long, or sometimes after 10 seconds not all channels were added by vdr. So Luca Olivetti wanted a way to get a notification when a transponder scan is complete. So he suggested to wait until 'sdt.getSectionNumber() == sdt.getLastSectionNumber()'.
For reference, here's the original thread: http://thread.gmane.org/gmane.linux.vdr/21006
Bye
tinconn@virgilio.it wrote:
Hi
a new plugin channelscan has been released. Channelscan uses a transponders .ini file from win project like prog-DVB software for create a channels.conf
A small bugfix... in channelscan.c
- if ((iPosition > 0) && (iPosition < oTransp.iArrTranspodersFile)) { + if ((iPosition >= 0) && (iPosition <= oTransp.iArrTranspodersFile)) {
otherwise cant select first and last inifile.