aboutsummaryrefslogtreecommitdiffstats
path: root/dvb-t/it-Catania (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-03-10replace it-* by it-AllChristoph Pfister1-27/+0
it-All is a subset of auto-Default there are no exceptions in the VHF band anymore --> auto-Italy is obsolete
2009-04-04make scan files syntax more strictChristoph Pfister1-1/+1
replace tabs by spaces
2008-07-22make scan files syntax more strict /3Christoph Pfister1-11/+11
fec of the low priority stream is NONE if hierarchy is disabled the replaced values are either AUTO, 1/2 (that's due to EN300468 signalling) or are the same as the fec of the high priority stream
2007-04-11second round of updating scan filesChristoph Pfister1-0/+4
no critical comment was posted about them http://linuxtv.org/pipermail/linux-dvb/2006-November/014603.html http://linuxtv.org/pipermail/linux-dvb/2006-December/014787.html - obsoleted later http://linuxtv.org/pipermail/linux-dvb/2006-December/015004.html http://linuxtv.org/pipermail/linux-dvb/2006-December/015012.html http://linuxtv.org/pipermail/linux-dvb/2006-December/015053.html http://linuxtv.org/pipermail/linux-dvb/2007-January/015122.html http://linuxtv.org/pipermail/linux-dvb/2007-January/015356.html http://linuxtv.org/pipermail/linux-dvb/2007-January/015635.html http://linuxtv.org/pipermail/linux-dvb/2007-February/015760.html http://linuxtv.org/pipermail/linux-dvb/2007-February/016181.html http://linuxtv.org/pipermail/linux-dvb/2007-March/016566.html http://linuxtv.org/pipermail/linux-dvb/2007-March/016626.html http://linuxtv.org/pipermail/linux-dvb/2007-March/016880.html - already present http://linuxtv.org/pipermail/linux-dvb/2007-March/016883.html - partly
2005-09-10from Peppe via Christophe ThommeretJohannes Stezenbach1-0/+23
2004-01-17DVB apps/utils from old "DVB" CVS tree, mildly edited to makeJohannes Stezenbach1-27/+0
them compile with the dvb-kernel DVB API includes (uint32_t etc.) --- Makefile | 8 TODO | 3 util/scan/dvb-c/at-Vienna | 3 util/scan/dvb-c/ch-unknown | 3 util/scan/dvb-c/de-Berlin | 4 util/scan/dvb-c/de-iesy | 3 util/scan/dvb-c/fi-3ktv | 3 util/scan/dvb-c/fi-vaasa-oncable | 13 + util/scan/dvb-s/Astra-19.2E | 3 util/scan/dvb-s/Hispasat-30.0W | 6 util/scan/dvb-s/Hotbird-13.0E | 3 util/scan/dvb-s/PAS-43.0W | 6 util/scan/dvb-s/Sirius-5.0E | 5 util/scan/dvb-s/Telecom2-8.0W | 4 util/scan/dvb-s/Telstar12-15.0W | 4 util/scan/dvb-s/Thor-1.0W | 8 util/scan/dvb-s/Turksat-42.0E | 4 util/scan/dvb-t/au-Darwin | 5 util/scan/dvb-t/au-canberra | 12 + util/scan/dvb-t/au-sydney_north_shore | 12 + util/scan/dvb-t/au-unknown | 3 util/scan/dvb-t/de-Berlin | 5 util/scan/dvb-t/es-Collserola | 6 util/scan/dvb-t/fi-Espoo | 3 util/scan/dvb-t/fi-Turku | 3 util/scan/dvb-t/uk-BlackHill | 3 util/scan/dvb-t/uk-CrystalPalace | 3 util/scan/dvb-t/uk-Hannington | 3 util/scan/dvb-t/uk-Oxford | 3 util/scan/dvb-t/uk-PontopPike | 3 util/scan/dvb-t/uk-Redruth | 3 util/scan/dvb-t/uk-Reigate | 3 util/scan/dvb-t/uk-Rowridge | 3 util/scan/dvb-t/uk-SandyHeath | 3 util/scan/dvb-t/uk-Storeton | 3 util/scan/dvb-t/uk-WinterHill | 3 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-reigate | 51 ++++++ util/szap/channels.conf-dvbt-sandy_heath | 13 + 47 files changed, 888 insertions(+) +++ scanscan/dvb-c/at-Vienna @@ -0,0 +1,3 @@ +# Kabel Vienna +# freq sr fec mod +C 377750000 6900000 NONE QAM256
2009-04-04make scan files syntax more strictChristoph Pfister1-1/+1
replace tabs by spaces
2008-07-22make scan files syntax more strict /3Christoph Pfister1-11/+11
fec of the low priority stream is NONE if hierarchy is disabled the replaced values are either AUTO, 1/2 (that's due to EN300468 signalling) or are the same as the fec of the high priority stream
2007-04-11second round of updating scan filesChristoph Pfister1-0/+4
no critical comment was posted about them http://linuxtv.org/pipermail/linux-dvb/2006-November/014603.html http://linuxtv.org/pipermail/linux-dvb/2006-December/014787.html - obsoleted later http://linuxtv.org/pipermail/linux-dvb/2006-December/015004.html http://linuxtv.org/pipermail/linux-dvb/2006-December/015012.html http://linuxtv.org/pipermail/linux-dvb/2006-December/015053.html http://linuxtv.org/pipermail/linux-dvb/2007-January/015122.html http://linuxtv.org/pipermail/linux-dvb/2007-January/015356.html http://linuxtv.org/pipermail/linux-dvb/2007-January/015635.html http://linuxtv.org/pipermail/linux-dvb/2007-February/015760.html http://linuxtv.org/pipermail/linux-dvb/2007-February/016181.html http://linuxtv.org/pipermail/linux-dvb/2007-March/016566.html http://linuxtv.org/pipermail/linux-dvb/2007-March/016626.html http://linuxtv.org/pipermail/linux-dvb/2007-March/016880.html - already present http://linuxtv.org/pipermail/linux-dvb/2007-March/016883.html - partly
2005-09-10from Peppe via Christophe ThommeretJohannes Stezenbach1-0/+23
Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/* $Id$
 * $URL$
 *
 * new layouter framework
 *
 * Copyright (C) 2003 Michael Reinelt <michael@reinelt.co.at>
 * Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
 *
 * This file is part of LCD4Linux.
 *
 * LCD4Linux is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * LCD4Linux 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */

/* 
 * exported functions:
 *
 * layout_init (char *section)
 *    initializes the layouter
 *
 */

#include "config.h"

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>

#include "debug.h"
#include "cfg.h"
#include "widget.h"
#include "layout.h"

#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif


int layout_init(const char *layout)
{
    char *section;
    char *list, *l;
    char *widget;
    int lay, row, col, num;

    info("initializing layout '%s'", layout);

    /* prepare config section */
    /* strlen("Layout:")=7 */
    section = malloc(strlen(layout) + 8);
    strcpy(section, "Layout:");
    strcat(section, layout);

    /* get a list of all keys in this section */
    list = cfg_list(section);

    /* map to lower char for scanf() */
    for (l = list; *l != '\0'; l++)
	*l = tolower(*l);

    l = list;
    while (l != NULL) {

	char *p;
	int i, n;

	/* list is delimited by | */
	while (*l == '|')
	    l++;
	if ((p = strchr(l, '|')) != NULL)
	    *p = '\0';

	/* layer/x/y widgets */
	i = sscanf(l, "layer:%d.x%d.y%d%n", &lay, &row, &col, &n);
	if (i == 3 && l[n] == '\0') {
	    if (lay < 0 || lay >= LAYERS) {
		error("%s: layer %d out of bounds (0..%d)", section, lay, LAYERS - 1);
	    } else {
		widget = cfg_get(section, l, NULL);
		if (widget != NULL && *widget != '\0') {
		    widget_add(widget, WIDGET_TYPE_XY, lay, row - 1, col - 1);
		}
		free(widget);
	    }
	}

	/* layer/row/col widgets */
	i = sscanf(l, "layer:%d.row%d.col%d%n", &lay, &row, &col, &n);
	if (i == 3 && l[n] == '\0') {
	    if (lay < 0 || lay >= LAYERS) {
		error("%s: layer %d out of bounds (0..%d)", section, lay, LAYERS - 1);
	    } else {
		widget = cfg_get(section, l, NULL);
		if (widget != NULL && *widget != '\0') {
		    widget_add(widget, WIDGET_TYPE_RC, lay, row - 1, col - 1);
		}
		free(widget);
	    }
	}

	/* row/col widgets w/o layer */
	i = sscanf(l, "row%d.col%d%n", &row, &col, &n);
	if (i == 2 && l[n] == '\0') {
	    widget = cfg_get(section, l, NULL);
	    if (widget != NULL && *widget != '\0') {
		/* default is layer 1 if outside layer section */
		widget_add(widget, WIDGET_TYPE_RC, 1, row - 1, col - 1);
	    }
	    free(widget);
	}

	/* GPO widgets */
	i = sscanf(l, "gpo%d%n", &num, &n);
	if (i == 1 && l[n] == '\0') {
	    widget = cfg_get(section, l, NULL);
	    if (widget != NULL && *widget != '\0') {
		widget_add(widget, WIDGET_TYPE_GPO, 0, num - 1, 0);
	    }
	    free(widget);
	}

	/* timer widgets */
	i = sscanf(l, "timer%d%n", &num, &n);
	if (i == 1 && l[n] == '\0') {
	    widget = cfg_get(section, l, NULL);
	    if (widget != NULL && *widget != '\0') {
		widget_add(widget, WIDGET_TYPE_TIMER, 0, num - 1, 0);
	    }
	    free(widget);
	}

	/* keypad widget */
	i = sscanf(l, "keypad%d%n", &num, &n);
	if (i == 1 && l[n] == '\0') {
	    widget = cfg_get(section, l, NULL);
	    if (widget != NULL && *widget != '\0') {
		widget_add(widget, WIDGET_TYPE_KEYPAD, 0, num - 1, 0);
	    }
	    free(widget);
	}

	/* next field */
	l = p ? p + 1 : NULL;
    }
    free(list);
    free(section);
    return 0;
}