mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 11:37:42 +00:00
Compare commits
29 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6573c38fb6 | ||
|
581ac4966d | ||
|
99e366b261 | ||
|
3b89dd4b01 | ||
|
ee6ac0d48a | ||
|
e6c9776ec9 | ||
|
7aef2a3dff | ||
|
61b56db909 | ||
|
4c45787541 | ||
|
f65dca2910 | ||
|
db0c18ba33 | ||
|
0f9e0014df | ||
|
6bb7fb511b | ||
|
7815821824 | ||
|
bc481bcc4d | ||
|
7289da9f41 | ||
|
d5e0106d8e | ||
|
fe532e2248 | ||
|
b5483b9d77 | ||
|
fd23b0483a | ||
|
18c9b79533 | ||
|
e4f560c66e | ||
|
57ea119d03 | ||
|
ae8298d19a | ||
|
b755dbf318 | ||
|
8f12ce6f55 | ||
|
9d5f7cc703 | ||
|
c1a881ba94 | ||
|
165fd5b14a |
18
HISTORY
18
HISTORY
@@ -156,21 +156,3 @@ VDR Plugin 'satip' Revision History
|
|||||||
- Added multicast and RTP-over-TCP support.
|
- Added multicast and RTP-over-TCP support.
|
||||||
- Added support for activating/deactivating server on-the-fly.
|
- Added support for activating/deactivating server on-the-fly.
|
||||||
- Extended command-line parameters for setting server quirks.
|
- Extended command-line parameters for setting server quirks.
|
||||||
|
|
||||||
|
|
||||||
===================================
|
|
||||||
VDR Plugin 'satip' Revision History
|
|
||||||
===================================
|
|
||||||
|
|
||||||
2016-12-18: Version 2.3.0
|
|
||||||
|
|
||||||
- Updated for vdr-2.3.1.
|
|
||||||
- Updated German translation (Thanks to Frank Neumann).
|
|
||||||
- Fixed Panasonic CXW804 support (Thanks to Tobias Grimm).
|
|
||||||
- Fixed C++11 support (Thanks to Tobias Grimm).
|
|
||||||
- Fixed server assigment with source validation (Thanks to Patrick Boettcher).
|
|
||||||
- Added configurable RTP/RTCP ports (Thanks to chriszero).
|
|
||||||
- Added support for X-SATIP-RTSP-Port header.
|
|
||||||
- Added multicast and RTP-over-TCP support.
|
|
||||||
- Added support for activating/deactivating server on-the-fly.
|
|
||||||
- Extended command-line parameters for setting server quirks.
|
|
||||||
|
10
device.c
10
device.c
@@ -103,8 +103,12 @@ cString cSatipDevice::GetSatipStatus(void)
|
|||||||
bool live = (device == cDevice::ActualDevice());
|
bool live = (device == cDevice::ActualDevice());
|
||||||
bool lock = device->HasLock();
|
bool lock = device->HasLock();
|
||||||
const cChannel *channel = device->GetCurrentlyTunedTransponder();
|
const cChannel *channel = device->GetCurrentlyTunedTransponder();
|
||||||
|
#if defined(APIVERSNUM) && APIVERSNUM >= 20301
|
||||||
LOCK_TIMERS_READ;
|
LOCK_TIMERS_READ;
|
||||||
for (const cTimer *timer = Timers->First(); timer; timer = Timers->Next(timer)) {
|
for (const cTimer *timer = Timers->First(); timer; timer = Timers->Next(timer)) {
|
||||||
|
#else
|
||||||
|
for (cTimer *timer = Timers.First(); timer; timer = Timers.Next(timer)) {
|
||||||
|
#endif
|
||||||
if (timer->Recording()) {
|
if (timer->Recording()) {
|
||||||
cRecordControl *control = cRecordControls::GetRecordControl(timer);
|
cRecordControl *control = cRecordControls::GetRecordControl(timer);
|
||||||
if (control && control->Device() == device)
|
if (control && control->Device() == device)
|
||||||
@@ -133,14 +137,20 @@ cString cSatipDevice::GetSatipStatus(void)
|
|||||||
cString cSatipDevice::GetGeneralInformation(void)
|
cString cSatipDevice::GetGeneralInformation(void)
|
||||||
{
|
{
|
||||||
debug16("%s [device %u]", __PRETTY_FUNCTION__, deviceIndexM);
|
debug16("%s [device %u]", __PRETTY_FUNCTION__, deviceIndexM);
|
||||||
|
#if defined(APIVERSNUM) && APIVERSNUM >= 20301
|
||||||
LOCK_CHANNELS_READ;
|
LOCK_CHANNELS_READ;
|
||||||
|
#endif
|
||||||
return cString::sprintf("SAT>IP device: %d\nCardIndex: %d\nStream: %s\nSignal: %s\nStream bitrate: %s\n%sChannel: %s\n",
|
return cString::sprintf("SAT>IP device: %d\nCardIndex: %d\nStream: %s\nSignal: %s\nStream bitrate: %s\n%sChannel: %s\n",
|
||||||
deviceIndexM, CardIndex(),
|
deviceIndexM, CardIndex(),
|
||||||
pTunerM ? *pTunerM->GetInformation() : "",
|
pTunerM ? *pTunerM->GetInformation() : "",
|
||||||
pTunerM ? *pTunerM->GetSignalStatus() : "",
|
pTunerM ? *pTunerM->GetSignalStatus() : "",
|
||||||
pTunerM ? *pTunerM->GetTunerStatistic() : "",
|
pTunerM ? *pTunerM->GetTunerStatistic() : "",
|
||||||
*GetBufferStatistic(),
|
*GetBufferStatistic(),
|
||||||
|
#if defined(APIVERSNUM) && APIVERSNUM >= 20301
|
||||||
*Channels->GetByNumber(cDevice::CurrentChannel())->ToText());
|
*Channels->GetByNumber(cDevice::CurrentChannel())->ToText());
|
||||||
|
#else
|
||||||
|
*Channels.GetByNumber(cDevice::CurrentChannel())->ToText());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
cString cSatipDevice::GetPidsInformation(void)
|
cString cSatipDevice::GetPidsInformation(void)
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-satip 2.3.0\n"
|
"Project-Id-Version: vdr-satip 2.2.4\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
||||||
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-satip 2.3.0\n"
|
"Project-Id-Version: vdr-satip 2.2.4\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
||||||
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-satip 2.3.0\n"
|
"Project-Id-Version: vdr-satip 2.2.4\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
||||||
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-satip 2.3.0\n"
|
"Project-Id-Version: vdr-satip 2.2.4\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
"POT-Creation-Date: 2016-12-18 12:18+0200\n"
|
||||||
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
"PO-Revision-Date: 2016-12-18 12:18+0200\n"
|
||||||
|
6
satip.c
6
satip.c
@@ -19,15 +19,15 @@
|
|||||||
#warning "CURL version >= 7.36.0 is recommended"
|
#warning "CURL version >= 7.36.0 is recommended"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(APIVERSNUM) && APIVERSNUM < 20301
|
#if defined(APIVERSNUM) && APIVERSNUM < 20200
|
||||||
#error "VDR-2.3.1 API version or greater is required!"
|
#error "VDR-2.2.0 API version or greater is required!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GITVERSION
|
#ifndef GITVERSION
|
||||||
#define GITVERSION ""
|
#define GITVERSION ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char VERSION[] = "2.3.0" GITVERSION;
|
const char VERSION[] = "2.2.4" GITVERSION;
|
||||||
static const char DESCRIPTION[] = trNOOP("SAT>IP Devices");
|
static const char DESCRIPTION[] = trNOOP("SAT>IP Devices");
|
||||||
|
|
||||||
class cPluginSatip : public cPlugin {
|
class cPluginSatip : public cPlugin {
|
||||||
|
Reference in New Issue
Block a user