|
MythTV master
|
#include <libmythmetadata/musicmetadata.h>
Public Member Functions | |
| AlbumArtImages (MusicMetadata *metadata, bool loadFromDB=true) | |
| AlbumArtImages (MusicMetadata *metadata, const AlbumArtImages &other) | |
| ~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 523 of file musicmetadata.h.
|
explicit |
Definition at line 1913 of file musicmetadata.cpp.
|
explicit |
Definition at line 1920 of file musicmetadata.cpp.
| AlbumArtImages::~AlbumArtImages | ( | ) |
Definition at line 1929 of file musicmetadata.cpp.
| void AlbumArtImages::addImage | ( | const AlbumArtImage * | newImage | ) |
Definition at line 2254 of file musicmetadata.cpp.
Referenced by ImportCoverArtDialog::copyPressed(), MusicBrainz::getMetadata(), scanForImages(), and MusicMetadata::setEmbeddedAlbumArt().
| void AlbumArtImages::dumpToDatabase | ( | void | ) |
saves or updates the image details in the DB
Definition at line 2287 of file musicmetadata.cpp.
Referenced by MusicFileScanner::AddFileToDB(), ImportMusicDialog::addPressed(), ImportCoverArtDialog::copyPressed(), MusicMetadata::dumpToDatabase(), and EditMetadataCommon::~EditMetadataCommon().
|
private |
Definition at line 1938 of file musicmetadata.cpp.
Referenced by AlbumArtImages().
| AlbumArtImage * AlbumArtImages::getImage | ( | ImageType | type | ) |
Definition at line 2136 of file musicmetadata.cpp.
Referenced by AlbumArt::cycleImage(), ExtractImage(), AlbumArt::findFrontCover(), MusicMetadata::getAlbumArtFile(), AlbumArt::handleKeyPress(), and MainServer::HandleMusicTagChangeImage().
| AlbumArtImage * AlbumArtImages::getImageAt | ( | uint | index | ) |
Definition at line 2168 of file musicmetadata.cpp.
Referenced by EditAlbumartDialog::customEvent(), and AlbumArt::findFrontCover().
| AlbumArtImage * AlbumArtImages::getImageByID | ( | int | imageID | ) |
Definition at line 2147 of file musicmetadata.cpp.
Referenced by MainServer::HandleMusicTagRemoveImage().
|
inline |
Definition at line 534 of file musicmetadata.h.
Referenced by EditAlbumartDialog::customEvent(), AlbumArt::cycleImage(), AlbumArt::findFrontCover(), AlbumArt::handleKeyPress(), and EditAlbumartDialog::rescanForImages().
| QStringList AlbumArtImages::getImageFilenames | ( | void | ) | const |
Definition at line 2158 of file musicmetadata.cpp.
|
inline |
Definition at line 538 of file musicmetadata.h.
Referenced by MusicMetadata::getAlbumArtFile(), and EditAlbumartDialog::updateImageGrid().
|
static |
Definition at line 2234 of file musicmetadata.cpp.
|
static |
Definition at line 2194 of file musicmetadata.cpp.
Referenced by ExtractImage(), and MainServer::HandleMusicTagChangeImage().
|
static |
Definition at line 2177 of file musicmetadata.cpp.
Referenced by EditAlbumartDialog::customEvent(), EditAlbumartDialog::gridItemChanged(), EditAlbumartDialog::showTypeMenu(), and EditAlbumartDialog::updateImageGrid().
|
static |
Definition at line 2211 of file musicmetadata.cpp.
Referenced by MusicFileScanner::AddFileToDB(), doUpgradeMusicDatabaseSchema(), MainServer::HandleMusicFindAlbumArt(), and EditAlbumartDialog::showTypeMenu().
|
private |
| void AlbumArtImages::scanForImages | ( | void | ) |
Definition at line 2054 of file musicmetadata.cpp.
Referenced by ImportMusicDialog::addPressed(), and EditMetadataCommon::scanForImages().
|
private |
Definition at line 552 of file musicmetadata.h.
Referenced by addImage(), AlbumArtImages(), dumpToDatabase(), findImages(), getImage(), getImageAt(), getImageByID(), getImageFilenames(), scanForImages(), and ~AlbumArtImages().
|
private |
Definition at line 551 of file musicmetadata.h.
Referenced by dumpToDatabase(), findImages(), and scanForImages().