tag Struct Reference

The meta information about a song file. More...

#include <tag.h>

Data Fields

int time
 The duration of the song (in seconds).
bool has_playlist
 Does this file have an embedded playlist (e.g.
struct tag_item ** items
 an array of tag items
unsigned num_items
 the total number of tag items in the items array

Detailed Description

The meta information about a song file.

It is a MPD specific subset of tags (e.g. from ID3, vorbis comments, ...).

Definition at line 82 of file tag.h.


Field Documentation

Does this file have an embedded playlist (e.g.

embedded CUE sheet)?

Definition at line 95 of file tag.h.

struct tag_item** tag::items [read]

an array of tag items

Definition at line 98 of file tag.h.

unsigned tag::num_items

the total number of tag items in the items array

Definition at line 101 of file tag.h.

int tag::time

The duration of the song (in seconds).

A value of zero means that the length is unknown. If the duration is really between zero and one second, you should round up to 1.

Definition at line 89 of file tag.h.


The documentation for this struct was generated from the following file:

Generated on 9 Aug 2013 for MPD by  doxygen 1.6.1