LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
Media::AudioInfo Struct Reference

Describes a single audio track. More...

#include "audiostructs.h"

Public Member Functions

bool operator== (const AudioInfo &other) const =default
 
bool operator!= (const AudioInfo &other) const =default
 

Public Attributes

QString Artist_
 The artist performing this track.
 
QString Album_
 The album this track is on.
 
QString Title_
 The title of this track.
 
QStringList Genres_ {}
 The genres of this track.
 
qint32 Length_ = 0
 The length of this track in seconds.
 
qint32 Year_ = 0
 The year of the Album_ this track is on.
 
qint32 TrackNumber_ = 0
 The number of this track on the Album_.
 
QVariantMap Other_ {}
 Other fields of this audio info.
 

Detailed Description

Describes a single audio track.

Definition at line 20 of file audiostructs.h.

Member Function Documentation

◆ operator!=()

bool Media::AudioInfo::operator!= ( const AudioInfo & other) const
default

◆ operator==()

bool Media::AudioInfo::operator== ( const AudioInfo & other) const
default

Member Data Documentation

◆ Album_

QString Media::AudioInfo::Album_

The album this track is on.

Definition at line 28 of file audiostructs.h.

◆ Artist_

QString Media::AudioInfo::Artist_

The artist performing this track.

Definition at line 24 of file audiostructs.h.

◆ Genres_

QStringList Media::AudioInfo::Genres_ {}

The genres of this track.

Definition at line 36 of file audiostructs.h.

◆ Length_

qint32 Media::AudioInfo::Length_ = 0

The length of this track in seconds.

Definition at line 40 of file audiostructs.h.

◆ Other_

QVariantMap Media::AudioInfo::Other_ {}

Other fields of this audio info.

Other fields known to be used:

  • URL with a QUrl pointing to either local file (if the scheme is "file:") or a remote file or radio stream otherwise.

Definition at line 56 of file audiostructs.h.

◆ Title_

QString Media::AudioInfo::Title_

The title of this track.

Definition at line 32 of file audiostructs.h.

◆ TrackNumber_

qint32 Media::AudioInfo::TrackNumber_ = 0

The number of this track on the Album_.

Definition at line 48 of file audiostructs.h.

◆ Year_

qint32 Media::AudioInfo::Year_ = 0

The year of the Album_ this track is on.

Definition at line 44 of file audiostructs.h.


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