LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
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. More...
 
QString Album_
 The album this track is on. More...
 
QString Title_
 The title of this track. More...
 
QStringList Genres_
 The genres of this track. More...
 
qint32 Length_ = 0
 The length of this track in seconds. More...
 
qint32 Year_ = 0
 The year of the Album_ this track is on. More...
 
qint32 TrackNumber_ = 0
 The number of this track on the Album_. More...
 
QVariantMap Other_
 Other fields of this audio info. More...
 

Detailed Description

Describes a single audio track.

Definition at line 26 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 40 of file audiostructs.h.

◆ Artist_

QString Media::AudioInfo::Artist_

The artist performing this track.

Definition at line 36 of file audiostructs.h.

◆ Genres_

QStringList Media::AudioInfo::Genres_

The genres of this track.

Definition at line 48 of file audiostructs.h.

◆ Length_

qint32 Media::AudioInfo::Length_ = 0

The length of this track in seconds.

Definition at line 52 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 68 of file audiostructs.h.

◆ Title_

QString Media::AudioInfo::Title_

The title of this track.

Definition at line 44 of file audiostructs.h.

◆ TrackNumber_

qint32 Media::AudioInfo::TrackNumber_ = 0

The number of this track on the Album_.

Definition at line 60 of file audiostructs.h.

◆ Year_

qint32 Media::AudioInfo::Year_ = 0

The year of the Album_ this track is on.

Definition at line 56 of file audiostructs.h.


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