|
| 1 | +/* |
| 2 | + * MediathekView |
| 3 | + * Copyright (C) 2008 W. Xaver |
| 4 | + * W.Xaver[at]googlemail.com |
| 5 | + * http://zdfmediathk.sourceforge.net/ |
| 6 | + * |
| 7 | + * This program is free software: you can redistribute it and/or modify |
| 8 | + * it under the terms of the GNU General Public License as published by |
| 9 | + * the Free Software Foundation, either version 3 of the License, or |
| 10 | + * any later version. |
| 11 | + * |
| 12 | + * This program is distributed in the hope that it will be useful, |
| 13 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | + * GNU General Public License for more details. |
| 16 | + * |
| 17 | + * You should have received a copy of the GNU General Public License |
| 18 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | + */ |
| 20 | +package de.mediathekview.mlib; |
| 21 | + |
| 22 | +import de.mediathekview.mlib.tool.Functions; |
| 23 | + |
| 24 | +public class Const { |
| 25 | + |
| 26 | + @Deprecated public static final String VERSION = "13"; |
| 27 | + public static final String VERSION_FILMLISTE = "3"; |
| 28 | + public static final String PROGRAMMNAME = "MSearch"; |
| 29 | + public static final String USER_AGENT_DEFAULT = Const.PROGRAMMNAME + Functions.getProgVersionString(); |
| 30 | + // MediathekView URLs |
| 31 | + public static final String ADRESSE_FILMLISTEN_SERVER_DIFF = "http://res.mediathekview.de/diff.xml"; |
| 32 | + public static final String ADRESSE_FILMLISTEN_SERVER_AKT = "http://res.mediathekview.de/akt.xml"; |
| 33 | + // Dateien/Verzeichnisse |
| 34 | + public static final int STRING_BUFFER_START_BUFFER = 8 * 1024 * 8; // 8 KiB |
| 35 | + public static final String FORMAT_ZIP = ".zip"; |
| 36 | + public static final String FORMAT_XZ = ".xz"; |
| 37 | + public static final String RTMP_PRTOKOLL = "rtmp"; |
| 38 | + public static final String RTMP_FLVSTREAMER = "-r "; |
| 39 | + public static final int ALTER_FILMLISTE_SEKUNDEN_FUER_AUTOUPDATE = 3 * 60 * 60; // beim Start des Programms wir die Liste geladen wenn sie älter ist als .. |
| 40 | + public static final String TIME_MAX_AGE_FOR_DIFF = "09"; // Uhrzeit ab der die Diffliste alle Änderungen abdeckt, die Filmliste darf also nicht vor xx erstellt worden sein |
| 41 | + public static final int MAX_BESCHREIBUNG = 400; // max länge der Beschreibung in Zeichen -> mehr gibts aber jetzt nicht mehr! |
| 42 | + |
| 43 | + public static final String DREISAT = "3Sat"; |
| 44 | + public static final String ARD = "ARD"; |
| 45 | + public static final String ARD_ALPHA = "ARD-alpha"; |
| 46 | + public static final String ARTE_DE = "ARTE.DE"; |
| 47 | + public static final String ARTE_FR = "ARTE.FR"; |
| 48 | + public static final String BR = "BR"; |
| 49 | + public static final String DW = "DW"; |
| 50 | + public static final String HR = "HR"; |
| 51 | + public static final String KIKA = "KiKA"; |
| 52 | + public static final String MDR = "MDR"; |
| 53 | + public static final String NDR = "NDR"; |
| 54 | + public static final String ORF = "ORF"; |
| 55 | + public static final String ONE = "ONE"; |
| 56 | + public static final String PHOENIX = "PHOENIX"; |
| 57 | + public static final String RBB = "RBB"; |
| 58 | + public static final String RBTV = "rbtv"; |
| 59 | + public static final String SR = "SR"; |
| 60 | + public static final String SRF = "SRF"; |
| 61 | + public static final String SRF_PODCAST = "SRF.Podcast"; |
| 62 | + public static final String SWR = "SWR"; |
| 63 | + public static final String TAGESSCHAU24 = "tagesschau24"; |
| 64 | + public static final String WDR = "WDR"; |
| 65 | + public static final String ZDF = "ZDF"; |
| 66 | + public static final String ZDF_INFO = "ZDFinfo"; |
| 67 | + public static final String ZDF_NEO = "ZDFneo"; |
| 68 | + public static final String ZDF_TIVI = "ZDF-tivi"; |
| 69 | + |
| 70 | + public static final String[] SENDER = {DREISAT, ARD, ARTE_DE, ARTE_FR, BR, DW, HR, KIKA, MDR, NDR, ORF, PHOENIX, RBB, SR, SRF, SRF_PODCAST, SWR, WDR, ZDF, ZDF_TIVI}; |
| 71 | + |
| 72 | +} |
0 commit comments