#include <InfoScanner.h>
|
| enum class | InfoRet {
CANCELLED
, INFO_ERROR
, NOT_NEEDED
, HAVE_ALREADY
,
NOT_FOUND
, ADDED
} |
| | Return values from the information lookup functions. More...
|
| |
| enum class | InfoType {
NONE = 0
, FULL = 1
, URL = 2
, OVERRIDE = 3
,
COMBINED = 4
, ERROR_NFO = 5
, TITLE = 6
} |
| |
|
| static bool | HasNoMedia (const std::string &strDirectory) |
| | Check if the folder is excluded from scanning process.
|
| |
|
| | CInfoScanner ()=default |
| | Protected constructor to only allow subclass instances.
|
| |
◆ InfoRet
Return values from the information lookup functions.
| Enumerator |
|---|
| CANCELLED | |
| INFO_ERROR | |
| NOT_NEEDED | |
| HAVE_ALREADY | |
| NOT_FOUND | |
| ADDED | |
◆ InfoType
| Enumerator |
|---|
| NONE | No info found.
|
| FULL | Full info specified.
|
| URL | A URL to grab info from was found.
|
| OVERRIDE | Override info was found.
|
| COMBINED | A URL to grab info from + override info was found.
|
| ERROR_NFO | Error processing info.
|
| TITLE | At least Title was read (and optionally the Year)
|
◆ ~CInfoScanner()
| virtual CInfoScanner::~CInfoScanner |
( |
| ) |
|
|
virtualdefault |
◆ CInfoScanner()
| CInfoScanner::CInfoScanner |
( |
| ) |
|
|
protecteddefault |
Protected constructor to only allow subclass instances.
◆ DoScan()
| virtual bool CInfoScanner::DoScan |
( |
const std::string & | strDirectory | ) |
|
|
pure virtual |
◆ HasNoMedia()
| bool CInfoScanner::HasNoMedia |
( |
const std::string & | strDirectory | ) |
|
|
static |
Check if the folder is excluded from scanning process.
- Parameters
-
| strDirectory | Directory to scan |
- Returns
- true if there is a .nomedia file
◆ IsScanning()
| bool CInfoScanner::IsScanning |
( |
| ) |
const |
|
inline |
Returns whether or not a scan is in progress.
◆ ShowDialog()
| void CInfoScanner::ShowDialog |
( |
bool | show | ) |
|
|
inline |
Set whether or not to show a progress dialog.
◆ m_bCanInterrupt
| bool CInfoScanner::m_bCanInterrupt = false |
|
protected |
Whether or not scanner is currently interruptible.
◆ m_bClean
| bool CInfoScanner::m_bClean = false |
|
protected |
Whether or not to perform cleaning during scanning.
◆ m_bRunning
| bool CInfoScanner::m_bRunning = false |
|
protected |
Whether or not scanner is running.
◆ m_handle
◆ m_pathsToScan
| std::set<std::string, std::less<> > CInfoScanner::m_pathsToScan |
|
protected |
◆ m_showDialog
| bool CInfoScanner::m_showDialog = false |
|
protected |
Whether or not to show progress bar dialog.
The documentation for this class was generated from the following files: