The TagEdit class Metadata has to be added using the set_metadata(const MetaDataList&) method. Use update_track(int idx, const MetaData& md) to stage the changes you made to the track. commit() starts the thread and writes changes to HDD and the database. When finished the finished() signal is emitted.
More...
|
| Editor (QObject *parent=nullptr) |
|
| Editor (const MetaDataList &tracks, QObject *parent=nullptr) |
|
void | undo (int idx) |
| undo changes for a specific track More...
|
|
void | undoAll () |
| undo changes for all tracks
|
|
MetaData | metadata (int idx) const |
| get the (changed) metadata for a specific index More...
|
|
MetaDataList | metadata () const |
| get all (changed) metadata More...
|
|
bool | applyRegularExpression (const QString ®ex, int idx) |
|
void | addGenre (int idx, const Genre &genre) |
| Add a genre to all (changed) metdata. More...
|
|
void | deleteGenre (int idx, const Genre &genre) |
|
void | renameGenre (int idx, const Genre &genre, const Genre &new_genre) |
|
int | count () const |
| gets the number of tracks More...
|
|
bool | hasChanges () const |
| indicates if there are pending changes
|
|
void | updateTrack (int idx, const MetaData &md) |
| writes changes to (changed) metadata for a specific track More...
|
|
void | updateCover (int idx, const QPixmap &cover) |
| update the cover for a specific track. More...
|
|
bool | hasCoverReplacement (int idx) const |
| remove_cover for a specific track More...
|
|
void | setMetadata (const MetaDataList &tracks) |
| initializes the TagEdit object with a MetaDataList More...
|
|
bool | isCoverSupported (int idx) const |
|
bool | canLoadEntireAlbum () const |
|
void | loadEntireAlbum () |
|
QMap< QString, FailReason > | failedFiles () const |
|
The TagEdit class Metadata has to be added using the set_metadata(const MetaDataList&) method. Use update_track(int idx, const MetaData& md) to stage the changes you made to the track. commit() starts the thread and writes changes to HDD and the database. When finished the finished() signal is emitted.