diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-02-09 02:02:11 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-02-09 02:02:11 +0100 |
commit | b9a32e5f188843ff47c9628728415affb7920a30 (patch) | |
tree | 14b8ce109216a6bc487a290a7e4801b22c6914e1 /plugin | |
parent | d0a6121eac659279ab2041f640743a546621d620 (diff) | |
download | vdr-plugin-markad-b9a32e5f188843ff47c9628728415affb7920a30.tar.gz vdr-plugin-markad-b9a32e5f188843ff47c9628728415affb7920a30.tar.bz2 |
Added more debug output to status.cpp, updated HISTORY
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/menu.cpp | 2 | ||||
-rw-r--r-- | plugin/status.cpp | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/plugin/menu.cpp b/plugin/menu.cpp index 08987c9..1ad8d84 100644 --- a/plugin/menu.cpp +++ b/plugin/menu.cpp @@ -116,7 +116,7 @@ bool cMenuMarkAd::write() if (!header) { Add(new cOsdItem(tr("no running markad found"),osUnknown,false),true); - lastpos=NULL; + lastpos=0; } Display(); return header; diff --git a/plugin/status.cpp b/plugin/status.cpp index 9b49294..84801f1 100644 --- a/plugin/status.cpp +++ b/plugin/status.cpp @@ -141,7 +141,10 @@ bool cStatusMarkAd::LogoExists(const char *Name) break; } } - if (!timer) return false; + if (!timer) { + esyslog("markad: cannot find internal recording structure for %s",Name); + return false; + } const cChannel *chan=timer->Channel(); if (!chan) return false; @@ -193,7 +196,10 @@ void cStatusMarkAd::Recording(const cDevice *UNUSED(Device), const char *Name, if (On) { - if (setup->LogoOnly && !LogoExists(Name)) return; + if (setup->LogoOnly && !LogoExists(Name)) { + dsyslog("markad: no logo found for %s",Name); + return; + } // Start markad with recording if (!Start(FileName,Name,false)) { esyslog("markad: failed starting on %s",FileName); |