pyrekordbox.anlz.tags#

exception pyrekordbox.anlz.tags.StructNotInitializedError[source]#

Bases: Exception

Raised when a struct is not initialized.

exception pyrekordbox.anlz.tags.BuildTagLengthError(struct, len_data)[source]#

Bases: Exception

class pyrekordbox.anlz.tags.AbstractAnlzTag(tag_data)[source]#

Bases: ABC

Abstract base class for struct handlers of Rekordbox analysis files.

type#
name#
LEN_HEADER = 0#
LEN_TAG = 0#
property content#

!! processed by numpydoc !!

check_parse()[source]#
parse(tag_data)[source]#
build()[source]#
get()[source]#
set(*args, **kwargs)[source]#
update_len()[source]#
pformat()[source]#
class pyrekordbox.anlz.tags.PQTZAnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Beat grid struct handler.

type = 'PQTZ'#
name = 'beat_grid'#
LEN_HEADER = 24#
property count#

!! processed by numpydoc !!

property beats#

!! processed by numpydoc !!

property bpms#

!! processed by numpydoc !!

property bpms_average#

!! processed by numpydoc !!

property bpms_unique#

!! processed by numpydoc !!

property times#

!! processed by numpydoc !!

get()[source]#
get_beats()[source]#
get_bpms()[source]#
get_times()[source]#
set(beats, bpms, times)[source]#
set_beats(beats)[source]#
set_bpms(bpms)[source]#
set_times(times)[source]#
check_parse()[source]#
update_len()[source]#
class pyrekordbox.anlz.tags.PQT2AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Extended (nxs2) beat grid struct handler.

type = 'PQT2'#
name = 'beat_grid2'#
LEN_HEADER = 56#
count = 2#
property beats#

!! processed by numpydoc !!

property bpms#

!! processed by numpydoc !!

property times#

!! processed by numpydoc !!

property beat_grid_count#

!! processed by numpydoc !!

property bpms_unique#

!! processed by numpydoc !!

check_parse()[source]#
get()[source]#
get_beats()[source]#
get_bpms()[source]#
get_times()[source]#
get_beat_grid()[source]#
set_beats(beats)[source]#
set_bpms(bpms)[source]#
set_times(times)[source]#
build()[source]#
class pyrekordbox.anlz.tags.PCOBAnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Cue list struct handler.

type = 'PCOB'#
name = 'cue_list'#
LEN_HEADER = 24#
class pyrekordbox.anlz.tags.PCO2AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Extended (nxs2) cue list struct handler.

type = 'PCO2'#
name = 'cue_list2'#
LEN_HEADER = 20#
class pyrekordbox.anlz.tags.PPTHAnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Path struct handler.

type = 'PPTH'#
name = 'path'#
LEN_HEADER = 16#
property path#

!! processed by numpydoc !!

get()[source]#
set(path)[source]#
update_len()[source]#
class pyrekordbox.anlz.tags.PVBRAnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

VBR struct handler.

type = 'PVBR'#
name = 'vbr'#
LEN_HEADER = 16#
LEN_TAG = 1620#
get()[source]#
class pyrekordbox.anlz.tags.PSSIAnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Song structure struct handler.

type = 'PSSI'#
name = 'structure'#
LEN_HEADER = 32#
class pyrekordbox.anlz.tags.PWAVAnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Waveform preview struct handler.

type = 'PWAV'#
name = 'wf_preview'#
LEN_HEADER = 20#
get()[source]#
class pyrekordbox.anlz.tags.PWV2AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Tiny waveform preview struct handler.

type = 'PWV2'#
name = 'wf_tiny_preview'#
LEN_HEADER = 20#
get()[source]#
class pyrekordbox.anlz.tags.PWV3AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Waveform detail struct handler.

type = 'PWV3'#
name = 'wf_detail'#
LEN_HEADER = 24#
get()[source]#
class pyrekordbox.anlz.tags.PWV4AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Waveform color preview struct handler.

type = 'PWV4'#
name = 'wf_color'#
LEN_HEADER = 24#
get()[source]#
class pyrekordbox.anlz.tags.PWV5AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

Waveform color detail struct handler.

type = 'PWV5'#
name = 'wf_color_detail'#
LEN_HEADER = 24#
get()[source]#

Parse the Waveform Color Detail Tag (PWV5).

The format of the entries is:

f e d c b a 9 8 7 6 5 4 3 2 1 0

│ red │ green │ blue │ height │00 00│

class pyrekordbox.anlz.tags.PWV6AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

PWV6 struct handler.

type = 'PWV6'#
name = 'PWV6'#
LEN_HEADER = 20#
class pyrekordbox.anlz.tags.PWV7AnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

PWV7 struct handler.

type = 'PWV7'#
name = 'PWV7'#
LEN_HEADER = 24#
class pyrekordbox.anlz.tags.PWVCAnlzTag(tag_data)[source]#

Bases: AbstractAnlzTag

PWVC struct handler.

type = 'PWVC'#
name = 'PWVC'#
LEN_HEADER = 14#