diff options
-rw-r--r-- | command/markad.1 | 2 | ||||
-rw-r--r-- | plugin/status.cpp | 9 |
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 " : "", |