summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/markad.cpp1
-rw-r--r--plugin/status.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugin/markad.cpp b/plugin/markad.cpp
index e7ebfb0..e5801cb 100644
--- a/plugin/markad.cpp
+++ b/plugin/markad.cpp
@@ -233,6 +233,7 @@ const char **cPluginMarkAd::SVDRPHelpPages(void)
bool cPluginMarkAd::ReadTitle(const char *Directory)
{
+ usleep(1000000); // wait 1 second
memset(&title,0,sizeof(title));
char *buf;
#if VDRVERSNUM > 10700
diff --git a/plugin/status.cpp b/plugin/status.cpp
index a691477..2b7039a 100644
--- a/plugin/status.cpp
+++ b/plugin/status.cpp
@@ -87,6 +87,7 @@ bool cStatusMarkAd::Start(const char *FileName, const char *Name, const bool Dir
setup->Log2Rec ? " -R " : "",
logodir,Direct ? "-O after" : "--online=2 before",
FileName);
+ usleep(1000000); // wait 1 second
if (SystemExec(cmd)!=-1)
{
dsyslog("markad: executing %s",*cmd);