diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-09-27 19:21:03 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-09-27 19:21:03 +0200 |
commit | c21e42cf4093f66d98b14ed641c5292938c74026 (patch) | |
tree | 100e747cd1895e4c758f0e469ac95d29ddc6910d /plugin/status.cpp | |
parent | 6cd413a7a392d82d6a2117a79c65a27ee1a708a0 (diff) | |
download | vdr-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
Diffstat (limited to 'plugin/status.cpp')
-rw-r--r-- | plugin/status.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
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 " : "", |