|
MythTV
0.27pre
|
Read and write Vorbis (Xiph) tags in a FLAC file. More...
#include <metaioflacvorbis.h>


Public Member Functions | |
| MetaIOFLACVorbis (void) | |
| virtual | ~MetaIOFLACVorbis (void) |
| bool | write (const MusicMetadata *mdata) |
| Writes all metadata back to a file. | |
| MusicMetadata * | read (const QString &filename) |
| Reads MusicMetadata from a file. | |
| virtual bool | TagExists (const QString &filename) |
Public Member Functions inherited from MetaIOTagLib | |
| MetaIOTagLib (void) | |
| virtual | ~MetaIOTagLib (void) |
Public Member Functions inherited from MetaIO | |
| MetaIO (void) | |
| Constructor. | |
| virtual | ~MetaIO (void) |
| Destructor. | |
| virtual bool | writeVolatileMetadata (const MusicMetadata *mdata) |
| Writes rating and playcount back to a file. | |
| virtual bool | supportsEmbeddedImages (void) |
| Does the tag support embedded cover art. | |
| virtual AlbumArtList | getAlbumArtList (const QString &filename) |
| Reads the list of embedded images in the tag. | |
| 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. | |
| MusicMetadata * | readFromFilename (const QString &filename, bool blnLength=false) |
| Reads MusicMetadata based on the folder/filename. | |
| void | readFromFilename (MusicMetadata *metadata) |
| Reads MusicMetadata based on the folder/filename. | |
Private Member Functions | |
| TagLib::FLAC::File * | OpenFile (const QString &filename) |
| Open the file to read the tag. | |
Additional Inherited Members | |
Static Public Member Functions inherited from MetaIO | |
| static MetaIO * | createTagger (const QString &filename) |
| Finds an appropriate tagger for the given file. | |
| static MusicMetadata * | readMetadata (const QString &filename) |
Read the metadata from filename directly. | |
| static MusicMetadata * | getMetadata (const QString &filename) |
Get the metadata for filename. | |
Protected Member Functions inherited from MetaIOTagLib | |
| int | getTrackLength (TagLib::File *file) |
| Find the length of the track (in seconds) | |
| int | getTrackLength (const QString &filename) |
| Find the length of the track (in seconds) | |
| void | ReadGenericMetadata (TagLib::Tag *tag, MusicMetadata *metadata) |
| Writes metadata common to all tag formats to the tag. | |
| void | WriteGenericMetadata (TagLib::Tag *tag, const MusicMetadata *metadata) |
| Writes metadata common to all tag formats to the tag. | |
Read and write Vorbis (Xiph) tags in a FLAC file.
Definition at line 21 of file metaioflacvorbis.h.
| MetaIOFLACVorbis::MetaIOFLACVorbis | ( | void | ) |
Definition at line 13 of file metaioflacvorbis.cpp.
|
virtual |
Definition at line 18 of file metaioflacvorbis.cpp.
|
virtual |
Writes all metadata back to a file.
| mdata | A pointer to a MusicMetadata object |
Implements MetaIOTagLib.
Definition at line 47 of file metaioflacvorbis.cpp.
Referenced by FlacEncoder::~FlacEncoder().
|
virtual |
Reads MusicMetadata from a file.
| filename | The filename to read metadata from. |
Implements MetaIOTagLib.
Definition at line 98 of file metaioflacvorbis.cpp.
|
virtual |
Reimplemented from MetaIO.
Definition at line 148 of file metaioflacvorbis.cpp.
|
private |
Open the file to read the tag.
| filename | The filename |
Definition at line 28 of file metaioflacvorbis.cpp.
Referenced by read(), TagExists(), and write().
1.8.1.2