Sayonara Player
|
#include <MetaData.h>
Public Member Functions | |
MetaData (const QString &path) | |
MetaData (const MetaData &other) | |
MetaData (MetaData &&other) noexcept | |
MetaData & | operator= (const MetaData &md) |
MetaData & | operator= (MetaData &&md) noexcept |
QString | title () const |
void | setTitle (const QString &title) |
QString | artist () const |
void | setArtist (const QString &artist) |
ArtistId | artistId () const |
void | setArtistId (ArtistId id) |
QString | album () const |
void | setAlbum (const QString &album) |
AlbumId | albumId () const |
void | setAlbumId (AlbumId id) |
const QString & | comment () const |
void | setComment (const QString &comment) |
QString | filepath () const |
QString | setFilepath (const QString &filepath, RadioMode mode=RadioMode::Undefined) |
ArtistId | albumArtistId () const |
QString | albumArtist () const |
void | setAlbumArtist (const QString &albumArtist, ArtistId id=-1) |
void | setAlbumArtistId (ArtistId id) |
void | setRadioStation (const QString &url, const QString &name=QString()) |
QString | radioStation () const |
QString | radioStationName () const |
RadioMode | radioMode () const |
void | changeRadioMode (RadioMode mode) |
bool | isValid () const |
bool | operator== (const MetaData &other) const |
bool | operator!= (const MetaData &other) const |
bool | isEqual (const MetaData &other) const |
bool | isEqualDeep (const MetaData &md) const |
const Util::Set< GenreID > & | genreIds () const |
Util::Set< Genre > | genres () const |
bool | hasGenre (const Genre &genre) const |
bool | removeGenre (const Genre &genre) |
bool | addGenre (const Genre &genre) |
void | setGenres (const Util::Set< Genre > &genres) |
void | setGenres (const QStringList &newGenres) |
void | setCreatedDate (uint64_t t) |
uint64_t | createdDate () const |
QDateTime | createdDateTime () const |
void | setModifiedDate (uint64_t t) |
uint64_t | modifiedDate () const |
QDateTime | modifiedDateTime () const |
QString | genresToString () const |
QStringList | genresToList () const |
Disc | discnumber () const |
void | setDiscnumber (const Disc &value) |
Disc | discCount () const |
void | setDiscCount (const Disc &value) |
Bitrate | bitrate () const |
void | setBitrate (const Bitrate &value) |
TrackNum | trackNumber () const |
void | setTrackNumber (const uint16_t &value) |
Year | year () const |
void | setYear (const uint16_t &value) |
Filesize | filesize () const |
void | setFilesize (const Filesize &value) |
Rating | rating () const |
void | setRating (const Rating &value) |
MilliSeconds | durationMs () const |
void | setDurationMs (const MilliSeconds &value) |
bool | isExtern () const |
void | setExtern (bool value) |
bool | isDisabled () const |
void | setDisabled (bool value) |
LibraryId | libraryId () const |
void | setLibraryid (const LibraryId &value) |
TrackID | id () const |
void | setId (const TrackID &value) |
void | addCustomField (const CustomField &field) |
void | addCustomField (const QString &id, const QString &displayName, const QString &value) |
void | replaceCustomField (const QString &id, const QString &displayName, const QString &value) |
const CustomFieldList & | customFields () const |
QString | customField (const QString &id) const |
QString | customField (int idx) const |
QStringList | coverDownloadUrls () const |
void | setCoverDownloadUrls (const QStringList &url) |
DbId | databaseId () const |
void | setDatabaseId (DbId id) |
UniqueId | uniqueId () const |
Static Protected Member Functions | |
static QHash< HashValue, QString > & | albumPool () |
static QHash< HashValue, QString > & | artistPool () |
The MetaData class.