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 index) |
| | undo changes for a specific track More...
|
| |
|
void | undoAll () |
| | undo changes for all tracks
|
| |
| MetaData | metadata (int index) const |
| | get the (changed) metadata for a specific index More...
|
| |
| MetaDataList | metadata () const |
| | get all (changed) metadata More...
|
| |
|
bool | applyRegularExpression (const QString ®ex, int index) |
| |
| void | addGenre (int index, const Genre &genre) |
| | Add a genre to all (changed) metdata. More...
|
| |
|
void | deleteGenre (int index, 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 index, const MetaData &track) |
| | writes changes to (changed) metadata for a specific track More...
|
| |
| void | updateCover (int index, const QPixmap &cover) |
| | update the cover for a specific track. More...
|
| |
| bool | hasCoverReplacement (int index) const |
| | remove_cover for a specific track More...
|
| |
| void | setMetadata (const MetaDataList &tracks) |
| | initializes the TagEdit object with a MetaDataList More...
|
| |
|
bool | isCoverSupported (int index) 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.