Enums

Details

class Dmap.ConnectionState(value)

Bases: GObject.GEnum

Enumeration of connection states.

GET_INFO = 0

getting DMAP server information

LOGIN = 1

logging in to DMAP server

GET_REVISION_NUMBER = 2

getting server’s database revision number

GET_DB_INFO = 3

getting DMAP database information

GET_MEDIA = 4

getting DMAP media listing

GET_PLAYLISTS = 5

getting DMAP playlists

GET_PLAYLIST_ENTRIES = 6

getting entries in playlist

LOGOUT = 7

logging out of DMAP server

DONE = 8

done

class Dmap.ContentCode(value)

Bases: GObject.GEnum

CC_INVALID = 0
RAW = 1
CC_MCTI = 10
CC_PFMT = 100
CC_PIFS = 101
CC_PLSZ = 102
CC_PHGT = 103
CC_PWTH = 104
CC_PRAT = 105
CC_PCMT = 106
CC_PRET = 107
CC_AECS = 108
CC_AESV = 109
CC_MPCO = 11
CC_AEHV = 110
CC_AESP = 111
CC_AEPP = 112
CC_AEPS = 113
CC_AESG = 114
CC_AEMK = 115
CC_AEMK2 = 116
CC_AEFP = 117
CC_ATED = 118
CC_ASGR = 119
CC_MSTS = 12
CC_AEMQ = 120
CC_AESL = 121
CC_AESR = 122
CC_AETR = 123
CC_MSED = 124
CC_CMPA = 125
CC_CMNM = 126
CC_CMTY = 127
CC_CMPG = 128
CC_CACI = 129
CC_MIMC = 13
CC_CAPS = 130
CC_CASH = 131
CC_CARP = 132
CC_CAAS = 133
CC_CAAR = 134
CC_CAIA = 135
CC_CANP = 136
CC_CANN = 137
CC_CANA = 138
CC_CANL = 139
CC_MCTC = 14
CC_CANG = 140
CC_CANT = 141
CC_CASP = 142
CC_CASS = 143
CC_CAST = 144
CC_CASU = 145
CC_CASG = 146
CC_CACR = 147
CC_CMCP = 148
CC_CMGT = 149
CC_MRCO = 15
CC_CMIK = 150
CC_CMSP = 151
CC_CMST = 152
CC_CMSV = 153
CC_CMSR = 154
CC_CMMK = 155
CC_CMVO = 156
CC_CMPR = 157
CC_CAPR = 158
CC_AEFR = 159
CC_MTCO = 16
CC_CAOV = 160
CC_CMRL = 161
CC_CAHP = 162
CC_CAIV = 163
CC_CAVC = 164
CC_MLCL = 17
CC_MLIT = 18
CC_MBCL = 19
CC_MDCL = 2
CC_MSRV = 20
CC_MSAU = 21
CC_MSLR = 22
CC_MPRO = 23
CC_MSAL = 24
CC_MSUP = 25
CC_MSPI = 26
CC_MSEX = 27
CC_MSBR = 28
CC_MSQY = 29
CC_MEDS = 3
CC_MSIX = 30
CC_MSRS = 31
CC_MSTM = 32
CC_MSDC = 33
CC_MCCR = 34
CC_MCNM = 35
CC_MCNA = 36
CC_MCTY = 37
CC_MLOG = 38
CC_MLID = 39
CC_MSTT = 4
CC_MUPD = 40
CC_MUSR = 41
CC_MUTY = 42
CC_MUDL = 43
CC_MSMA = 44
CC_FQUESCH = 45
CC_MDBK = 46
CC_APRO = 47
CC_AVDB = 48
CC_ABRO = 49
CC_MIID = 5
CC_ABAL = 50
CC_ABAR = 51
CC_ABCP = 52
CC_ABGN = 53
CC_ADBS = 54
CC_ASAL = 55
CC_ASAI = 56
CC_ASAA = 57
CC_ASAR = 58
CC_ASBT = 59
CC_MINM = 6
CC_ASBR = 60
CC_ASCM = 61
CC_ASCO = 62
CC_ASDA = 63
CC_ASDM = 64
CC_ASDC = 65
CC_ASDN = 66
CC_ASDB = 67
CC_ASEQ = 68
CC_ASFM = 69
CC_MIKD = 7
CC_ASGN = 70
CC_ASDT = 71
CC_ASRV = 72
CC_ASSR = 73
CC_ASSZ = 74
CC_ASST = 75
CC_ASSP = 76
CC_ASTM = 77
CC_ASTC = 78
CC_ASTN = 79
CC_MPER = 8
CC_ASUR = 80
CC_ASYR = 81
CC_ASDK = 82
CC_ASUL = 83
CC_ASSU = 84
CC_ASSA = 85
CC_APLY = 86
CC_ABPL = 87
CC_APSO = 88
CC_PRSV = 89
CC_MCON = 9
CC_ARIF = 90
CC_MSAS = 91
CC_AGRP = 92
CC_AGAL = 93
CC_ASCP = 94
CC_PPRO = 95
CC_PASP = 96
CC_PFDT = 97
CC_PICD = 98
CC_PIMF = 99
class Dmap.ControlPlayState(value)

Bases: GObject.GEnum

STOPPED = 2
PAUSED = 3
PLAYING = 4
class Dmap.ControlRepeatState(value)

Bases: GObject.GEnum

NONE = 0
SINGLE = 1
ALL = 2
class Dmap.DbId(value)

Bases: GObject.GEnum

Special Dmap.Db ID values.

BAD = 0

the value which represents a bad Dmap.Db ID.

class Dmap.Error(value)

Bases: GObject.GEnum

Errors inside the libdmapsharing library.

classmethod quark()
Return type:

int

OK = 0
FAILED = 1
CLOSE_FAILED = 10
SEEK_FAILED = 11
NUM_ERRORS = 12
INVALID_CONTENT_CODE = 2
INVALID_CONTENT_CODE_SIZE = 3
RESPONSE_TOO_SHORT = 4
BAD_FORMAT = 5
BAD_BROWSE_CATEGORY = 6
RECORD_MISSING_FIELD = 7
DB_BAD_ID = 8
OPEN_FAILED = 9
class Dmap.MdnsBrowserError(value)

Bases: GObject.GEnum

classmethod quark()
Return type:

int

NOT_RUNNING = 0
FAILED = 1
class Dmap.MdnsPublisherError(value)

Bases: GObject.GEnum

classmethod quark()
Return type:

int

NOT_RUNNING = 0
FAILED = 1
class Dmap.MdnsServiceTransportProtocol(value)

Bases: GObject.GEnum

TCP = 0
LAST = 1
UDP = 1
class Dmap.MdnsServiceType(value)

Bases: GObject.GEnum

Enum values used to specify the service type.

INVALID = 0

an invalid service type

DAAP = 1

a DAAP service type

DPAP = 2

a DPAP service type

DACP = 3

a DACP service type

LAST = 4

an invalid service type

RAOP = 4

a RAOP service type

class Dmap.MediaKind(value)

Bases: GObject.GEnum

MUSIC = 1
MOVIE = 2
PODCAST = 32
TV_SHOW = 64
class Dmap.ShareAuthMethod(value)

Bases: GObject.GEnum

NONE = 0
NAME_AND_PASSWORD = 1
PASSWORD = 2