summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-skinenigmang/files')
-rw-r--r--media-plugins/vdr-skinenigmang/files/rc-addon.sh12
-rw-r--r--media-plugins/vdr-skinenigmang/files/vdr-1.7.27.diff43
2 files changed, 55 insertions, 0 deletions
diff --git a/media-plugins/vdr-skinenigmang/files/rc-addon.sh b/media-plugins/vdr-skinenigmang/files/rc-addon.sh
new file mode 100644
index 000000000000..8dd0e8bf3039
--- /dev/null
+++ b/media-plugins/vdr-skinenigmang/files/rc-addon.sh
@@ -0,0 +1,12 @@
+# $Id$
+#
+# rc-addon-script for plugin skinenigmang
+#
+# Joerg Bornkessel hd_brummy@gentoo.org
+
+SKINENIGMANG_LOGODIR="/usr/share/vdr/skinenigmang"
+
+plugin_pre_vdr_start() {
+
+ add_plugin_param "-l ${SKINENIGMANG_LOGODIR}"
+}
diff --git a/media-plugins/vdr-skinenigmang/files/vdr-1.7.27.diff b/media-plugins/vdr-skinenigmang/files/vdr-1.7.27.diff
new file mode 100644
index 000000000000..e115af08f98a
--- /dev/null
+++ b/media-plugins/vdr-skinenigmang/files/vdr-1.7.27.diff
@@ -0,0 +1,43 @@
+diff -Naur skinenigmang-0.1.1.orig/enigma.c skinenigmang-0.1.1/enigma.c
+--- skinenigmang-0.1.1.orig/enigma.c 2012-04-07 00:35:34.000000000 +0200
++++ skinenigmang-0.1.1/enigma.c 2012-04-07 00:42:42.000000000 +0200
+@@ -2617,8 +2617,8 @@
+
+ // draw recording date string
+ std::stringstream sstrDate;
+- sstrDate << *DateString(Recording->start)
+- << " " << *TimeString(Recording->start);
++ sstrDate << *DateString(Recording->Start())
++ << " " << *TimeString(Recording->Start());
+
+ unsigned long long nRecSize = -1;
+ unsigned long long nFileSize[1000];
+@@ -2674,14 +2674,14 @@
+ bool fCutIn = true;
+ cMark *mark = marks.First();
+ while (mark) {
+- index->Get(mark->position, &FileNumber, &FileOffset); //TODO: will disc spin up?
++ index->Get(mark->Position(), &FileNumber, &FileOffset); //TODO: will disc spin up?
+ if (fCutIn) {
+- nCutInFrame = mark->position;
++ nCutInFrame = mark->Position();
+ fCutIn = false;
+ if (nRecSize >= 0)
+ nCutInOffset = nFileSize[FileNumber-1] + FileOffset;
+ } else {
+- nCutLength += mark->position - nCutInFrame;
++ nCutLength += mark->Position() - nCutInFrame;
+ fCutIn = true;
+ if (nRecSize >= 0)
+ nRecSizeCut += nFileSize[FileNumber-1] + FileOffset - nCutInOffset;
+@@ -2778,8 +2778,8 @@
+ }
+ delete index;
+
+- sstrInfo << trVDR("Priority") << ": " << Recording->priority << std::endl
+- << trVDR("Lifetime") << ": " << Recording->lifetime << std::endl;
++ sstrInfo << trVDR("Priority") << ": " << Recording->Priority() << std::endl
++ << trVDR("Lifetime") << ": " << Recording->Lifetime() << std::endl;
+ if (Info->Aux()) {
+ sstrInfo << std::endl << tr("Auxiliary information") << ":\n"
+ << parseaux(Info->Aux());