Skip to content

Commit

Permalink
Merge pull request #601 from glennguy/android-search-paths
Browse files Browse the repository at this point in the history
Change decrypter search path for Android
  • Loading branch information
phunkyfish committed Apr 10, 2021
2 parents 8887378 + 732d850 commit e8f2106
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Expand Up @@ -86,11 +86,7 @@ else()
set(ADP_ADDITIONAL_BINARY $<TARGET_FILE:ssd_wv>)
endif()

if(CORE_SYSTEM_NAME STREQUAL android)
set(DECRYPTERPATH "special://xbmcbinaddons")
else()
set(DECRYPTERPATH "special://home/cdm")
endif()
set(DECRYPTERPATH "special://home/cdm")

list(APPEND DEPLIBS bento4)
list(APPEND DEPLIBS mpegts)
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
@@ -1 +1 @@
buildPlugin(version: "Matrix", deploy: ['osx-x86_64', 'windows-i686', 'windows-x86_64', 'ubuntu-ppa'])
buildPlugin(version: "Matrix")
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# inputstream.adaptive (2.6.6)
# inputstream.adaptive (2.6.12)

This is an adaptive file addon for kodi's new InputStream Interface.

Expand Down
5 changes: 4 additions & 1 deletion inputstream.adaptive/addon.xml.in
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="inputstream.adaptive"
version="2.6.11"
version="2.6.12"
name="InputStream Adaptive"
provider-name="peak3d">
<requires>@ADDON_DEPENDS@</requires>
Expand All @@ -19,6 +19,9 @@
<description lang="es_ES">Cliente InputStream para flujo de datos adaptativos</description>
<platform>@PLATFORM@</platform>
<news>
v2.6.12 (2021-04-09)
- Remove Android specific decrypter search paths

v2.6.11 (2021-04-08)
- Fix ampersand in changelog causing issues from v2.6.9 and v2.6.10

Expand Down
6 changes: 0 additions & 6 deletions src/main.cpp
Expand Up @@ -2137,14 +2137,8 @@ void Session::GetSupportedDecrypterURN(std::string& key_system)
kodihost->SetLibraryPath(kodi::vfs::TranslateSpecialProtocol(specialpath).c_str());

std::vector<std::string> searchPaths(2);
#ifdef ANDROID
searchPaths[0] = getenv("KODI_ANDROID_LIBS")
? getenv("KODI_ANDROID_LIBS")
: kodi::vfs::TranslateSpecialProtocol("special://xbmcbinaddons/");
#else
searchPaths[0] =
kodi::vfs::TranslateSpecialProtocol("special://xbmcbinaddons/inputstream.adaptive/");
#endif
searchPaths[1] = kodi::GetAddonInfo("path");

std::vector<kodi::vfs::CDirEntry> items;
Expand Down

0 comments on commit e8f2106

Please sign in to comment.