mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-05 17:07:49 +00:00
vdr-plugin-wirbelscan: update to 2021.03.07, moved PKG_SITE and PKG_URL
This commit is contained in:
parent
9586fd3227
commit
544e86e1e5
@ -3,11 +3,11 @@
|
|||||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="vdr-plugin-wirbelscan"
|
PKG_NAME="vdr-plugin-wirbelscan"
|
||||||
PKG_VERSION="2018.11.04"
|
PKG_VERSION="2021.03.07"
|
||||||
PKG_SHA256="62c2848aefdb768c165310f70b3746665f57b96a95ebae96761febbb07e942e3"
|
PKG_SHA256="9267ebd12a3a58e0ae453f6e311782262ae0782b25721cc8d7e5048a76cb3759"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://wirbel.htpc-forum.de/wirbelscan/index2.html"
|
PKG_SITE="https://www.gen2vdr.de/wirbel/wirbelscan/index2.html"
|
||||||
PKG_URL="http://wirbel.htpc-forum.de/wirbelscan/vdr-wirbelscan-${PKG_VERSION}.tgz"
|
PKG_URL="https://www.gen2vdr.de/wirbel/wirbelscan/vdr-wirbelscan-${PKG_VERSION}.tgz"
|
||||||
PKG_DEPENDS_TARGET="toolchain vdr"
|
PKG_DEPENDS_TARGET="toolchain vdr"
|
||||||
PKG_NEED_UNPACK="$(get_pkg_directory vdr)"
|
PKG_NEED_UNPACK="$(get_pkg_directory vdr)"
|
||||||
PKG_LONGDESC="Performs a channel scans for DVB-T, DVB-C and DVB-S"
|
PKG_LONGDESC="Performs a channel scans for DVB-T, DVB-C and DVB-S"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Subject: [PATCH 1/2] interface channel count
|
Subject: [PATCH] interface channel count
|
||||||
|
|
||||||
diff --git a/wirbelscan.c b/wirbelscan.c
|
diff --git a/wirbelscan.c b/wirbelscan.c
|
||||||
index 602e659..aafbec3 100644
|
index 602e659..aafbec3 100644
|
||||||
@ -10,9 +10,9 @@ index 602e659..aafbec3 100644
|
|||||||
#include "satellites.h"
|
#include "satellites.h"
|
||||||
+extern TChannels NewChannels;
|
+extern TChannels NewChannels;
|
||||||
|
|
||||||
static const char *VERSION = "2018.11.04";
|
static const char *WIRBELSCAN_VERSION = "2021.03.07";
|
||||||
static const char *DESCRIPTION = "DVB channel scan for VDR";
|
static const char *WIRBELSCAN_DESCRIPTION = "DVB channel scan for VDR";
|
||||||
@@ -201,8 +202,8 @@ bool cPluginWirbelscan::Service(const char* id, void* Data) {
|
@@ -202,8 +203,8 @@ bool cPluginWirbelscan::Service(const ch
|
||||||
strcpy(s->transponder, lTransponder.length()? lTransponder.c_str():"none");
|
strcpy(s->transponder, lTransponder.length()? lTransponder.c_str():"none");
|
||||||
s->progress = s->status == StatusScanning?lProgress:0;
|
s->progress = s->status == StatusScanning?lProgress:0;
|
||||||
s->strength = s->status == StatusScanning?lStrength:0;
|
s->strength = s->status == StatusScanning?lStrength:0;
|
||||||
@ -23,34 +23,3 @@ index 602e659..aafbec3 100644
|
|||||||
s->nextTransponders = nextTransponders;
|
s->nextTransponders = nextTransponders;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
Subject: [PATCH 2/2] device detection
|
|
||||||
|
|
||||||
diff --git a/common.c b/common.c
|
|
||||||
index 0ba4656..1ea8e51 100644
|
|
||||||
--- a/common.c
|
|
||||||
+++ b/common.c
|
|
||||||
@@ -46,20 +46,10 @@ void cMySetup::InitSystems(void) {
|
|
||||||
for(int i = 0; i < cDevice::NumDevices(); i++) {
|
|
||||||
cDevice* device = cDevice::GetDevice(i);
|
|
||||||
if (device == NULL) continue;
|
|
||||||
- std::string t = *device->DeviceType();
|
|
||||||
- if (t == "DVB-C" ) systems[SCAN_CABLE ] = 1;
|
|
||||||
- if (t == "DVB-T" ) systems[SCAN_TERRESTRIAL ] = 1;
|
|
||||||
- if (t == "DSS" ) systems[SCAN_SATELLITE ] = 1;
|
|
||||||
- if (t == "DVB-S" ) systems[SCAN_SATELLITE ] = 1;
|
|
||||||
- if (t == "DVB-S2") systems[SCAN_SATELLITE ] = 1;
|
|
||||||
- if (t == "ATSC" ) systems[SCAN_TERRCABLE_ATSC] = 1;
|
|
||||||
- if (t == "DVB-T2") systems[SCAN_TERRESTRIAL ] = 1;
|
|
||||||
- if (t == "TURBO" ) systems[SCAN_SATELLITE ] = 1;
|
|
||||||
- if (t == "SAT>IP") {
|
|
||||||
- if (device->ProvidesSource(cSource::FromString("S"))) systems[SCAN_SATELLITE ] = 1;
|
|
||||||
- if (device->ProvidesSource(cSource::FromString("T"))) systems[SCAN_TERRESTRIAL ] = 1;
|
|
||||||
- if (device->ProvidesSource(cSource::FromString("C"))) systems[SCAN_CABLE ] = 1;
|
|
||||||
- }
|
|
||||||
+ if (device->ProvidesSource(cSource::stSat)) systems[SCAN_SATELLITE] = 1;
|
|
||||||
+ if (device->ProvidesSource(cSource::stTerr)) systems[SCAN_TERRESTRIAL] = 1;
|
|
||||||
+ if (device->ProvidesSource(cSource::stCable)) systems[SCAN_CABLE] = 1;
|
|
||||||
+ if (device->ProvidesSource(cSource::stAtsc)) systems[SCAN_TERRCABLE_ATSC] = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (DVB_Type >= SCAN_NO_DEVICE || ! systems[DVB_Type]) {
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user