23 #ifndef COVERLOCATION_H
24 #define COVERLOCATION_H
27 #include <QStringList>
66 QString toString()
const;
149 #endif // COVERLOCATION_H
static CoverLocation getInvalidLocation()
returns an invalid location
QString search_url
search_url url where to fetch covers
Definition: CoverLocation.h:45
QString cover_path
cover_path path, in .Sayonara, where cover is stored. Ignored if local_paths are not empty ...
Definition: CoverLocation.h:50
The CoverLocation class.
Definition: CoverLocation.h:37
bool valid
valid if CoverLocation object contains a valid download url
Definition: CoverLocation.h:60
static QString get_cover_directory()
returns the standard cover directory
The Album class.
Definition: Album.h:41
static CoverLocation get_cover_location(const QString &album_name, const QString &artist_name)
creates CoverLocation by taking the md5 sum between album_name and artist_name
The Artist class.
Definition: Artist.h:36
QStringList local_paths
local_paths paths where images can be fetched from if they should not be fetched from the ...
Definition: CoverLocation.h:55