LeechCraft  %{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Media Namespace Reference

Classes

struct  AudioInfo
 Describes a single audio track. More...
 
struct  TagInfo
 Information about a tag like a genre. More...
 
struct  ArtistInfo
 A structure describing an artist. More...
 
struct  SimilarityInfo
 Describes similarty information of an artist. More...
 
struct  AlbumInfo
 Information about an album used in IAlbumArtProvider. More...
 
class  IAlbumArtProvider
 Interface for plugins that can search for album art. More...
 
struct  ArtistBio
 Information about artist biography. More...
 
class  IPendingArtistBio
 Pending biography request handle. More...
 
class  IArtistBioFetcher
 Interface for plugins supporting fetching artist biography. More...
 
class  IPendingAudioSearch
 Pending audio search handle. More...
 
struct  AudioSearchRequest
 Describes a request for an audio search in an IAudioPile. More...
 
class  IAudioPile
 Interface for plugins supporting searching for tracks. More...
 
class  IAudioScrobbler
 Interface for plugins that support scrobbling. More...
 
struct  ReleaseTrackInfo
 Information about a track release. More...
 
struct  ReleaseInfo
 Information about a release, like an album or a single. More...
 
class  IPendingDisco
 Pending discography request handle. More...
 
class  IDiscographyProvider
 Interface for plugins supporting getting artist discography. More...
 
struct  EventInfo
 A structure describing an event like a gig or a festival. More...
 
class  IEventsProvider
 Interface for plugins that can provide events. More...
 
struct  HypedArtistInfo
 Contains information about a hyped artist. More...
 
struct  HypedTrackInfo
 Contains information about a hyped track. More...
 
class  IHypesProvider
 Interface for plugins that support fetching hypes. More...
 
struct  LyricsQuery
 Describes a lyrics search request. More...
 
class  ILyricsFinder
 Interface for plugins supporting finding lyrics. More...
 
class  IPendingSimilarArtists
 Pending similar artists request handle. More...
 
class  IRadioStation
 Describes a single radio station. More...
 
class  IRadioStationProvider
 Interface for plugins providing radio stations. More...
 
struct  AlbumRelease
 Describes a recent release. More...
 
class  IRecentReleases
 Interface for plugins providing recent releases. More...
 
class  IRecommendedArtists
 Interface for plugins supporting recommended artists. More...
 
class  ISimilarArtists
 Interface for plugins supporting similar artists. More...
 
class  IPendingTagsFetch
 Pending tags fetch handle. More...
 
class  ITagsFetcher
 Interface for plugins fetching tags for untagged files. More...
 

Typedefs

typedef QList< TagInfoTagInfos_t
 A list of tags. More...
 
typedef QList< SimilarityInfoSimilarityInfos_t
 A list of SimilarityInfo structures. More...
 
typedef QList< EventInfoEventInfos_t
 A list of events. More...
 
typedef std::shared_ptr
< IRadioStation
IRadioStation_ptr
 A pointer to a shared instance of a IRadioStation. More...
 

Enumerations

enum  EventAttendType {
  None,
  EventAttendType::Maybe,
  EventAttendType::Surely
}
 Enum describing if and how an event is attended by user. More...
 
enum  QueryOption {
  NoOption = 0x0,
  Refresh = 0x1
}
 Described the various lyrics request options. More...
 
enum  RadioType {
  None,
  None,
  SimilarArtists,
  GlobalTag,
  Predefined
}
 Describes the type of a radio station. More...
 
enum  RadioItemRole {
  ItemType = Qt::UserRole + 1,
  RadioID,
  MaxRadioRole
}
 Custom user roles for the items in the model. More...
 

Functions

bool operator== (const AlbumInfo &a1, const AlbumInfo &a2)
 Compares to AlbumInfo structures. More...
 
uint qHash (const AlbumInfo &info)
 A hash function for AlbumInfo to use it in QHash. More...
 
 Q_DECLARE_FLAGS (QueryOptions, QueryOption)
 Typedef for QFlags<QueryOption>. More...
 

Typedef Documentation

A list of events.

Definition at line 150 of file ieventsprovider.h.

typedef std::shared_ptr< IRadioStation > Media::IRadioStation_ptr

A pointer to a shared instance of a IRadioStation.

Definition at line 123 of file iradiostation.h.

A list of SimilarityInfo structures.

Definition at line 163 of file audiostructs.h.

typedef QList<TagInfo> Media::TagInfos_t

A list of tags.

Definition at line 90 of file audiostructs.h.

Enumeration Type Documentation

Enum describing if and how an event is attended by user.

See Also
EventInfo, IEventsProvider
Enumerator
None 

The user won't attend this event.

Maybe 

The user is interested and maybe will attend the event.

Surely 

The user surely will attend the event.

Definition at line 43 of file ieventsprovider.h.

Described the various lyrics request options.

See Also
ILyricsFinder
Enumerator
NoOption 

Default lyrics search request.

Refresh 

Refresh any cached data.

Definition at line 78 of file ilyricsfinder.h.

Custom user roles for the items in the model.

See Also
IRadioStationProvider
Enumerator
ItemType 

The type of this radio station.

The value should be a member of the RadioType enumeration.

RadioID 

The internal ID of the radio.

MaxRadioRole 

Maximum role.

Definition at line 80 of file iradiostationprovider.h.

Describes the type of a radio station.

See Also
IRadioStationProvider
Enumerator
None 

No type (item doesn't correspond to a radio station).

None 

The user won't attend this event.

SimilarArtists 

Radio of artists similar to a given one.

When selecting a radio of this type the GUI should present the user with a dialog where he can enter the desired artist's name which should be passed to the IRadioStationProvider::GetRadioStation() method.

GlobalTag 

Radio of a global tag like metalcore.

When selecting a radio of this type the GUI should present the user with a dialog where he can enter the desired tag name which should be passed to the IRadioStationProvider::GetRadioStation() method.

Predefined 

A predefined radio station like an Icecast stream.

Definition at line 47 of file iradiostationprovider.h.

Function Documentation

bool Media::operator== ( const AlbumInfo &  a1,
const AlbumInfo &  a2 
)
inline

Compares to AlbumInfo structures.

Definition at line 55 of file ialbumartprovider.h.

References Media::AlbumInfo::Album_, and Media::AlbumInfo::Artist_.

Media::Q_DECLARE_FLAGS ( QueryOptions  ,
QueryOption   
)

Typedef for QFlags<QueryOption>.

uint Media::qHash ( const AlbumInfo &  info)
inline

A hash function for AlbumInfo to use it in QHash.

Definition at line 63 of file ialbumartprovider.h.

References Media::AlbumInfo::Album_, and Media::AlbumInfo::Artist_.