MythTV  master
Classes | Public Types | Static Public Member Functions | List of all members
Cddb Struct Reference

#include <cddb.h>

Classes

struct  Album
 
struct  Match
 
struct  Matches
 
struct  Msf
 
struct  Track
 

Public Types

typedef unsigned long discid_t
 
typedef QVector< MsfToc
 

Static Public Member Functions

static bool Query (Matches &, const Toc &)
 CDDB query. More...
 
static bool Read (Album &, const QString &genre, discid_t)
 CDDB read. More...
 
static bool Write (const Album &, bool bLocalOnly=true)
 CDDB write. More...
 
static discid_t Discid (unsigned &secs, const Msf [], unsigned tracks)
 discID calculation. More...
 
static void Alias (const Album &, discid_t)
 Create a local alias for a matched discID. More...
 

Detailed Description

Definition at line 11 of file cddb.h.

Member Typedef Documentation

◆ discid_t

typedef unsigned long Cddb::discid_t

Definition at line 13 of file cddb.h.

◆ Toc

typedef QVector< Msf > Cddb::Toc

Definition at line 52 of file cddb.h.

Member Function Documentation

◆ Query()

bool Cddb::Query ( Matches res,
const Toc toc 
)
static

CDDB query.

Definition at line 100 of file cddb.cpp.

Referenced by CdDecoder::getMetadata().

◆ Read()

bool Cddb::Read ( Album album,
const QString &  genre,
discid_t  discID 
)
static

CDDB read.

Definition at line 196 of file cddb.cpp.

Referenced by CdDecoder::getMetadata().

◆ Write()

bool Cddb::Write ( const Album album,
bool  bLocalOnly = true 
)
static

CDDB write.

Definition at line 242 of file cddb.cpp.

◆ Discid()

Cddb::discid_t Cddb::Discid ( unsigned &  secs,
const Msf  v[],
unsigned  tracks 
)
static

discID calculation.

See appendix A of freedb_howto1.07.zip

Definition at line 265 of file cddb.cpp.

Referenced by Query().

◆ Alias()

void Cddb::Alias ( const Album album,
discid_t  discID 
)
static

Create a local alias for a matched discID.

Definition at line 283 of file cddb.cpp.

Referenced by CdDecoder::getMetadata().


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