summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--HISTORY.DE1
-rw-r--r--doc-src/en/epgsearch.4.txt1
-rw-r--r--epgsearchsvdrp.c11
4 files changed, 13 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index dbcd380..8b692a5 100644
--- a/HISTORY
+++ b/HISTORY
@@ -109,6 +109,7 @@ new:
- if there is no subtitle the filename now defaults to YYYY.MM.DD-HH.MM-Weekday to ease
sorting in some frontends, thanks to Dominic Evans for providing a patch
- should now compile in FreeBSD, thanks to Juergen Lock for providing a patch
+- new SVDRP command UPDT to reload the list of search timers in epgsearch.conf
fixes:
- fixed a crash when pressing 'Ok' in an empty timers done menu
diff --git a/HISTORY.DE b/HISTORY.DE
index 7c5b101..cb2f30c 100644
--- a/HISTORY.DE
+++ b/HISTORY.DE
@@ -116,6 +116,7 @@ neu:
verwendet, um die Sortierung in manchen Frontends zu erleichtern. Danke an Dominic
Evans für einen Patch.
- sollte nun auch unter FreeBSD compilieren, Danke an Juergen Lock für einen Patch
+- neuer SVDRP-Befehl UPDT zum Neuladen der Suchtimer aus der Datei epgsearch.conf
fixes:
- Absturz beim Drücken von 'Ok' in leerem Menü erledigter Timer behoben
diff --git a/doc-src/en/epgsearch.4.txt b/doc-src/en/epgsearch.4.txt
index c19eaec..fb0be4a 100644
--- a/doc-src/en/epgsearch.4.txt
+++ b/doc-src/en/epgsearch.4.txt
@@ -416,6 +416,7 @@ the following commands are available:
evaluate and defaults to 24h.
* 'MENU [PRG|NOW|SUM]' calls one of the main menus of epgsearch or the summary
of the current event.
+ * 'UPDT' reloads the search timers from epgsearch.conf
=head2 channel group management:
diff --git a/epgsearchsvdrp.c b/epgsearchsvdrp.c
index e5318fd..930f6fb 100644
--- a/epgsearchsvdrp.c
+++ b/epgsearchsvdrp.c
@@ -132,7 +132,9 @@ const char **cPluginEpgsearch::SVDRPHelpPages(void)
" 'REL' only relevant conflicts are listed",
"MENU [ NOW|PRG|SUM ]\n"
" Calls one of the main menus of epgsearch or the summary\n"
- " of the current event",
+ " of the current event\n",
+ "UPDT\n"
+ " Reload search timers from epgsearch.conf",
NULL
};
return HelpPages;
@@ -606,6 +608,13 @@ cString cPluginEpgsearch::SVDRPCommand(const char *Command, const char *Option,
return cString("no results");
}
}
+ else if (strcasecmp(Command, "UPDT") == 0)
+ {
+ if (SearchExts.Load(AddDirectory(CONFIGDIR, "epgsearch.conf")))
+ return cString("reload epgsearch.conf successful");
+ else
+ return cString("reload epgsearch.conf failed");
+ }
// ---------------------
// recording directories
else if (strcasecmp(Command, "LSRD") == 0)