MythTV
master
|
#include <musicmetadata.h>
Public Member Functions | |
AlbumArtImages (MusicMetadata *metadata, bool loadFromDB=true) | |
~AlbumArtImages () | |
void | scanForImages (void) |
void | addImage (const AlbumArtImage *newImage) |
uint | getImageCount () |
AlbumArtImage * | getImage (ImageType type) |
AlbumArtImage * | getImageByID (int imageID) |
QStringList | getImageFilenames (void) const |
AlbumArtList * | getImageList (void) |
AlbumArtImage * | getImageAt (uint index) |
void | dumpToDatabase (void) |
saves or updates the image details in the DB More... | |
Static Public Member Functions | |
static ImageType | guessImageType (const QString &filename) |
static QString | getTypeName (ImageType type) |
static QString | getTypeFilename (ImageType type) |
static ImageType | getImageTypeFromName (const QString &name) |
Private Member Functions | |
Q_DECLARE_TR_FUNCTIONS (AlbumArtImages) | |
void | findImages (void) |
Private Attributes | |
MusicMetadata * | m_parent {nullptr} |
AlbumArtList | m_imageList |
Definition at line 520 of file musicmetadata.h.
|
explicit |
Definition at line 1886 of file musicmetadata.cpp.
AlbumArtImages::~AlbumArtImages | ( | ) |
Definition at line 1893 of file musicmetadata.cpp.
|
private |
void AlbumArtImages::scanForImages | ( | void | ) |
Definition at line 2018 of file musicmetadata.cpp.
Referenced by ImportMusicDialog::addPressed(), and EditMetadataCommon::scanForImages().
void AlbumArtImages::addImage | ( | const AlbumArtImage * | newImage | ) |
Definition at line 2218 of file musicmetadata.cpp.
Referenced by ImportCoverArtDialog::copyPressed(), scanForImages(), and MusicMetadata::setEmbeddedAlbumArt().
|
inline |
Definition at line 530 of file musicmetadata.h.
Referenced by EditAlbumartDialog::customEvent(), AlbumArt::cycleImage(), AlbumArt::findFrontCover(), AlbumArt::handleKeyPress(), and EditAlbumartDialog::rescanForImages().
AlbumArtImage * AlbumArtImages::getImage | ( | ImageType | type | ) |
Definition at line 2100 of file musicmetadata.cpp.
Referenced by AlbumArt::cycleImage(), ExtractImage(), AlbumArt::findFrontCover(), MusicMetadata::getAlbumArtFile(), AlbumArt::handleKeyPress(), and MainServer::HandleMusicTagChangeImage().
AlbumArtImage * AlbumArtImages::getImageByID | ( | int | imageID | ) |
Definition at line 2111 of file musicmetadata.cpp.
Referenced by MainServer::HandleMusicTagRemoveImage().
QStringList AlbumArtImages::getImageFilenames | ( | void | ) | const |
Definition at line 2122 of file musicmetadata.cpp.
|
inline |
Definition at line 534 of file musicmetadata.h.
Referenced by MusicMetadata::getAlbumArtFile(), and EditAlbumartDialog::updateImageGrid().
AlbumArtImage * AlbumArtImages::getImageAt | ( | uint | index | ) |
Definition at line 2132 of file musicmetadata.cpp.
Referenced by EditAlbumartDialog::customEvent(), and AlbumArt::findFrontCover().
void AlbumArtImages::dumpToDatabase | ( | void | ) |
saves or updates the image details in the DB
Definition at line 2251 of file musicmetadata.cpp.
Referenced by MusicFileScanner::AddFileToDB(), ImportMusicDialog::addPressed(), ImportCoverArtDialog::copyPressed(), MusicMetadata::dumpToDatabase(), and EditMetadataCommon::~EditMetadataCommon().
|
static |
Definition at line 2175 of file musicmetadata.cpp.
Referenced by MusicFileScanner::AddFileToDB(), doUpgradeMusicDatabaseSchema(), MainServer::HandleMusicFindAlbumArt(), and EditAlbumartDialog::showTypeMenu().
|
static |
Definition at line 2141 of file musicmetadata.cpp.
Referenced by EditAlbumartDialog::customEvent(), EditAlbumartDialog::gridItemChanged(), EditAlbumartDialog::showTypeMenu(), and EditAlbumartDialog::updateImageGrid().
|
static |
Definition at line 2158 of file musicmetadata.cpp.
Referenced by ExtractImage(), and MainServer::HandleMusicTagChangeImage().
|
static |
Definition at line 2198 of file musicmetadata.cpp.
|
private |
Definition at line 1902 of file musicmetadata.cpp.
Referenced by AlbumArtImages().
|
private |
Definition at line 547 of file musicmetadata.h.
Referenced by dumpToDatabase(), findImages(), and scanForImages().
|
private |
Definition at line 548 of file musicmetadata.h.
Referenced by addImage(), dumpToDatabase(), findImages(), getImage(), getImageAt(), getImageByID(), getImageFilenames(), scanForImages(), and ~AlbumArtImages().