MythTV  master
Classes | Functions | Variables
cddb.cpp File Reference
#include "cddb.h"
#include <cstddef>
#include <cstdlib>
#include <QFile>
#include <QFileInfo>
#include <QDir>
#include <QVector>
#include <QMap>
#include <mythversion.h>
#include <mythlogging.h>
#include <mythcontext.h>
#include "mythdownloadmanager.h"
Include dependency graph for cddb.cpp:

Go to the source code of this file.

Classes

struct  Dbase
 

Functions

static const QString & helloID ()
 
static unsigned long msf2lsn (const Cddb::Msf &msf)
 
static Cddb::Msf lsn2msf (unsigned long lsn)
 
static int msf2sec (const Cddb::Msf &msf)
 
static Cddb::Msf sec2msf (unsigned sec)
 
static int cddb_sum (int i)
 

Variables

const int CDROM_LEADOUT_TRACK = 0xaa
 
const int CD_FRAMES_PER_SEC = 75
 
const int SECS_PER_MIN = 60
 
static const char URL [] = "http://freedb.musicbrainz.org/~cddb/cddb.cgi?cmd="
 

Function Documentation

◆ helloID()

static const QString & helloID ( )
static

Definition at line 645 of file cddb.cpp.

Referenced by Cddb::Query(), and Cddb::Read().

◆ msf2lsn()

static unsigned long msf2lsn ( const Cddb::Msf msf)
inlinestatic

Definition at line 62 of file cddb.cpp.

Referenced by Cddb::Album::operator QString(), and Cddb::Query().

◆ lsn2msf()

static Cddb::Msf lsn2msf ( unsigned long  lsn)
inlinestatic

Definition at line 67 of file cddb.cpp.

Referenced by Cddb::Album::operator=().

◆ msf2sec()

static int msf2sec ( const Cddb::Msf msf)
inlinestatic

Definition at line 80 of file cddb.cpp.

Referenced by Cddb::Album::operator QString(), and Cddb::Album::operator=().

◆ sec2msf()

static Cddb::Msf sec2msf ( unsigned  sec)
inlinestatic

Definition at line 84 of file cddb.cpp.

Referenced by Cddb::Album::operator=().

◆ cddb_sum()

static int cddb_sum ( int  i)
inlinestatic

Definition at line 249 of file cddb.cpp.

Referenced by Cddb::Discid().

Variable Documentation

◆ CDROM_LEADOUT_TRACK

const int CDROM_LEADOUT_TRACK = 0xaa

Definition at line 24 of file cddb.cpp.

Referenced by Cddb::Album::operator=().

◆ CD_FRAMES_PER_SEC

const int CD_FRAMES_PER_SEC = 75

Definition at line 25 of file cddb.cpp.

Referenced by lsn2msf(), and msf2lsn().

◆ SECS_PER_MIN

const int SECS_PER_MIN = 60

Definition at line 26 of file cddb.cpp.

Referenced by Cddb::Discid(), lsn2msf(), msf2lsn(), msf2sec(), and sec2msf().

◆ URL

const char URL[] = "http://freedb.musicbrainz.org/~cddb/cddb.cgi?cmd="
static