summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2016-09-25 13:42:31 (GMT)
committerJochen Dolze <vdr@dolze.de>2016-09-25 13:42:31 (GMT)
commit3681d3a18383c238870de7d1ec1f1f9c8079cf89 (patch)
tree071d2315a237979ea42be11ba907eea1b5222758
parent3ef5456ff25a4cbdcde187eab89d1e6f40207cde (diff)
downloadvdr-plugin-markad-3681d3a18383c238870de7d1ec1f1f9c8079cf89.tar.gz
vdr-plugin-markad-3681d3a18383c238870de7d1ec1f1f9c8079cf89.tar.bz2
Added patch from feature #1625, thanks to MegaV0lt
-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);