Create a tracksession from a media node.
#include <qplayer/qplayer.h> void createTrackSession( CreateTrackSessionCommand *command );
Create a tracksession from a media node. A tracksession is a sequence of tracks with a particular playback order. The new tracksession is filled with the tracks (i.e., media nodes) found within the path of the media node specified in the CreateTrackSessionCommand object.
Information on the newly created tracksession is stored in this same object. When your client receives the complete signal, it can call the result() function on this object to retrieve that information.