mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Updated for vdr-2.1.6.
This commit is contained in:
parent
aaca7cba1a
commit
dab869cf3a
4
HISTORY
4
HISTORY
@ -243,3 +243,7 @@ VDR Plugin 'iptv' Revision History
|
||||
2014-03-09: Version 2.1.1
|
||||
|
||||
- Fixed installation target bugs (Thanks to Alexander Grothe).
|
||||
|
||||
2014-03-16: Version 2.1.2
|
||||
|
||||
- Updated for vdr-2.1.6.
|
||||
|
6
iptv.c
6
iptv.c
@ -13,15 +13,15 @@
|
||||
#include "device.h"
|
||||
#include "iptvservice.h"
|
||||
|
||||
#if defined(APIVERSNUM) && APIVERSNUM < 20104
|
||||
#error "VDR-2.1.4 API version or greater is required!"
|
||||
#if defined(APIVERSNUM) && APIVERSNUM < 20106
|
||||
#error "VDR-2.1.6 API version or greater is required!"
|
||||
#endif
|
||||
|
||||
#ifndef GITVERSION
|
||||
#define GITVERSION ""
|
||||
#endif
|
||||
|
||||
const char VERSION[] = "2.1.1" GITVERSION;
|
||||
const char VERSION[] = "2.1.2" GITVERSION;
|
||||
static const char DESCRIPTION[] = trNOOP("Experience the IPTV");
|
||||
|
||||
class cPluginIptv : public cPlugin {
|
||||
|
12
po/de_DE.po
12
po/de_DE.po
@ -5,10 +5,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-iptv 2.1.1\n"
|
||||
"Project-Id-Version: vdr-iptv 2.1.2\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2014-03-09 03:09+0200\n"
|
||||
"PO-Revision-Date: 2014-03-09 03:09+0200\n"
|
||||
"POT-Creation-Date: 2014-03-16 03:16+0200\n"
|
||||
"PO-Revision-Date: 2014-03-16 03:16+0200\n"
|
||||
"Last-Translator: Tobias Grimm <tg@e-tobi.net>\n"
|
||||
"Language-Team: German <vdr@linuxtv.org>\n"
|
||||
"Language: de\n"
|
||||
@ -130,12 +130,6 @@ msgstr "DATEI"
|
||||
msgid "EXT"
|
||||
msgstr "EXT"
|
||||
|
||||
msgid "Nid"
|
||||
msgstr "Nid"
|
||||
|
||||
msgid "Tid"
|
||||
msgstr "Tid"
|
||||
|
||||
msgid "Rid"
|
||||
msgstr "Rid"
|
||||
|
||||
|
12
po/fi_FI.po
12
po/fi_FI.po
@ -5,10 +5,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-iptv 2.1.1\n"
|
||||
"Project-Id-Version: vdr-iptv 2.1.2\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2014-03-09 03:09+0200\n"
|
||||
"PO-Revision-Date: 2014-03-09 03:09+0200\n"
|
||||
"POT-Creation-Date: 2014-03-16 03:16+0200\n"
|
||||
"PO-Revision-Date: 2014-03-16 03:16+0200\n"
|
||||
"Last-Translator: Rolf Ahrenberg\n"
|
||||
"Language-Team: Finnish <vdr@linuxtv.org>\n"
|
||||
"Language: fi\n"
|
||||
@ -145,12 +145,6 @@ msgstr "FILE"
|
||||
msgid "EXT"
|
||||
msgstr "EXT"
|
||||
|
||||
msgid "Nid"
|
||||
msgstr "Verkko-ID"
|
||||
|
||||
msgid "Tid"
|
||||
msgstr "Lähete-ID"
|
||||
|
||||
msgid "Rid"
|
||||
msgstr "Radio-ID"
|
||||
|
||||
|
12
po/fr_FR.po
12
po/fr_FR.po
@ -6,10 +6,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-iptv 2.1.1\n"
|
||||
"Project-Id-Version: vdr-iptv 2.1.2\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2014-03-09 03:09+0200\n"
|
||||
"PO-Revision-Date: 2014-03-09 03:09+0200\n"
|
||||
"POT-Creation-Date: 2014-03-16 03:16+0200\n"
|
||||
"PO-Revision-Date: 2014-03-16 03:16+0200\n"
|
||||
"Last-Translator: NIVAL Michaël <mnival@club-internet.fr>\n"
|
||||
"Language-Team: French <vdr@linuxtv.org>\n"
|
||||
"Language: fr\n"
|
||||
@ -147,12 +147,6 @@ msgstr "FICHIER"
|
||||
msgid "EXT"
|
||||
msgstr "EXT"
|
||||
|
||||
msgid "Nid"
|
||||
msgstr "Nid"
|
||||
|
||||
msgid "Tid"
|
||||
msgstr "Tid"
|
||||
|
||||
msgid "Rid"
|
||||
msgstr "Rid"
|
||||
|
||||
|
12
po/it_IT.po
12
po/it_IT.po
@ -5,10 +5,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-iptv 2.1.1\n"
|
||||
"Project-Id-Version: vdr-iptv 2.1.2\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2014-03-09 03:09+0200\n"
|
||||
"PO-Revision-Date: 2014-03-09 03:09+0200\n"
|
||||
"POT-Creation-Date: 2014-03-16 03:16+0200\n"
|
||||
"PO-Revision-Date: 2014-03-16 03:16+0200\n"
|
||||
"Last-Translator: Diego Pierotto <vdr-italian@tiscali.it>\n"
|
||||
"Language-Team: Italian <vdr@linuxtv.org>\n"
|
||||
"Language: it\n"
|
||||
@ -146,12 +146,6 @@ msgstr "FILE"
|
||||
msgid "EXT"
|
||||
msgstr "EXT"
|
||||
|
||||
msgid "Nid"
|
||||
msgstr "Nid"
|
||||
|
||||
msgid "Tid"
|
||||
msgstr "Tid"
|
||||
|
||||
msgid "Rid"
|
||||
msgstr "Rid"
|
||||
|
||||
|
12
po/nl_NL.po
12
po/nl_NL.po
@ -5,10 +5,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-iptv 2.1.1\n"
|
||||
"Project-Id-Version: vdr-iptv 2.1.2\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2014-03-09 03:09+0200\n"
|
||||
"PO-Revision-Date: 2014-03-09 03:09+0200\n"
|
||||
"POT-Creation-Date: 2014-03-16 03:16+0200\n"
|
||||
"PO-Revision-Date: 2014-03-16 03:16+0200\n"
|
||||
"Last-Translator: Carel\n"
|
||||
"Language-Team: Dutch <vdr@linuxtv.org>\n"
|
||||
"Language: nl\n"
|
||||
@ -145,12 +145,6 @@ msgstr "BESTAND"
|
||||
msgid "EXT"
|
||||
msgstr "EXT"
|
||||
|
||||
msgid "Nid"
|
||||
msgstr "Nid"
|
||||
|
||||
msgid "Tid"
|
||||
msgstr "Tid"
|
||||
|
||||
msgid "Rid"
|
||||
msgstr "Rid"
|
||||
|
||||
|
12
po/ru_RU.po
12
po/ru_RU.po
@ -5,10 +5,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-iptv 2.1.1\n"
|
||||
"Project-Id-Version: vdr-iptv 2.1.2\n"
|
||||
"Report-Msgid-Bugs-To: <see README>\n"
|
||||
"POT-Creation-Date: 2014-03-09 03:09+0200\n"
|
||||
"PO-Revision-Date: 2014-03-09 03:09+0200\n"
|
||||
"POT-Creation-Date: 2014-03-16 03:16+0200\n"
|
||||
"PO-Revision-Date: 2014-03-16 03:16+0200\n"
|
||||
"Last-Translator: Alexander Gross <Bikalexander@gmail.com>\n"
|
||||
"Language-Team: Russian <vdr@linuxtv.org>\n"
|
||||
"Language: ru\n"
|
||||
@ -131,12 +131,6 @@ msgstr "ФАЙЛ"
|
||||
msgid "EXT"
|
||||
msgstr "EXT"
|
||||
|
||||
msgid "Nid"
|
||||
msgstr "Nid"
|
||||
|
||||
msgid "Tid"
|
||||
msgstr "Tid"
|
||||
|
||||
msgid "Rid"
|
||||
msgstr "Rid"
|
||||
|
||||
|
20
source.c
20
source.c
@ -136,8 +136,6 @@ const char *cIptvSourceParam::allowedProtocolCharsS = " abcdefghijklmnopqrstuvwx
|
||||
cIptvSourceParam::cIptvSourceParam(char sourceP, const char *descriptionP)
|
||||
: cSourceParam(sourceP, descriptionP),
|
||||
paramM(0),
|
||||
nidM(0),
|
||||
tidM(0),
|
||||
ridM(0),
|
||||
dataM(),
|
||||
itpM()
|
||||
@ -155,8 +153,6 @@ void cIptvSourceParam::SetData(cChannel *channelP)
|
||||
{
|
||||
debug("cIptvSourceParam::%s(%s)", __FUNCTION__, channelP->Parameters());
|
||||
dataM = *channelP;
|
||||
nidM = dataM.Nid();
|
||||
tidM = dataM.Tid();
|
||||
ridM = dataM.Rid();
|
||||
itpM.Parse(dataM.Parameters());
|
||||
paramM = 0;
|
||||
@ -166,21 +162,19 @@ void cIptvSourceParam::GetData(cChannel *channelP)
|
||||
{
|
||||
debug("cIptvSourceParam::%s(%s)", __FUNCTION__, channelP->Parameters());
|
||||
channelP->SetTransponderData(channelP->Source(), channelP->Frequency(), dataM.Srate(), itpM.ToString(Source()), true);
|
||||
channelP->SetId(nidM, tidM, channelP->Sid(), ridM);
|
||||
channelP->SetId(channelP->Nid(), channelP->Tid(), channelP->Sid(), ridM);
|
||||
}
|
||||
|
||||
cOsdItem *cIptvSourceParam::GetOsdItem(void)
|
||||
{
|
||||
debug("cIptvSourceParam::%s()", __FUNCTION__);
|
||||
switch (paramM++) {
|
||||
case 0: return new cMenuEditIntItem( tr("Nid"), &nidM, 0);
|
||||
case 1: return new cMenuEditIntItem( tr("Tid"), &tidM, 0);
|
||||
case 2: return new cMenuEditIntItem( tr("Rid"), &ridM, 0);
|
||||
case 3: return new cMenuEditBoolItem(tr("Scan section ids"), &itpM.sidScanM);
|
||||
case 4: return new cMenuEditBoolItem(tr("Scan pids"), &itpM.pidScanM);
|
||||
case 5: return new cMenuEditStraItem(tr("Protocol"), &itpM.protocolM, ELEMENTS(protocolsM), protocolsM);
|
||||
case 6: return new cMenuEditStrItem( tr("Address"), itpM.addressM, sizeof(itpM.addressM), allowedProtocolCharsS);
|
||||
case 7: return new cMenuEditIntItem( tr("Parameter"), &itpM.parameterM, 0, 0xFFFF);
|
||||
case 0: return new cMenuEditIntItem( tr("Rid"), &ridM, 0);
|
||||
case 1: return new cMenuEditBoolItem(tr("Scan section ids"), &itpM.sidScanM);
|
||||
case 2: return new cMenuEditBoolItem(tr("Scan pids"), &itpM.pidScanM);
|
||||
case 3: return new cMenuEditStraItem(tr("Protocol"), &itpM.protocolM, ELEMENTS(protocolsM), protocolsM);
|
||||
case 4: return new cMenuEditStrItem( tr("Address"), itpM.addressM, sizeof(itpM.addressM), allowedProtocolCharsS);
|
||||
case 5: return new cMenuEditIntItem( tr("Parameter"), &itpM.parameterM, 0, 0xFFFF);
|
||||
default: return NULL;
|
||||
}
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user