Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Classes | |
struct | DiscInfo |
Abstracts the info the app knows about a disc (type, name, serial) More... | |
Enumerations | |
enum class | DiscType { UNKNOWN , DVD , BLURAY } |
Abstracts a disc type. More... | |
Functions | |
bool | GetDiscInfo (DiscInfo &info, const std::string &mediaPath) |
Try to obtain the disc info (type, name, serial) of a given media path. | |
DiscInfo | ProbeDVDDiscInfo (const std::string &mediaPath) |
Try to probe the provided media path as a DVD. | |
DiscInfo | ProbeBlurayDiscInfo (const std::string &mediaPath) |
Try to probe the provided media path as a Bluray. | |
|
strong |
Try to obtain the disc info (type, name, serial) of a given media path.
[in,out] | info | The disc info struct |
mediaPath | The disc mediapath (e.g. /dev/cdrom, D\://, etc) |
UTILS::DISCS::DiscInfo UTILS::DISCS::ProbeBlurayDiscInfo | ( | const std::string & | mediaPath | ) |
Try to probe the provided media path as a Bluray.
mediaPath | The disc mediapath (e.g. /dev/cdrom, D\://, etc) |
UTILS::DISCS::DiscInfo UTILS::DISCS::ProbeDVDDiscInfo | ( | const std::string & | mediaPath | ) |
Try to probe the provided media path as a DVD.
mediaPath | The disc mediapath (e.g. /dev/cdrom, D\://, etc) |