summaryrefslogtreecommitdiffstats
path: root/util/scan/dvb-t/de-Loerrach
diff options
context:
space:
mode:
Diffstat (limited to 'util/scan/dvb-t/de-Loerrach')
-rw-r--r--util/scan/dvb-t/de-Loerrach19
1 files changed, 0 insertions, 19 deletions
diff --git a/util/scan/dvb-t/de-Loerrach b/util/scan/dvb-t/de-Loerrach
deleted file mode 100644
index 705a71f..0000000
--- a/util/scan/dvb-t/de-Loerrach
+++ /dev/null
@@ -1,19 +0,0 @@
-# DVB-T transmitter of Lörrach - Germany
-# signal DVB-T transmis depuis l'émetteur de Lörrach - Allemagne
-#
-# Fichier réalisé par :
-# IUT COLMAR DEPARTEMENT RESEAUX ET TELECOMMUNICATIONS
-# Novembre 2007
-#
-# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy
-
-# Chaînes allemandes
-
-# ch 33 : 3sat, Doku/KiKa, ZDF, ZDFinfokanal
-T 570000000 8MHz AUTO NONE QAM16 8k AUTO NONE
-
-# ch 39 : SWR Fernsehen BW, hr-fernsehen, WDR Fernsehen et Bayerisches FS
-T 618000000 8MHz AUTO NONE QAM16 8k AUTO NONE
-
-# ch 52 : Das Erste, arte (Allemagne), Phoenix et EinsPlus
-T 722000000 8MHz AUTO NONE QAM16 8k AUTO NONE
ld } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* 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: expr.c,v 1.5 2004/01/18 06:54:08 reinelt Exp $
 *
 * expr ('y*') functions
 * This is only a workaround to make the Evaluator usable until
 * it's fully integrated into lcd4linux.
 *
 * Copyright 2004 Michael Reinelt <reinelt@eunet.at>
 *
 * 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.
 *
 *
 * $Log: expr.c,v $
 * Revision 1.5  2004/01/18 06:54:08  reinelt
 * bug in expr.c fixed (thanks to Xavier)
 * some progress with /proc/stat parsing
 *
 * Revision 1.4  2004/01/14 11:33:00  reinelt
 * new plugin 'uname' which does what it's called
 * text widget nearly finished
 * first results displayed on MatrixOrbital
 *
 * Revision 1.3  2004/01/12 03:51:01  reinelt
 * evaluating the 'Variables' section in the config file
 *
 * Revision 1.2  2004/01/09 04:16:06  reinelt
 * added 'section' argument to cfg_get(), but NULLed it on all calls by now.
 *
 * Revision 1.1  2004/01/05 11:57:38  reinelt
 * added %y tokens to make the Evaluator useable
 *
 */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
#include <errno.h>
#define IN_EXPR
#include "expr.h"
#include "plugin.h"
#include "debug.h"
#include "cfg.h"


int Expr(int index, char string[EXPR_TXT_LEN], double *val)
{
  RESULT result = {0, 0.0, NULL};
  static int errs[EXPRS+1];
  char *expression;
  char yn[4];
  
  if (index < 0 || index > EXPRS)
    return -1; 
  
  if (errs[index])
    return -1;

  sprintf(yn, "y%d", index);
  expression = cfg_get_raw(NULL, yn, NULL);
  
  if (!expression || !*expression) {
    error("Empty expression for 'y%d'", index);
    errs[index]++;
    return -1;
  }

  Eval(expression, &result);
  strcpy(string, R2S(&result));
  
  debug("%s: <%s> = '%s'", yn, expression, string);

  if (isdigit(*string)) {
    double max, min;
    *val = atof(string);
    sprintf(yn, "Max_y%d", index);
    max = atof(cfg_get(NULL, yn, "100"));
    sprintf(yn, "Min_y%d", index);
    min = atof(cfg_get(NULL, yn, "0"));
    if (max != min)
      *val = (*val - min)/(max - min);
  }

  DelResult (&result);

  return 0;
}