 |
Sayonara Player
|
27 #include "Utils/Pimpl.h"
50 void sigProgress(
int);
54 explicit Editor(QObject* parent=
nullptr);
93 bool applyRegularExpression(
const QString& regex,
int idx);
102 void deleteGenre(
int idx,
const Genre& genre);
104 void renameGenre(
int idx,
const Genre& genre,
const Genre& new_genre);
153 bool isCoverSupported(
int idx)
const;
155 bool canLoadEntireAlbum()
const;
156 void loadEntireAlbum();
172 void insertMissingArtistsAndAlbums();
175 void loadEntireAlbumFinished();
void commit()
Commits changes to db.
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
void updateCover(int idx, const QPixmap &cover)
update the cover for a specific track.
void undoAll()
undo changes for all tracks
The TagEdit class Metadata has to be added using the set_metadata(const MetaDataList&) method....
Definition: Editor.h:43
bool hasCoverReplacement(int idx) const
remove_cover for a specific track
void addGenre(int idx, const Genre &genre)
Add a genre to all (changed) metdata.
Definition: org_mpris_media_player2_adaptor.h:21
MetaDataList metadata() const
get all (changed) metadata
The GUI_TagEdit class.
Definition: GenreFetcher.h:34
MetaData metadata(int idx) const
get the (changed) metadata for a specific index
int count() const
gets the number of tracks
void undo(int idx)
undo changes for a specific track
void setMetadata(const MetaDataList &tracks)
initializes the TagEdit object with a MetaDataList