summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-09-27 19:21:03 +0200
committerJochen Dolze <vdr@dolze.de>2012-09-27 19:21:03 +0200
commitc21e42cf4093f66d98b14ed641c5292938c74026 (patch)
tree100e747cd1895e4c758f0e469ac95d29ddc6910d
parent6cd413a7a392d82d6a2117a79c65a27ee1a708a0 (diff)
downloadvdr-plugin-markad-c21e42cf4093f66d98b14ed641c5292938c74026.tar.gz
vdr-plugin-markad-c21e42cf4093f66d98b14ed641c5292938c74026.tar.bz2
Added diff for man page (contributed by marco) - closes #1071
Added --svdrpport to plugin, closes #1070
-rw-r--r--command/markad.12
-rw-r--r--plugin/status.cpp9
2 files changed, 9 insertions, 2 deletions
diff --git a/command/markad.1 b/command/markad.1
index 1c4fbd8..5d9b33a 100644
--- a/command/markad.1
+++ b/command/markad.1
@@ -97,7 +97,7 @@ if online is 1, markad starts online for live\-recordings
only, online=2 starts markad online for every recording
live\-recordings are identified by having a '@' in the
filename so the entry 'Mark instant recording' in the menu
-'Setup \- Recording' of the vdr should be set to 'yes'
+\fISetup \- Recording\fR of the vdr should be set to 'yes'
.TP
.BI \-\-pass1only
process only first pass, setting of marks
diff --git a/plugin/status.cpp b/plugin/status.cpp
index 7ec8fe5..84d09a6 100644
--- a/plugin/status.cpp
+++ b/plugin/status.cpp
@@ -70,12 +70,19 @@ void cStatusMarkAd::Replaying(const cControl *UNUSED(Control), const char *UNUSE
bool cStatusMarkAd::Start(const char *FileName, const char *Name, const bool Direct)
{
if ((Direct) && (Get(FileName)!=-1)) return false;
+ if (setup->OSDMessage) {
+
+ }
cString cmd = cString::sprintf("\"%s\"/markad %s%s%s%s%s%s%s -l \"%s\" %s \"%s\"",
bindir,
setup->Verbose ? " -v " : "",
setup->SaveInfo ? " -I " : "",
setup->GenIndex ? " -G " : "",
- setup->OSDMessage ? " -O " : "",
+#if VDRVERSNUM < 10715
+ setup->OSDMessage ? " -O --svdrpport=2001 " : "",
+#else
+ setup->OSDMessage ? " -O --svdrpport=6419 " : "",
+#endif
setup->NoMargins ? " -i 4 " : "",
setup->SecondPass ? "" : " --pass1only ",
setup->Log2Rec ? " -R " : "",