binary addons patch: update to kodi

This commit is contained in:
Stefan Saraev 2014-10-26 15:33:13 +02:00
parent 0a37f62e26
commit 341e834bbb

View File

@ -33,7 +33,7 @@ index d358a23..6b55c3a 100644
+ struct stat fileStat; + struct stat fileStat;
+ int statRet; + int statRet;
+ +
+ addonDirPath = "/storage/.xbmc/addons/" + m_addon->ID() + "/bin/"; + addonDirPath = "/storage/.kodi/addons/" + m_addon->ID() + "/bin/";
+ if ((addonsDir = opendir(addonDirPath.c_str())) != NULL) + if ((addonsDir = opendir(addonDirPath.c_str())) != NULL)
+ { + {
+ while ((fileDirent = readdir(addonsDir)) != NULL) + while ((fileDirent = readdir(addonsDir)) != NULL)