Kodi Community Forum

Full Version: Compatible with new version 2.1.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

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
You say that opdenkamps repo works, I believe thats because fernet authored this PR: https://github.com/opdenkamp/xbmc-pvr-addons/pull/232

He hasn't pulled it back into his repo. Sure he will correct me if I'm wrong, so continue to use opdenkamps repo.

Not sure what you mean by 3.10? If your on frodo its not been backported

Try patching with the 3 patches from the above PR
>> Not sure what you mean by 3.10
Sorry, I ment pull from FernetMenta GIT Repo at 03. October 2013 ( I don't know git ID exactly )
Normaly, I Update xbmc with Monthly Cycle (This month I was a little late )

- git clone git://github.com/xbmc/xbmc.git "git-"$date_ext
- cd "git-"$date_ext
- git clone --branch vnsi4 git://github.com/FernetMenta/xbmc-pvr-addons.git pvr-addons

I will try next week with new monthly
You should update from opedenkamp repo. My staging branches are not updated if i have nothing to submit. Other contributions like the build fix mentioned flow directly to opdenkamp repo.
you have to compile the vnsi4-server-plugin for VDR using opdenkamps repo with the latest PR/commits as stated above. Its not a XBMC issues its the server addon that requires updating to work with the new VDR.