Stores properties describing an element found within a media source.
#include <qplayer/types.h> class MediaNode { public: enum Type { UNKNOWN = 0, FOLDER, AUDIO, VIDEO, RESERVED1, PHOTO, NUMBER }; QString id; int mediaSourceId; QString name; QUrl url; Type type; int count; };
Stores properties describing an element found within a media source. A media node can be a folder, audio track, video item, or photo. Folders can contain other media nodes (i.e., children). All types of media nodes are found by browsing or searching a media source.