/* ---------------------------------------------------------------------------- libconfig - A library for processing structured configuration files Copyright (C) 2005-2010 Mark A Lindner This file is part of libconfig. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, see . ---------------------------------------------------------------------------- */ #include #include #include #include using namespace std; using namespace libconfig; // This example constructs a new configuration in memory and writes it to // 'newconfig.cfg'. int main(int argc, char **argv) { static const char *output_file = "newconfig.cfg"; Config cfg; Setting &root = cfg.getRoot(); // Add some settings to the configuration. Setting &address = root.add("address", Setting::TypeGroup); address.add("street", Setting::TypeString) = "1 Woz Way"; address.add("city", Setting::TypeString) = "San Jose"; address.add("state", Setting::TypeString) = "CA"; address.add("zip", Setting::TypeInt) = 95110; Setting &array = root.add("array", Setting::TypeArray); for(int i = 0; i < 10; ++i) array.add(Setting::TypeInt) = 10 * i; // Write out the new configuration. try { cfg.writeFile(output_file); cerr << "New configuration successfully written to: " << output_file << endl; } catch(const FileIOException &fioex) { cerr << "I/O error while writing file: " << output_file << endl; return(EXIT_FAILURE); } return(EXIT_SUCCESS); } // eof >
AgeCommit message (Collapse)AuthorFilesLines
2018-05-10Update Amazonas 3 61.0WOlliver Schinagl2-411/+18
The Amazonas 3 replaced the Amazonas 1 in 2012 as can be seen at [0]. Lets rename it accordingly. Further more, many of the transponders have been dropped so remove those as well. [0] http://space.skyrocket.de/doc_sdat/amazonas-3.htm Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2018-05-10Rename ABS1 to ABS2Olliver Schinagl1-0/+0
ABS-1 appears to have replaced ABS-2 according to [0]. Lets rename it to reflect it's current name. [0] http://space.skyrocket.de/doc_sdat/abs-2.htm Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2018-05-10Rename Atlantic Bird 3 to Eutelsat5Olliver Schinagl1-0/+0
In 2012 Atlantic Bird 3 was renamed to Eutelsat 5 West A as can be seen at [0]. Reflect this name change in the filename to make it easier to find. [0] http://space.skyrocket.de/doc_sdat/stellat-1.htm Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2018-05-10Remove Atlantic Bird 1Olliver Schinagl1-270/+0
Atlantic Bird 1 was renamed to Eutelsat 12 West A in 2012 and moved from 12 to 36 degree's in 2016 and was thus not accurate anymore. In 2018 it was repositioned to 59 east and renamed to Eutelsat 59A as can be seen at [0]. So far there are no active transponders. [0] http://space.skyrocket.de/doc_sdat/atlantic-bird-1.htm Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2018-05-10dtv-scan-tables - dvb-s - update and rename the config file for ↵leny@netcourrier.com1-53/+663
Atlantic-Bird-3-5.0W - Ku Band Hello, The latest update for the file Atlantic-Bird-3-5.0W (Ku Band) is 2015-03-28: https://git.linuxtv.org/dtv-scan-tables.git/log/dvb-s/Atlantic-Bird-3-5.0W but since March 2015 there are a lot of changes in the tranponders list. And now, a lot of transponders for Algerian, French and Italian TV and Radio channels are missing. Attached is an updated config scan file (Atlantic-Bird-3-5.0W.patch file) for Atlantic-Bird-3-5.0W transponders in dvbv5 format. Could you please ensure that this new patch is committed into the DVB source code tree repositery? PS : Attached there is also the full up to date file : Atlantic-Bird-3-5.0W-2017-01-09.NEW.FULL if you need it Thank you Best regards
2018-05-10Add another initial transponder for Ziggo/Netherlands.Jens Peters1-0/+8
Ziggo and UPC had merged, but the initial UPC transponder is still the correct one for former UPC customers. See also https://gathering.tweakers.net/forum/list_message/31632914#31632914