Blob Blame History Raw
From f4231d4b56f0f899d39a011992da348a30e30429 Mon Sep 17 00:00:00 2001
From: Christian Wieninger <cwieninger@gmx.de>
Date: Sat, 27 Dec 2014 11:41:58 +0100
Subject: [PATCH 1/4] api change in VideoDirectory

---
 uservars.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/uservars.h b/uservars.h
index f098750..9366af0 100644
--- a/uservars.h
+++ b/uservars.h
@@ -538,7 +538,11 @@ class cVideodirVar : public cInternalVar {
     cVideodirVar() : cInternalVar("videodir") {}
     string Evaluate(const cEvent*, bool escapeStrings = false)
 	{
+#if APIVERSNUM > 20101
+	    return cVideoDirectory::Name();
+#else
 	    return VideoDirectory;
+#endif
 	}
 };
 
-- 
1.9.3