summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2013-11-17 10:52:12 +0100
committerFrank Schmirler <vdr@schmirler.de>2013-11-17 10:52:12 +0100
commit1439b016b3e85d3d1ffdbd243bc7902c39e6c851 (patch)
tree9d9805e1d8cc5ab6336545fabfb3c4c6f7eeaa56
parentf194ca2074396beafd0620182ab42b582628c7ca (diff)
downloadvdr-plugin-streamdev-1439b016b3e85d3d1ffdbd243bc7902c39e6c851.tar.gz
vdr-plugin-streamdev-1439b016b3e85d3d1ffdbd243bc7902c39e6c851.tar.bz2
The patches intcamdevices and ignore_missing_cam are no longer required
on VDR >= 1.7.30. The localchannelprovide patch became obsolete with VDR 1.7.21.
-rw-r--r--HISTORY3
-rw-r--r--README20
-rw-r--r--patches/vdr-1.4.x-localchannelprovide.diff102
-rw-r--r--patches/vdr-1.6.0-1.7.29-ignore_missing_cam.diff (renamed from patches/vdr-1.6.0-ignore_missing_cam.diff)0
-rw-r--r--patches/vdr-1.6.0-1.7.29-intcamdevices.patch (renamed from patches/vdr-1.6.0-intcamdevices.patch)0
5 files changed, 13 insertions, 112 deletions
diff --git a/HISTORY b/HISTORY
index 758a19c..cfaeb31 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,9 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
+- The patches intcamdevices and ignore_missing_cam are no longer required
+ on VDR >= 1.7.30. The localchannelprovide patch became obsolete with VDR
+ 1.7.21.
- Added option to suspend live TV when the server starts
- Set device occupied when streamdev switches away LiveTV on the server, to
reduce the risk that the VDR main loop immediately switches back, resulting
diff --git a/README b/README
index 1e6ebb6..aba9529 100644
--- a/README
+++ b/README
@@ -549,10 +549,10 @@ The script should perform the following steps (pseudocode):
6. Known Problems:
------------------
-* Viewing encrypted channels became an issue with VDR's new CAM handling code.
-Streamdev doesn't provide a (dummy) CAM, so out of the box, VDR won't ever try
-to receive encrypted channels from streamdev. Pick one of the following
-solutions to work around the problem:
+* In VDR before 1.7.30 viewing encrypted channels is an issue as Streamdev
+doesn't provide a (dummy) CAM. So out of the box, VDR won't ever try to receive
+encrypted channels from streamdev. Pick one of the following solutions to work
+around the problem:
1. Force VDR to use streamdev. Open the channels menu on the client (or edit its
channels.conf if you know how to do this) and set the CA field of all channels
@@ -562,9 +562,9 @@ up. So please consider the logs for the correct value. Remember to fill in
hexadecimal values if you are using an editor to modify your channels.conf
(number 10 becomes an "a", number 11 a "b", ...).
-2. Apply either patch "patches/vdr-1.6.0-intcamdevices.patch" or patch
-"patches/vdr-1.6.0-ignore_missing_cam.diff" to your client VDR. Intcamdevices
-is the clean solution, but it modifies the VDR API. So you will need to
-recompile all of your plugins. The ignore_missing_cam patch is trivial, no need
-to recompile other plugins. However it is not suitable for clients with a DVB
-card of their own.
+2. Apply either patch "patches/vdr-1.6.0-1.7.29-intcamdevices.patch" or patch
+"patches/vdr-1.6.0-1.7.29-ignore_missing_cam.diff" to your client VDR.
+Intcamdevices is the clean solution, but it modifies the VDR API. So you will
+need to recompile all of your plugins. The ignore_missing_cam patch is trivial,
+no need to recompile other plugins. However it is not suitable for clients with
+a DVB card of their own.
diff --git a/patches/vdr-1.4.x-localchannelprovide.diff b/patches/vdr-1.4.x-localchannelprovide.diff
deleted file mode 100644
index 857c1a2..0000000
--- a/patches/vdr-1.4.x-localchannelprovide.diff
+++ /dev/null
@@ -1,102 +0,0 @@
-# Apply this patch to VDR if you want to use a fullfeatured DVB card
-# as pure output device. Infact the patch will keep VDR from using the
-# tuner of any local DVB card (also budget cards). It will not affect
-# other input devices like e.g. streamdev-client or DVB cards provided
-# by plugins (e.g. Hauppauge PVR).
-#
-# By default the patch is DISABLED. There will be a new OSD menu entry
-# in Setup->DVB which allows you to enable or disable the patch at any
-# time.
-diff -ru vdr-1.4.3.orig/config.c vdr-1.4.3/config.c
---- vdr-1.4.3.orig/config.c 2006-07-22 13:57:51.000000000 +0200
-+++ vdr-1.4.3/config.c 2006-11-16 08:16:37.000000000 +0100
-@@ -273,6 +273,7 @@
- CurrentChannel = -1;
- CurrentVolume = MAXVOLUME;
- CurrentDolby = 0;
-+ LocalChannelProvide = 1;
- InitialChannel = 0;
- InitialVolume = -1;
- }
-@@ -434,6 +435,7 @@
- else if (!strcasecmp(Name, "CurrentChannel")) CurrentChannel = atoi(Value);
- else if (!strcasecmp(Name, "CurrentVolume")) CurrentVolume = atoi(Value);
- else if (!strcasecmp(Name, "CurrentDolby")) CurrentDolby = atoi(Value);
-+ else if (!strcasecmp(Name, "LocalChannelProvide")) LocalChannelProvide = atoi(Value);
- else if (!strcasecmp(Name, "InitialChannel")) InitialChannel = atoi(Value);
- else if (!strcasecmp(Name, "InitialVolume")) InitialVolume = atoi(Value);
- else
-@@ -502,6 +504,7 @@
- Store("CurrentChannel", CurrentChannel);
- Store("CurrentVolume", CurrentVolume);
- Store("CurrentDolby", CurrentDolby);
-+ Store("LocalChannelProvide",LocalChannelProvide);
- Store("InitialChannel", InitialChannel);
- Store("InitialVolume", InitialVolume);
-
-diff -ru vdr-1.4.3.orig/config.h vdr-1.4.3/config.h
---- vdr-1.4.3.orig/config.h 2006-09-23 15:56:08.000000000 +0200
-+++ vdr-1.4.3/config.h 2006-11-16 08:16:57.000000000 +0100
-@@ -250,6 +250,7 @@
- int CurrentChannel;
- int CurrentVolume;
- int CurrentDolby;
-+ int LocalChannelProvide;
- int InitialChannel;
- int InitialVolume;
- int __EndData__;
-diff -ru vdr-1.4.3.orig/dvbdevice.c vdr-1.4.3/dvbdevice.c
---- vdr-1.4.3.orig/dvbdevice.c 2006-08-14 11:38:32.000000000 +0200
-+++ vdr-1.4.3/dvbdevice.c 2006-11-16 08:17:58.000000000 +0100
-@@ -766,6 +766,8 @@
-
- bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
- {
-+ if (Setup.LocalChannelProvide != 1)
-+ return false;
- bool result = false;
- bool hasPriority = Priority < 0 || Priority > this->Priority();
- bool needsDetachReceivers = false;
-diff -ru vdr-1.4.3.orig/i18n.c vdr-1.4.3/i18n.c
---- vdr-1.4.3.orig/i18n.c 2006-09-16 11:08:30.000000000 +0200
-+++ vdr-1.4.3/i18n.c 2006-11-16 08:36:53.000000000 +0100
-@@ -3546,6 +3546,28 @@
- "Foretrukket sprog",
- "Preferovaný jazyk",
- },
-+ { "Setup.DVB$Use DVB receivers",
-+ "DVB Empfangsteile benutzen",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ "",
-+ },
- { "Setup.DVB$Primary DVB interface",
- "Primäres DVB-Interface",
- "Primarna naprava",
-diff -ru vdr-1.4.3.orig/menu.c vdr-1.4.3/menu.c
---- vdr-1.4.3.orig/menu.c 2006-07-23 11:23:11.000000000 +0200
-+++ vdr-1.4.3/menu.c 2006-11-16 08:37:27.000000000 +0100
-@@ -2354,6 +2354,7 @@
-
- Clear();
-
-+ Add(new cMenuEditBoolItem(tr("Setup.DVB$Use DVB receivers"), &data.LocalChannelProvide));
- Add(new cMenuEditIntItem( tr("Setup.DVB$Primary DVB interface"), &data.PrimaryDVB, 1, cDevice::NumDevices()));
- Add(new cMenuEditBoolItem(tr("Setup.DVB$Video format"), &data.VideoFormat, "4:3", "16:9"));
- if (data.VideoFormat == 0)
diff --git a/patches/vdr-1.6.0-ignore_missing_cam.diff b/patches/vdr-1.6.0-1.7.29-ignore_missing_cam.diff
index 60d93bd..60d93bd 100644
--- a/patches/vdr-1.6.0-ignore_missing_cam.diff
+++ b/patches/vdr-1.6.0-1.7.29-ignore_missing_cam.diff
diff --git a/patches/vdr-1.6.0-intcamdevices.patch b/patches/vdr-1.6.0-1.7.29-intcamdevices.patch
index aab1fb4..aab1fb4 100644
--- a/patches/vdr-1.6.0-intcamdevices.patch
+++ b/patches/vdr-1.6.0-1.7.29-intcamdevices.patch