aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2024-02-07dtv-scan-tables: added channels for Lviv, UkraineHEADmasterKostyantyn Sushchyk1-0/+36
2024-01-31isdb-t: Update Brazil channel listsMauro Carvalho Chehab1935-11312/+70605
2024-01-30dvb-s: drop transponders that aren't there at Lyngsat anymoreMauro Carvalho Chehab50-20357/+0
2024-01-30dvb-s: update from today's Lyngsat reportMauro Carvalho Chehab196-15543/+15859
2024-01-30dtv-scan-tables: full uk transmitter updateSimon Liddicott81-500/+163
2022-11-25dtv-scan-tables: hu-Digikabel changesHrotkó Gábor1-1/+26
2022-04-30pt-All: fix modulationMauro Carvalho Chehab1-10/+10
2022-04-30pt-All: Update Portugal channelsMauro Carvalho Chehab1-34/+70
2022-03-07Update Brazilian ISDB-T tablesMauro Carvalho Chehab549-2923/+13860
2022-03-07Update satellite channel lists from LyngsatMauro Carvalho Chehab54-1882/+2326
2021-12-14dtv-scan-tables: latest UK changesSimon Liddicott4-24/+24
2021-04-30update Brazilian scan filesMauro Carvalho Chehab2476-12805/+69312
2021-04-30Remove legacy entriesMauro Carvalho Chehab129-24898/+0
2021-04-30Add new satellites from LyngsatMauro Carvalho Chehab75-21/+29721
2021-04-30Rename a few satellites with two names and update frequenciesMauro Carvalho Chehab2-283/+182
2021-04-30Update frequencies from LyngsatMauro Carvalho Chehab188-12304/+12666
2020-09-02dtv-scan-tables: DVB-C for the City of Munich, Germany, operated by VodafoneVolker Schmidt1-0/+275
2020-08-30dtv-scan-tables: Full UK updateSimon Liddicott81-1665/+1246
2020-08-30dtv-scan-tables: add table for SloveniaAnton Luka Šijanec1-1/+38
2020-08-30dtv-scan-tables: frequency updates for FinlandOlli Salonen46-1352/+81
2020-08-30Add atsc/kr-Cable-8VSBHyunwoo Park1-0/+961
2020-08-30dtv-scan-tables: add Dorfnetz for LiechtensteinThomas Kaiser1-0/+247
2020-08-30Update dvb-t scan files for Ireland (ie-*)Jonathan McCrohan12-32/+32
2020-03-11Add a table for DVB-C in Dresden (Vodafone)Mauro Carvalho Chehab1-0/+264
2019-09-25Add scan table for DVB-T2 channels in Perm (Russia)Алексей1-0/+56
2019-09-22isdb-t: update tablesMauro Carvalho Chehab2210-13522/+148049
2019-09-22dvb-s: update all tables from LyngSatMauro Carvalho Chehab151-4470/+5108
2019-08-12ke-Nairobi: fix delivery system for two DVB-T2 channelsMauro Carvalho Chehab1-2/+2
2019-08-12Makefile: fix dvbv3/dvbv5 outputMauro Carvalho Chehab1-3/+4
2019-08-12Improve Makefile to avoid "Argument list too long" errorJames Le Cuirot1-6/+10
2019-03-25UPC Czech Republic: added mux 538 MHz with 256 QAMJosef Schlehofer1-5/+13
2019-03-25UPC Czech Republic: added more muxes and change QAM/256 on 626 MHzJosef Schlehofer1-3/+19
2019-03-25Update Astra-19.2ECvH1-4/+5
2019-03-14Intelsat-907-27.5W: update from current LyngSat dataMauro Carvalho Chehab1-24/+197
2019-03-14Intelsat-905-24.5W: update from current LyngSat dataMauro Carvalho Chehab1-18/+711
2019-03-14Add missing satellitesMauro Carvalho Chehab219-2/+61017
2019-03-14Add Eutelsat 7A at 7.0°EMauro Carvalho Chehab1-0/+416
2018-09-27Complete UK updateSimon Liddicott81-312/+943
2018-06-06all current German DVB-T2 muxes (#47)JimKnopf01-0/+547
2018-06-06Update pl-Rzeszowdevegoo1-3/+38
2018-05-10dtv-scan-tables: dvb-t/es-ZaragozaJavier García1-17/+844
2018-05-10Remove Anik F1 107.3WOlliver Schinagl1-35/+0
2018-05-10Synchronize orbital position naming in filenamesOlliver Schinagl22-0/+0
2018-05-10Drop Agila 2 146.0EOlliver Schinagl1-186/+0
2018-05-10Update Amazonas 3 61.0WOlliver Schinagl2-411/+18
2018-05-10Rename ABS1 to ABS2Olliver Schinagl1-0/+0
2018-05-10Rename Atlantic Bird 3 to Eutelsat5Olliver Schinagl1-0/+0
2018-05-10Remove Atlantic Bird 1Olliver Schinagl1-270/+0
2018-05-10dtv-scan-tables - dvb-s - update and rename the config file for Atlantic-Bird...leny@netcourrier.com1-53/+663
2018-05-10Add another initial transponder for Ziggo/Netherlands.Jens Peters1-0/+8
* new plugin 'cpuinfo' * */ /* * exported functions: * * int plugin_init_cpuinfo (void) * adds functions to access /proc/cpuinfo * */ #include "config.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <errno.h> #include "debug.h" #include "plugin.h" #include "hash.h" static HASH CPUinfo; static FILE *stream = NULL; static int parse_cpuinfo (void) { int age; /* reread every second only */ age = hash_age(&CPUinfo, NULL); if (age > 0 && age <= 1000) return 0; if (stream == NULL) stream = fopen("/proc/cpuinfo", "r"); if (stream == NULL) { error ("fopen(/proc/cpuinfo) failed: %s", strerror(errno)); return -1; } rewind(stream); while (!feof(stream)) { char buffer[256]; char *c, *key, *val; fgets (buffer, sizeof(buffer), stream); c = strchr(buffer, ':'); if (c == NULL) continue; key = buffer; val = c+1; /* strip leading blanks from key */ while (isspace(*key)) *key++ = '\0'; /* strip trailing blanks from key */ do *c = '\0'; while (isspace(*--c)); /* strip leading blanks from value */ while (isspace(*val)) *val++ = '\0'; /* strip trailing blanks from value */ for (c = val; *c != '\0'; c++); while (isspace(*--c)) *c = '\0'; /* add entry to hash table */ hash_put (&CPUinfo, key, val); } return 0; } static void my_cpuinfo (RESULT *result, RESULT *arg1) { char *key, *val; if (parse_cpuinfo() < 0) { SetResult(&result, R_STRING, ""); return; } key = R2S(arg1); val = hash_get(&CPUinfo, key, NULL); if (val == NULL) val = ""; SetResult(&result, R_STRING, val); } int plugin_init_cpuinfo (void) { hash_create (&CPUinfo); AddFunction ("cpuinfo", 1, my_cpuinfo); return 0; } void plugin_exit_cpuinfo(void) { if (stream != NULL) { fclose (stream); stream = NULL; } hash_destroy(&CPUinfo); }