Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Functions | |
bool | HasClientAndProvider (const std::string &path) |
Check whether the given path contains a client id and a provider id. | |
bool | GetClientAndProviderFromPath (const CURL &url, int &clientId, int &providerId) |
Get client id and provider id from the given URL. | |
std::string | GetProviderNameFromPath (const std::string &path) |
Get the name of a provider from the given path. | |
bool PVR::UTILS::GetClientAndProviderFromPath | ( | const CURL & | url, |
int & | clientId, | ||
int & | providerId ) |
Get client id and provider id from the given URL.
url | The URL. |
clientId | Filled with the client id on success, PVR_CLIENT_INVALID_UID otherwise |
providerId | Filled with the provider id on success, PVR_PROVIDER_INVALID_UID otherwise |
std::string PVR::UTILS::GetProviderNameFromPath | ( | const std::string & | path | ) |
Get the name of a provider from the given path.
path | The path. |
bool PVR::UTILS::HasClientAndProvider | ( | const std::string & | path | ) |
Check whether the given path contains a client id and a provider id.
path | The path. |