From 04e7648c0172bb98d0c67a28d723a231ac484415 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Tue, 4 Nov 2014 23:20:10 +0200 Subject: [PATCH] Added support for SAT>IP frontend selection via Radio ID. --- HISTORY | 2 ++ README | 4 ++++ param.c | 2 ++ 3 files changed, 8 insertions(+) diff --git a/HISTORY b/HISTORY index e17592b..b52ced9 100644 --- a/HISTORY +++ b/HISTORY @@ -77,3 +77,5 @@ VDR Plugin 'satip' Revision History - Added a new device status menu. - Added a command-line switch for manually defining used SAT>IP servers. +- Added support for SAT>IP frontend selection via + Radio ID. diff --git a/README b/README index 24d1c48..85b8b59 100644 --- a/README +++ b/README @@ -62,6 +62,10 @@ S19.2E 2 S19.2E 3 Astra 1KR/1L/1M/2C => Signal source = 3 +A channel can be assigned into a specific SAT>IP frontend by giving the +identifier number in RID field of a channels.conf entry. +Valid range: 1 ... 8 + Setup menu: - Operating mode = off If you want exclude all SAT>IP devices diff --git a/param.c b/param.c index 6a2daf1..7b199a6 100644 --- a/param.c +++ b/param.c @@ -176,6 +176,8 @@ cString GetTransponderUrlParameters(const cChannel *channelP) ST("C *") q += PrintUrlString(q, STBUFLEFT, dtp.System(), SatipSystemValuesCable); ST(" T*") q += PrintUrlString(q, STBUFLEFT, dtp.System(), SatipSystemValuesTerrestrial); ST(" T*") q += PrintUrlString(q, STBUFLEFT, dtp.Transmission(), SatipTransmissionValues); + if (channelP->Rid() > 0) + q += snprintf(q, STBUFLEFT, "&fe=%d", channelP->Rid()); #undef ST return buffer; }