MythTV
master
|
Synchronises image database to filesystem. More...
#include <QFileInfo>
#include <QDir>
#include <QElapsedTimer>
#include <QRegularExpression>
#include "imagethumbs.h"
Go to the source code of this file.
Classes | |
class | ImageScanThread< DBFS > |
Image Scanner thread requires a database/filesystem adapter. More... | |
Macros | |
#define | REGEXP QRegularExpression |
#define | MATCHES(RE, SUBJECT) RE.match(SUBJECT).hasMatch() |
Synchronises image database to filesystem.
Detects supported pictures and videos and populates the image database with metadata for each, including directory structure. All images are passed to the associated thumbnail generator. Db images that have disappeared are notified to frontends so that they can clean up. Also clears database & removes devices (to prevent contention with running scans).
Clone directories & duplicate files can only occur in a Storage Group/Backend scanner. They can never occur with local devices/Frontend scanner
Definition in file imagescanner.h.
#define REGEXP QRegularExpression |
Definition at line 20 of file imagescanner.h.
#define MATCHES | ( | RE, | |
SUBJECT | |||
) | RE.match(SUBJECT).hasMatch() |
Definition at line 21 of file imagescanner.h.