Module pdb

Source
Expand description

Parser for Pioneer DeviceSQL database exports (PDB).

The Rekordbox DJ software uses writes PDB files to /PIONEER/rekordbox/export.pdb.

Most of the file format has been reverse-engineered by Henry Betts, Fabian Lesniak and James Elliott.

Modules§

string
binrw-based implementation for DeviceSQLStrings capable of parsing and serializing DeviceSQLStrings

Structs§

Album
Contains the album name, along with an ID of the corresponding artist.
AlbumId
Identifies an album.
Artist
Contains the artist name and ID.
ArtistId
Identifies an artist.
Artwork
Contains the artwork path and ID.
ArtworkId
Identifies an artwork item.
Color
Contains numeric color ID
ColumnEntry
Contains the kinds of Metadata Categories tracks can be browsed by on CDJs.
Genre
Represents a musical genre.
GenreId
Identifies a genre.
Header
The PDB header structure, including the list of tables.
HistoryEntry
Represents a history playlist.
HistoryPlaylist
Represents a history playlist.
HistoryPlaylistId
Identifies a history playlist.
Key
Represents a musical key.
KeyId
Identifies a key.
Label
Represents a record label.
LabelId
Identifies a label.
Page
A table page.
PageIndex
Points to a table page and can be used to calculate the page’s file offset by multiplying it with the page size (found in the file header).
PlaylistEntry
Represents a track entry in a playlist.
PlaylistTreeNode
Represents a node in the playlist tree (either a folder or a playlist).
PlaylistTreeNodeId
Identifies a playlist tree node.
RowGroup
A group of row indices, which are built backwards from the end of the page. Holds up to sixteen row offsets, along with a bit mask that indicates whether each row is actually present in the table.
Table
Tables are linked lists of pages containing rows of a single type, which are organized into groups.
Track
Contains the album name, along with an ID of the corresponding artist.
TrackId
Identifies a track.

Enums§

PageType
The type of pages found inside a Table.
Row
A table row contains the actual data.