diff options
-rw-r--r-- | addons/kodi.inputstream/addon.xml | 4 | ||||
-rw-r--r-- | xbmc/addons/InputStream.cpp | 2 | ||||
-rw-r--r-- | xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_inputstream_types.h | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/addons/kodi.inputstream/addon.xml b/addons/kodi.inputstream/addon.xml index 90df359ee9..092ab54e23 100644 --- a/addons/kodi.inputstream/addon.xml +++ b/addons/kodi.inputstream/addon.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<addon id="kodi.inputstream" version="1.0.2" provider-name="Team Kodi"> - <backwards-compatibility abi="1.0.2"/> +<addon id="kodi.inputstream" version="1.0.3" provider-name="Team Kodi"> + <backwards-compatibility abi="1.0.3"/> <requires> <import addon="xbmc.core" version="0.1.0"/> </requires> diff --git a/xbmc/addons/InputStream.cpp b/xbmc/addons/InputStream.cpp index d3c1e4f8a8..bde5df54da 100644 --- a/xbmc/addons/InputStream.cpp +++ b/xbmc/addons/InputStream.cpp @@ -145,7 +145,9 @@ bool CInputStream::Open(CFileItem &fileitem) props.m_strURL = fileitem.GetPath().c_str(); std::string libFolder = URIUtils::GetDirectory(m_parentLib); + std::string profileFolder = CSpecialProtocol::TranslatePath(Profile()); props.m_libFolder = libFolder.c_str(); + props.m_profileFolder = profileFolder.c_str(); bool ret = false; try diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_inputstream_types.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_inputstream_types.h index 05607087ef..fae05fae21 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_inputstream_types.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_inputstream_types.h @@ -69,6 +69,7 @@ extern "C" { } m_ListItemProperties[MAX_INFO_COUNT]; const char *m_libFolder; + const char *m_profileFolder; } INPUTSTREAM; /*! |