From 59e7ed171851cf46185820b421a35a906540fedd Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Sun, 14 Oct 2012 12:54:56 +0200 Subject: Added recognition of epgsearch line in info --- command/markad-standalone.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'command/markad-standalone.cpp') diff --git a/command/markad-standalone.cpp b/command/markad-standalone.cpp index effa186..f4e7b5d 100644 --- a/command/markad-standalone.cpp +++ b/command/markad-standalone.cpp @@ -1646,8 +1646,15 @@ bool cMarkAdStandalone::LoadInfo() if (pbstart) { pbstart+=8; bstart=atoi(pbstart); - if ((bstart>3600) || (bstart<0)) bstart=0; + } else { + pbstart=strstr(line,""); + if (pbstart && startTime) { + pbstart+=7; + bstart=atoi(pbstart); + bstart=startTime-bstart; + } } + if ((bstart>3600) || (bstart<0)) bstart=0; } if (line[0]=='F') { -- cgit v1.2.3