summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2011-04-02 10:36:27 +0200
committerAndreas Mair <amair.sob@googlemail.com>2011-04-02 10:36:27 +0200
commit9eed7b90edd64adc5ee87c62a3d46191b1067c9a (patch)
treeb19067cf25ec7a4c706b30efd5bd4e6ba1153830
parent01fe2318a35875cd81306f923de21048ce977df7 (diff)
downloadvdr-plugin-extrecmenu-9eed7b90edd64adc5ee87c62a3d46191b1067c9a.tar.gz
vdr-plugin-extrecmenu-9eed7b90edd64adc5ee87c62a3d46191b1067c9a.tar.bz2
Ignore comments in dircmds.conf (Submitted by TomG @vdr-portal.de).
-rw-r--r--HISTORY3
-rw-r--r--extrecmenu.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index bd18ed3..d3ae199 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2,7 +2,8 @@ VDR Plugin 'extrecmenu' Revision History
----------------------------------------
2011-xx-xx: Version 1.2.1
-- [sibbi] added ability to configure items that should be shown in recording list.
+- [amair] Ignore comments in dircmds.conf (Submitted by TomG @vdr-portal.de).
+- [sibbi] Added ability to configure items that should be shown in recording list.
- [amair] Merged following changes from v1.3-devel head (Submitted by Joe_D @vdr-portal.de).
- [amair] Lifetime and priority for TS recordings can be edited again.
- [amair] Use international characters for renaming recordings and creating directories like VDR.
diff --git a/extrecmenu.c b/extrecmenu.c
index 92be9ee..c382698 100644
--- a/extrecmenu.c
+++ b/extrecmenu.c
@@ -81,7 +81,11 @@ bool cPluginExtrecmenu::Start(void)
MoveCutterThread=new WorkerThread();
+#if VDRVERSNUM >= 10713
RecordingDirCommands.Load(AddDirectory(cPlugin::ConfigDirectory(PLUGIN_NAME_I18N), "dircmds.conf"));
+#else
+ RecordingDirCommands.Load(AddDirectory(cPlugin::ConfigDirectory(PLUGIN_NAME_I18N), "dircmds.conf"), true);
+#endif
return true;
}