#include <metadatamanager.h>
List of all members.
Detailed Description
The MetaDataManager class is the base class for metadata access.
- Author:
- Ilya Kotov <forkotov02@hotmail.ru>
Constructor & Destructor Documentation
Member Function Documentation
Creats metadata object, which provides full access to file tags.
- Parameters:
-
url | File path or URL. |
parent | Parent object. |
- Returns:
- MetaDataModel pointer or null pointer.
QList<FileInfo *> createPlayList |
( |
const QString & |
path, |
|
|
bool |
useMetaData = true , |
|
|
QStringList * |
ignoredPaths = 0 |
|
) |
| const |
Extracts metadata and audio information from file path and returns a list of FileInfo items. One file may contain several playlist items (for example: cda disk or flac with embedded cue)
- Parameters:
-
path | Source file path. |
useMetaData | Metadata usage (true - use, - do not use) |
ignoredPaths | Pointer to a list of the files which should be ignored by the recursive search (useful to exclude cue data files from playlist) |
Returns a list of file name filters with description, i.e. "MPEG Files (*.mp3 *.mpg)"
Returns the cover file path for the given local audio file, or returns an empty string if the cover file is not available. Unlike getCover and getCoverPath this function provides simple file search (without cache) and should be used inside MetaDataModel reimplementation.
- Parameters:
-
fileName | Path of the local audio file. |
QPixmap getCover |
( |
const QString & |
url | ) |
const |
Returns the cover pixmap for the given file url, or returns an empty pixmap if cover is not available. IMPORTANT: to avoid infinite recursion, do not use this function inside MetaDataModel reimplementation.
Returns the cover file path for the given file url, or returns an empty string if the cover file is not available. This function does not work with embedded covers. IMPORTANT: to avoid infinite recursion, do not use this function inside MetaDataModel reimplementation.
Returns a list of file name filters, i.e. "*.mp3 *.mpg"
Prepares object for usage by another thread to avoid warnings about parent from the different thread
Returns a list of the suported protocols
bool supports |
( |
const QString & |
file | ) |
const |
Returns true if file is supported and exists, otherwise returns false
The documentation for this class was generated from the following file: