MythTV  master
Classes | Macros
imagescanner.h File Reference

Synchronises image database to filesystem. More...

#include <QFileInfo>
#include <QDir>
#include <QElapsedTimer>
#include <QRegularExpression>
#include "imagethumbs.h"
Include dependency graph for imagescanner.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ImageScanThread< DBFS >
 Image Scanner thread requires a database/filesystem adapter. More...


#define REGEXP   QRegularExpression
#define MATCHES(RE, SUBJECT)   RE.match(SUBJECT).hasMatch()

Detailed Description

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.

Macro Definition Documentation


#define REGEXP   QRegularExpression

Definition at line 20 of file imagescanner.h.


#define MATCHES (   RE,
)    RE.match(SUBJECT).hasMatch()

Definition at line 21 of file imagescanner.h.