|
MythTV master
|
#include "mythconfig.h"#include <array>#include <cstdint>#include <utility>#include <QCoreApplication>#include <QDateTime>#include <QImage>#include <QMap>#include <QMetaType>#include <QStringList>#include <QTimeZone>#include "libmythbase/mthread.h"#include "libmythbase/mythtypes.h"#include "libmythmetadata/mythmetaexp.h"Go to the source code of this file.
Classes | |
| class | AlbumArtImage |
| class | MusicMetadata |
| class | MetadataLoadingThread |
| class | AllMusic |
| class | AllStream |
| class | AlbumArtScannerThread |
| class | AlbumArtImages |
Typedefs | |
| using | AlbumArtList = QList< AlbumArtImage * > |
| using | UrlList = std::array< QString, STREAMURLCOUNT > |
| using | MetadataPtrList = QList< MusicMetadata * > |
| using | StreamList = QList< MusicMetadata * > |
Enumerations | |
| enum | ImageType : std::uint8_t { IT_UNKNOWN = 0 , IT_FRONTCOVER , IT_BACKCOVER , IT_CD , IT_INLAY , IT_ARTIST , IT_LAST } |
| enum | RepoType : std::uint8_t { RT_Database = 0 , RT_CD = 1 , RT_Radio = 2 } |
Functions | |
| static constexpr uint32_t | ID_TO_ID (uint32_t x) |
| static constexpr uint32_t | ID_TO_REPO (uint32_t x) |
| bool | operator== (MusicMetadata &a, MusicMetadata &b) |
| bool | operator!= (MusicMetadata &a, MusicMetadata &b) |
| Q_DECLARE_METATYPE (ImageType) | |
| Q_DECLARE_METATYPE (AlbumArtImage *) | |
Variables | |
| static constexpr uint8_t | METADATA_BITS_FOR_REPO { 8 } |
| static constexpr uint8_t | METADATA_REPO_SHIFT { 24 } |
| static constexpr uint32_t | METADATA_REPO_MASK { 0xff000000 } |
| static constexpr uint32_t | METADATA_ID_MASK { 0x00ffffff } |
| static constexpr const char * | METADATA_INVALID_FILENAME { "**NOT FOUND**" } |
| static constexpr size_t | STREAMURLCOUNT { 5 } |
| using AlbumArtList = QList<AlbumArtImage*> |
Definition at line 62 of file musicmetadata.h.
| using MetadataPtrList = QList<MusicMetadata*> |
Definition at line 404 of file musicmetadata.h.
| using StreamList = QList<MusicMetadata*> |
Definition at line 482 of file musicmetadata.h.
| using UrlList = std::array<QString,STREAMURLCOUNT> |
Definition at line 83 of file musicmetadata.h.
| enum ImageType : std::uint8_t |
| Enumerator | |
|---|---|
| IT_UNKNOWN | |
| IT_FRONTCOVER | |
| IT_BACKCOVER | |
| IT_CD | |
| IT_INLAY | |
| IT_ARTIST | |
| IT_LAST | |
Definition at line 34 of file musicmetadata.h.
| enum RepoType : std::uint8_t |
| Enumerator | |
|---|---|
| RT_Database | |
| RT_CD | |
| RT_Radio | |
Definition at line 64 of file musicmetadata.h.
|
staticconstexpr |
Definition at line 76 of file musicmetadata.h.
Referenced by AlbumArtImages::dumpToDatabase(), AlbumArtImages::findImages(), AllStream::removeStream(), and AllStream::updateStream().
|
staticconstexpr |
Definition at line 77 of file musicmetadata.h.
Referenced by StreamView::addStream(), Playlist::addTrack(), StreamView::deleteStream(), Playlist::fillSongsFromSonglist(), AlbumArtImages::findImages(), FindLyrics(), MusicMetadata::getAlbumArtFile(), Playlist::getRawSongAt(), Playlist::getSongAt(), MusicMetadata::isCDTrack(), MusicMetadata::isDBTrack(), MusicMetadata::isRadio(), MusicMetadata::toMap(), Playlist::toRawSonglist(), and StreamView::updateStream().
| bool operator!= | ( | MusicMetadata & | a, |
| MusicMetadata & | b | ||
| ) |
Definition at line 45 of file musicmetadata.cpp.
| bool operator== | ( | MusicMetadata & | a, |
| MusicMetadata & | b | ||
| ) |
Definition at line 40 of file musicmetadata.cpp.
| Q_DECLARE_METATYPE | ( | AlbumArtImage * | ) |
| Q_DECLARE_METATYPE | ( | ImageType | ) |
|
staticconstexpr |
Definition at line 71 of file musicmetadata.h.
|
staticconstexpr |
Definition at line 74 of file musicmetadata.h.
Referenced by ID_TO_ID(), and MusicMetadata::setRepo().
|
staticconstexpr |
Definition at line 79 of file musicmetadata.h.
Referenced by MusicMetadata::Filename(), and MusicPlayer::play().
|
staticconstexpr |
Definition at line 73 of file musicmetadata.h.
|
staticconstexpr |
Definition at line 72 of file musicmetadata.h.
Referenced by ID_TO_REPO(), and MusicMetadata::setRepo().
|
staticconstexpr |
Definition at line 81 of file musicmetadata.h.
Referenced by SearchStream::doUpdateStreams(), AllStream::loadStreams(), MusicMetadata::setUrl(), and MusicMetadata::Url().