summaryrefslogtreecommitdiff
path: root/scraper2vdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'scraper2vdr.c')
-rw-r--r--scraper2vdr.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/scraper2vdr.c b/scraper2vdr.c
index 57e2332..788c42b 100644
--- a/scraper2vdr.c
+++ b/scraper2vdr.c
@@ -219,6 +219,12 @@ const char **cPluginScraper2vdr::SVDRPHelpPages(void) {
" Trigger scan for scrapinfo files in video directory.",
"CRDB\n"
" Trigger cleanup of recordings database.",
+ "DSER\n"
+ " Dump series kept in memory.",
+ "DMOV\n"
+ " Dump movies kept in memory.",
+ "DREC\n"
+ " Dump recordings kept in memory.",
0
};
return HelpPages;
@@ -240,6 +246,15 @@ cString cPluginScraper2vdr::SVDRPCommand(const char *Command, const char *Option
} else if (strcasecmp(Command, "CRDB") == 0) {
update->TriggerCleanRecordingsDB();
return "SCRAPER2VDR cleanup of recording DB triggered.";
+ } else if (strcasecmp(Command, "DSER") == 0) {
+ scrapManager->DumpSeries();
+ return "SCRAPER2VDR dumping available series";
+ } else if (strcasecmp(Command, "DMOV") == 0) {
+ scrapManager->DumpMovies();
+ return "SCRAPER2VDR dumping available movies";
+ } else if (strcasecmp(Command, "DREC") == 0) {
+ scrapManager->DumpRecordings();
+ return "SCRAPER2VDR dumping available recordings";
}
return NULL;
}