summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-dvd/files/rc-addon.sh')
-rw-r--r--media-plugins/vdr-dvd/files/rc-addon.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-plugins/vdr-dvd/files/rc-addon.sh b/media-plugins/vdr-dvd/files/rc-addon.sh
new file mode 100644
index 000000000000..1b47bba6b137
--- /dev/null
+++ b/media-plugins/vdr-dvd/files/rc-addon.sh
@@ -0,0 +1,16 @@
+# $Id$
+#
+# rc-addon plugin-startup-skript for vdr-dvd
+#
+
+plugin_pre_vdr_start() {
+
+ : ${DVD_DRIVE:=/dev/dvd}
+
+ add_plugin_param "-C${DVD_DRIVE}"
+ add_plugin_param "--dvd=${DVD_DRIVE}"
+
+ if [ "${DVD_DVDCSS:=no}" = "yes" ]; then
+ export DVDCSS_METHOD=key
+ fi
+}