aboutsummaryrefslogtreecommitdiffstats
path: root/channels-conf (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-05-16overall whitespace & encoding fixesChristoph Pfister11-21/+11
patch from Matthias Schwarzott: - use utf8 everywhere for files & file names additionally by me: - remove empty lines at the beginning of the files - remove any control character (< 0x20) except \n and \t - remove trailing whitespace - exactly one newline at the end of the files - remove junk from dvb-t/au-Melbourne-Upwey
2006-04-16Fixed szap channels for Brasil Sat B3Mauro Carvalho Chehab1-240/+39
2006-03-28Add seed file for BrasilSat from MauroAndrew de Quincey1-0/+240
2005-12-08update from Raúl Sánchez SilesJohannes Stezenbach1-2/+1
2005-12-07update from Raúl Sánchez SilesJohannes Stezenbach1-16/+27
2005-11-19sent by Martin RichardsonJohannes Stezenbach1-0/+18
2005-08-15submitted by Albrecht LohoefenerJohannes Stezenbach1-0/+7
2005-06-14remove invalid field between audio pid and service_idJohannes Stezenbach1-226/+226
2005-04-23submitted by Thilo ErnstJohannes Stezenbach2-21/+46
2005-04-03submitted by Thilo ErnstJohannes Stezenbach1-0/+21
2005-02-08submitted by Simon RobertJohannes Stezenbach1-0/+522
2005-01-05patch by Taylor Jacob:Johannes Stezenbach1-0/+8
- add azap (ATSC Zapping Application) + channels.conf example - add script for creating channels.conf for ATSC cards written by Angel Li --- util/szap/channels-conf/atsc/us-Raleigh-Durham | 8 ++++++++ 1 file changed, 8 insertions(+)
2004-12-13submitted by Francesc Pinyol MargalefJohannes Stezenbach3-11/+43
2004-11-29submitted by Stefan HußfeldtJohannes Stezenbach1-0/+22
2004-11-14submitted by Felix SchumacherJohannes Stezenbach1-0/+23
2004-11-09submitted by Robert LodahlJohannes Stezenbach1-0/+25
2004-11-08update submitted by Hans-Jürgen FickerJohannes Stezenbach1-25/+25
2004-11-08update submitted by Hans-Jürgen FickerJohannes Stezenbach1-15/+25
2004-11-08oops, wrong directory. this is a scan channel cfg, johannes did it right...Holger Waechtler1-8/+0
2004-11-08.Holger Waechtler1-0/+8
2004-09-15added frequencies for Rhein-Main according to ↵Andreas Oberritter1-0/+6
http://rhein-main.ueberallfernsehen.de/website/static/derhr/dvb-t/06_download_technische_Parameter_ohne%20Logos.pdf
2004-08-16- updated versionMichael Hunold1-50/+47
2004-06-20submitted by Hans-Jürgen FickerJohannes Stezenbach1-0/+15
2004-05-22mv dvbscan init file to the right place and add tzap channels.confJohannes Stezenbach1-12/+28
for Australia / Adelaide / Mt Lofty; thanks to Martin Kenny
2004-05-11iInitial DVB-T tuning data for au-Adelaide submitted by Martin KennyJohannes Stezenbach1-0/+12
2004-04-08brisbane/australia scan and channels file submitted by Clinton RoyJohannes Stezenbach1-31/+29
2004-03-02- added new DVB-T service lists for Australia, submitted byJohannes Stezenbach14-0/+792
Peter Urbanec and Hamish Moffatt - cleaned up the serivce list mess --- util/szap/channels-conf/dvb-c/de-Berlin | 171 +++++++++++++++ util/szap/channels-conf/dvb-s/Astra-19.2E | 226 +++++++++++++++++++++ util/szap/channels-conf/dvb-t/au-Brisbane | 31 ++ util/szap/channels-conf/dvb-t/au-Melbourne | 18 + util/szap/channels-conf/dvb-t/au-Sydney-NorthShore | 33 +++ util/szap/channels-conf/dvb-t/cz-Praha | 18 + util/szap/channels-conf/dvb-t/de-Berlin | 51 ++++ util/szap/channels-conf/dvb-t/es-Collserola | 25 ++ util/szap/channels-conf/dvb-t/es-Madrid | 16 + util/szap/channels-conf/dvb-t/uk-Crystal-Palace | 70 ++++++ util/szap/channels-conf/dvb-t/uk-Hannington | 28 ++ util/szap/channels-conf/dvb-t/uk-Oxford | 41 +++ util/szap/channels-conf/dvb-t/uk-Reigate | 51 ++++ util/szap/channels-conf/dvb-t/uk-Sandy-Heath | 13 + util/szap/channels.conf-dvbc-berlin | 171 --------------- util/szap/channels.conf-dvbs-astra | 226 --------------------- util/szap/channels.conf-dvbt-australia | 31 -- util/szap/channels.conf-dvbt-berlin | 51 ---- util/szap/channels.conf-dvbt-collserola | 25 -- util/szap/channels.conf-dvbt-crystal-palace | 70 ------ util/szap/channels.conf-dvbt-hannington | 28 -- util/szap/channels.conf-dvbt-madrid | 16 - util/szap/channels.conf-dvbt-oxford | 41 --- util/szap/channels.conf-dvbt-praha | 18 - util/szap/channels.conf-dvbt-reigate | 51 ---- util/szap/channels.conf-dvbt-sandy_heath | 13 - 26 files changed, 792 insertions(+), 741 deletions(-)
">param; double value; // Get Parameter // R2N stands for 'Result to Number' param=R2N(arg1); // calculate value value=param*2.0; // store result // when called with R_NUMBER, it assumes the // next parameter to be a pointer to double SetResult(&result, R_NUMBER, &value); } // sample function 'mul3' // takes one argument, a number // multiplies the number by 3.0 // same as 'mul2', but shorter static void my_mul3 (RESULT *result, RESULT *arg1) { // do it all in one line double value=R2N(arg1)*3.0; // store result SetResult(&result, R_NUMBER, &value); } // sample function 'diff' // takes two arguments, both numbers // returns |a-b| static void my_diff (RESULT *result, RESULT *arg1, RESULT *arg2) { // do it all in one line double value=R2N(arg1)-R2N(arg2); // some more calculations... if (value<0) value=-value; // store result SetResult(&result, R_NUMBER, &value); } // sample function 'answer' // takes no argument! // returns the answer to all questions static void my_answer (RESULT *result) { // we have to declare a variable because // SetResult needs a pointer double value=42; // store result SetResult(&result, R_NUMBER, &value); } // sample function 'length' // takes one argument, a string // returns the string length static void my_length (RESULT *result, RESULT *arg1) { // Note #1: value *must* be double! // Note #2: R2S stands for 'Result to String' double value=strlen(R2S(arg1)); // store result SetResult(&result, R_NUMBER, &value); } // sample function 'upcase' // takes one argument, a string // returns the string in upper case letters static void my_upcase (RESULT *result, RESULT *arg1) { char *value, *p; // create a local copy of the argument // Do *NOT* try to modify the original string! value=strdup(R2S(arg1)); // process the string for (p=value; *p!='\0'; p++) *p=toupper(*p); // store result // when called with R_STRING, it assumes the // next parameter to be a pointer to a string // 'value' is already a char*, so use 'value', not '&value' SetResult(&result, R_STRING, value); // free local copy again // Note that SetResult() makes its own string copy free (value); } // sample function 'cat' // takes variable number of arguments, all strings // returns all prameters concatenated static void my_concat (RESULT *result, int argc, RESULT *argv[]) { int i, len; char *value, *part; // start with a empty string value=strdup(""); // process all arguments for (i=0; i<argc; i++) { part=R2S(argv[i]); len=strlen(value)+strlen(part); value=realloc(value, len+1); strcat(value, part); } // store result SetResult(&result, R_STRING, value); // free local string free (value); } // plugin initialization // MUST NOT be declared 'static'! int plugin_init_sample (void) { // register all our cool functions // the second parameter is the number of arguments // -1 stands for variable argument list AddFunction ("mul2", 1, my_mul2); AddFunction ("mul3", 1, my_mul3); AddFunction ("answer", 0, my_answer); AddFunction ("diff", 2, my_diff); AddFunction ("length", 1, my_length); AddFunction ("upcase", 1, my_upcase); AddFunction ("concat", -1, my_concat); return 0; }