2013-10-25, 23:27
There is a new Version of VDR out ( 2.1.2 )
Due some changes, vnsiserver-4 Server Plugin did not Compile ( Your git from 3.10 )
In VDR-Portal Provided Patch did not work ( opdencamp version works )
=> http://www.vdr-portal.de/index.php?page=...ost1167961
make throws
=> vnsiserver.c:216:47: error: VideoDirectory was not declared in this scope
Due some changes, vnsiserver-4 Server Plugin did not Compile ( Your git from 3.10 )
In VDR-Portal Provided Patch did not work ( opdencamp version works )
=> http://www.vdr-portal.de/index.php?page=...ost1167961
Code:
diff --git a/vnsiclient.c b/vnsiclient.c
index 92bea63..f8ff710 100644
--- a/vnsiclient.c
+++ b/vnsiclient.c
@@ -1274,7 +1274,11 @@ bool cVNSIClient::processTIMER_Update() /* OPCODE 85 */
bool cVNSIClient::processRECORDINGS_GetDiskSpace() /* OPCODE 100 */
{
int FreeMB;
+#if APIVERSNUM > 20101
+ int Percent = cVideoDirectory::VideoDiskSpace(&FreeMB);
+#else
int Percent = VideoDiskSpace(&FreeMB);
+#endif
int Total = (FreeMB / (100 - Percent)) * 100;
m_resp->add_U32(Total);
make throws
=> vnsiserver.c:216:47: error: VideoDirectory was not declared in this scope