Kodi Development  20.0
for Binary and Script based Add-Ons

Detailed Description

URL and Data of key/value pairs passed to addon on Open.
This is used to have the necessary data of the stream to be opened.


The following table contains values that can be set with class InputstreamProperty :

Name Type Get call
Stream URL std::string GetURL
Mime type std::string GetMimeType
Available amount of properties unsigned int GetPropertiesAmount
List of properties std::map<std::string, std::string> GetProperties
Get addon library folder std::string GetLibFolder
Get addon profile/user folder std::string GetProfileFolder
Warning
This data are only given from Kodi to addon and can't be used on other places on addon.

Modules

 Value Help
 

Function Documentation

◆ GetURL()

std::string GetURL ( ) const
inline

Stream URL to open.

◆ GetMimeType()

std::string GetMimeType ( ) const
inline

Stream mime type.

◆ GetPropertiesAmount()

unsigned int GetPropertiesAmount ( ) const
inline

Amount of available properties.

◆ GetProperties()

const std::map<std::string, std::string> GetProperties ( ) const
inline

List of available properties-.

◆ GetLibFolder()

std::string GetLibFolder ( ) const
inline

Get addon library folder.

Note
As alternative can also kodi::GetAddonPath used.

◆ GetProfileFolder()

std::string GetProfileFolder ( ) const
inline

Get addon profile/user folder.

Note
As alternative can also kodi::GetBaseUserPath used.