|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
Represents a share. More...
#include <MediaSource.h>
Public Types | |
| enum | SourceType { SOURCE_TYPE_UNKNOWN = 0 , SOURCE_TYPE_LOCAL = 1 , SOURCE_TYPE_DVD = 2 , SOURCE_TYPE_VIRTUAL_DVD = 3 , SOURCE_TYPE_REMOTE = 4 , SOURCE_TYPE_VPATH = 5 , SOURCE_TYPE_REMOVABLE = 6 } |
Public Member Functions | |
| bool | operator== (const CMediaSource &right) const |
| void | FromNameAndPaths (const std::string &category, const std::string &name, const std::vector< std::string > &paths) |
| bool | IsWritable () const |
Public Attributes | |
| std::string | strName |
| Name of the share, can be chosen freely. More... | |
| std::string | strStatus |
| Status of the share (eg has disk etc.) More... | |
| std::string | strDiskUniqueId |
| removable:// + DVD Label + DVD ID for resume point storage, if available More... | |
| std::string | strPath |
| Path of the share, eg. iso9660:// or F: More... | |
| SourceType | m_iDriveType = SOURCE_TYPE_UNKNOWN |
| The type of the media source. More... | |
| LockType | m_iLockMode = LOCK_MODE_EVERYONE |
| The type of Lock UI to show when accessing the media source. More... | |
| std::string | m_strLockCode |
| Input code for Lock UI to verify, can be chosen freely. More... | |
| int | m_iHasLock = LOCK_STATE_NO_LOCK |
| int | m_iBadPwdCount = 0 |
| Number of wrong passwords user has entered since share was last unlocked. More... | |
| std::string | m_strThumbnailImage |
| Path to a thumbnail image for the share, or blank for default. More... | |
| std::vector< std::string > | vecPaths |
| bool | m_ignore = false |
| bool | m_allowSharing = true |
| <Do not store in xml More... | |
Represents a share.
| void CMediaSource::FromNameAndPaths | ( | const std::string & | category, |
| const std::string & | name, | ||
| const std::vector< std::string > & | paths | ||
| ) |
| bool CMediaSource::IsWritable | ( | ) | const |
| bool CMediaSource::operator== | ( | const CMediaSource & | right | ) | const |
| bool CMediaSource::m_allowSharing = true |
<Do not store in xml
| int CMediaSource::m_iBadPwdCount = 0 |
Number of wrong passwords user has entered since share was last unlocked.
| SourceType CMediaSource::m_iDriveType = SOURCE_TYPE_UNKNOWN |
The type of the media source.
Value can be:
| bool CMediaSource::m_ignore = false |
| int CMediaSource::m_iHasLock = LOCK_STATE_NO_LOCK |
| LockType CMediaSource::m_iLockMode = LOCK_MODE_EVERYONE |
The type of Lock UI to show when accessing the media source.
Value can be:
| std::string CMediaSource::m_strLockCode |
Input code for Lock UI to verify, can be chosen freely.
| std::string CMediaSource::m_strThumbnailImage |
Path to a thumbnail image for the share, or blank for default.
| std::string CMediaSource::strDiskUniqueId |
removable:// + DVD Label + DVD ID for resume point storage, if available
| std::string CMediaSource::strName |
Name of the share, can be chosen freely.
| std::string CMediaSource::strPath |
Path of the share, eg. iso9660:// or F:
| std::string CMediaSource::strStatus |
Status of the share (eg has disk etc.)
| std::vector<std::string> CMediaSource::vecPaths |