Get metadata associated with a media node.


#include <qplayer/qplayer.h>
void getMetadata( MetadataCommand *command );


A pointer to a MetadataCommand object that specifies the media node being read. The node's metadata values are then written to the same object.


Get metadata associated with a media node. The MetadataCommand object referenced in command contains the node to read metadata from and the media source where the node is located.

This same object stores the metadata values extracted from the media node. When your client receives the complete signal, it can call its result() function to retrieve those values. Note that the metadata read depends on the type of the media node. For example, an audio track has an artist name and genre but not a width or height. Video and photo files, however, do have those last two fields.