MythTV
master
|
Read and write metadata in Wavpack APE tags. More...
#include <metaiowavpack.h>
Public Member Functions | |
MetaIOWavPack (void)=default | |
~MetaIOWavPack (void) override=default | |
bool | write (const QString &filename, MusicMetadata *mdata) override |
Writes all metadata back to a file. More... | |
MusicMetadata * | read (const QString &filename) override |
Reads MusicMetadata from a file. More... | |
![]() | |
MetaIOTagLib (void)=default | |
~MetaIOTagLib (void) override=default | |
![]() | |
MetaIO (void) | |
virtual | ~MetaIO (void)=default |
virtual bool | writeVolatileMetadata (const QString &filename, MusicMetadata *mdata) |
Writes rating and playcount back to a file. More... | |
virtual bool | supportsEmbeddedImages (void) |
Does the tag support embedded cover art. More... | |
virtual AlbumArtList | getAlbumArtList (const QString &filename) |
Reads the list of embedded images in the tag. More... | |
virtual bool | writeAlbumArt (const QString &filename, const AlbumArtImage *albumart) |
virtual bool | removeAlbumArt (const QString &filename, const AlbumArtImage *albumart) |
virtual bool | changeImageType (const QString &filename, const AlbumArtImage *albumart, ImageType newType) |
virtual QImage * | getAlbumArt (const QString &filename, ImageType type) |
void | readFromFilename (const QString &filename, QString &artist, QString &album, QString &title, QString &genre, int &tracknum) |
Reads MusicMetadata based on the folder/filename. More... | |
MusicMetadata * | readFromFilename (const QString &filename, bool blnLength=false) |
Reads MusicMetadata based on the folder/filename. More... | |
void | readFromFilename (MusicMetadata *metadata) |
Reads MusicMetadata based on the folder/filename. More... | |
virtual bool | TagExists (const QString &filename) |
Static Private Member Functions | |
static TagLib::WavPack::File * | OpenFile (const QString &filename) |
Open the file to read the tag. More... | |
Additional Inherited Members | |
![]() | |
static MetaIO * | createTagger (const QString &filename) |
Finds an appropriate tagger for the given file. More... | |
static MusicMetadata * | readMetadata (const QString &filename) |
Read the metadata from filename directly. More... | |
static MusicMetadata * | getMetadata (const QString &filename) |
Get the metadata for filename . More... | |
![]() | |
static const QString | kValidFileExtensions |
![]() | |
std::chrono::milliseconds | getTrackLength (const QString &filename) override |
Find the length of the track (in milliseconds) More... | |
void | ReadGenericMetadata (TagLib::Tag *tag, MusicMetadata *metadata) |
Writes metadata common to all tag formats to the tag. More... | |
![]() | |
void | saveTimeStamps (void) |
void | restoreTimeStamps (void) |
![]() | |
static std::chrono::milliseconds | getTrackLength (TagLib::File *file) |
Find the length of the track (in milliseconds) More... | |
static void | WriteGenericMetadata (TagLib::Tag *tag, const MusicMetadata *metadata) |
Writes metadata common to all tag formats to the tag. More... | |
![]() | |
QString | m_filename |
QString | m_filenameFormat |
Read and write metadata in Wavpack APE tags.
N.B. No write support
Definition at line 23 of file metaiowavpack.h.
|
default |
|
overridedefault |
|
overridevirtual |
Writes all metadata back to a file.
filename | The filename to write metadata to |
mdata | A pointer to a MusicMetadata object |
Implements MetaIOTagLib.
Definition at line 39 of file metaiowavpack.cpp.
|
overridevirtual |
Reads MusicMetadata from a file.
filename | The filename to read metadata from. |
Implements MetaIOTagLib.
Definition at line 87 of file metaiowavpack.cpp.
|
staticprivate |
Open the file to read the tag.
filename | The filename |
Definition at line 21 of file metaiowavpack.cpp.