#include <metaiotaglib.h>

Definition at line 22 of file metaiotaglib.h.
Public Member Functions | |
| MetaIOTagLib (void) | |
| virtual | ~MetaIOTagLib (void) |
| bool | write (Metadata *mdata, bool exclusive=false) |
| Writes metadata back to a file. | |
| Metadata * | read (QString filename) |
| Reads Metadata from a file. | |
Static Public Member Functions | |
| static QImage | getAlbumArt (QString filename, ImageType type) |
| Read the albumart image from the file. | |
Private Member Functions | |
| int | getTrackLength (QString filename) |
| Find the length of the track (in seconds). | |
| AlbumArtList | readAlbumArt (TagLib::ID3v2::Tag *tag) |
| Read the albumart image from the file. | |
| UserTextIdentificationFrame * | find (TagLib::ID3v2::Tag *tag, const String &description) |
| Find the a custom comment tag by description. This is a copy of the same function in the TagLib::ID3v2::UserTextIdentificationFrame Class with a static instead of dynamic cast. | |
| MetaIOTagLib::MetaIOTagLib | ( | void | ) |
Definition at line 8 of file metaiotaglib.cpp.
| MetaIOTagLib::~MetaIOTagLib | ( | void | ) | [virtual] |
Definition at line 13 of file metaiotaglib.cpp.
Writes metadata back to a file.
| mdata | A pointer to a Metadata object | |
| exclusive | Flag to indicate if only the data in mdata should be in the file. If false, any unrecognised tags already in the file will be maintained. |
Implements MetaIO.
Definition at line 26 of file metaiotaglib.cpp.
| Metadata * MetaIOTagLib::read | ( | QString | filename | ) | [virtual] |
Reads Metadata from a file.
| filename | The filename to read metadata from. |
Implements MetaIO.
Definition at line 123 of file metaiotaglib.cpp.
| QImage MetaIOTagLib::getAlbumArt | ( | QString | filename, | |
| ImageType | type | |||
| ) | [static] |
Read the albumart image from the file.
| filename | The filename for which we want to find the length. | |
| type | The type of image we want - front/back etc |
Definition at line 252 of file metaiotaglib.cpp.
Referenced by Metadata::getAlbumArt().
| int MetaIOTagLib::getTrackLength | ( | QString | filename | ) | [private, virtual] |
Find the length of the track (in seconds).
| filename | The filename for which we want to find the length. |
Implements MetaIO.
Definition at line 231 of file metaiotaglib.cpp.
| AlbumArtList MetaIOTagLib::readAlbumArt | ( | TagLib::ID3v2::Tag * | tag | ) | [private] |
Read the albumart image from the file.
| tag | The ID3v2 tag object in which to look for Album Art |
Definition at line 318 of file metaiotaglib.cpp.
Referenced by read().
| UserTextIdentificationFrame * MetaIOTagLib::find | ( | TagLib::ID3v2::Tag * | tag, | |
| const String & | description | |||
| ) | [private] |
Find the a custom comment tag by description. This is a copy of the same function in the TagLib::ID3v2::UserTextIdentificationFrame Class with a static instead of dynamic cast.
| tag | Pointer to TagLib::ID3v2::Tag object | |
| description | Description of tag to search for |
Definition at line 395 of file metaiotaglib.cpp.
1.5.5