Stores metadata fields containing creation and playback information for a media node.
Synopsis:
#include <qplayer/types.h>
class Metadata {
public:
QString title;
int duration;
QUrl artwork;
QString artist;
QString album;
QString genre;
QString year;
int width;
int height;
int disc;
int track;
QString reserved;
};
Data:
- QString title
- Media file title.
- int duration
- Track duration (in milliseconds).
- QUrl artwork
- URL of filepath for artwork (NULL if there's no artwork).
- QString artist
- Artist name.
- QString album
- Album name.
- QString genre
- Genre.
- QString year
- Year of creation.
- int width
- Width (in pixels).
- int height
- Height (in pixels).
- int disc
- Disc number (-1 if not applicable).
- int track
- Track index (-1 if not applicable).
- QString reserved
- Reserved for future use.
Library:
libqplayer
Description:
Stores metadata fields containing creation and playback information for a media node.