Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change decrypter search path for Android #601

Merged
merged 2 commits into from Apr 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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