LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Media::AudioSearchRequest Struct Reference

Describes a request for an audio search in an IAudioPile. More...

#include "iaudiopile.h"

Public Attributes

QString Title_
 The title of a track. More...
 
QString Artist_
 The artist performing the track. More...
 
QString Album_
 The album containing this track. More...
 
int TrackLength_ = 0
 The approximate length of the track. More...
 
QString FreeForm_
 Free form engine-specific request. More...
 

Detailed Description

Describes a request for an audio search in an IAudioPile.

Different audio piles support filtering by different criteria, so calling plugins should not rely on all criteria being fulfilled. But at least filtering by either title, artist or free form request should be supported.

See also
IAudioPile

Definition at line 32 of file iaudiopile.h.

Member Data Documentation

◆ Album_

QString Media::AudioSearchRequest::Album_

The album containing this track.

Definition at line 48 of file iaudiopile.h.

◆ Artist_

QString Media::AudioSearchRequest::Artist_

The artist performing the track.

At least this or Title_ field should not be empty.

Definition at line 44 of file iaudiopile.h.

◆ FreeForm_

QString Media::AudioSearchRequest::FreeForm_

Free form engine-specific request.

Calling plugins should set this instead of Title_ or Artist_ fields if they are not sure what user has entered.

Definition at line 61 of file iaudiopile.h.

◆ Title_

QString Media::AudioSearchRequest::Title_

The title of a track.

At least this or Artist_ field should not be empty.

Definition at line 38 of file iaudiopile.h.

◆ TrackLength_

int Media::AudioSearchRequest::TrackLength_ = 0

The approximate length of the track.

Set this to 0 to disable by-track filtering.

Definition at line 54 of file iaudiopile.h.


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