21 #ifndef METADATAMANAGER_H
22 #define METADATAMANAGER_H
27 #include <QStringList>
28 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
31 # include <QRecursiveMutex>
56 QList<TrackInfo*> createPlayList(
const QString &path, TrackInfo::Parts parts =
TrackInfo::AllParts, QStringList *ignoredPaths =
nullptr)
const;
63 MetaDataModel* createMetaDataModel(
const QString &url,
bool readOnly)
const;
67 QStringList filters()
const;
71 QStringList nameFilters()
const;
75 QStringList protocols()
const;
79 QList<RegularExpression> regExps()
const;
83 bool supports(
const QString &file)
const;
89 QImage getCover(
const QString &url)
const;
96 QString getCoverPath(
const QString &url)
const;
104 QString findCoverFile(
const QString &fileName)
const;
108 void clearCoverCache();
112 void prepareForAnotherThread();
122 static void destroy();
130 QFileInfoList findCoverFiles(QDir dir,
int depth)
const;
134 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
135 mutable QMutex m_mutex;
The QmmpSettings class provides access to global settings.
Input plugin interface (decoder factory).