Skip to main content

Crate baken_export

Crate baken_export 

Source
Expand description

Device export for Bake’n Deck (baken expressport).

Writes a rekordbox-compatible USB export from collection.xml and the analysis files rekordbox keeps locally, without touching rekordbox’s database. Two phases like cdjsafe: plan resolves everything without writing, export writes.

Modules§

anlz
Analysis files (PIONEER/USBANLZ/.../ANLZ0000.{DAT,EXT,2EX}).
build
From the planned tracks and playlists to the export.pdb model.
collection
collection.xml (rekordbox “Export Collection in xml format”) to a typed model.
layout
Where audio goes on the stick: /Contents/<Artist>/<Album>/<file>, the way rekordbox lays it out. Names are FAT32-safe, stems are cut at 43 characters like rekordbox does, and collisions get a -1, -2 suffix.
pdb
export.pdb (DeviceSQL) writer.
settings
CDJ and DJM “My Settings”. rekordbox keeps the files it writes onto a stick as ordinary files in its settings directory, in the same format: 104-byte header (len_strings u8 + 3 pad, brand, rekordbox, version as 32-byte fields, len_data u32), payload, CRC16-XMODEM, two zero bytes. They are copied verbatim into PIONEER/ on the stick; an export without the three in REQUIRED is an error.
volume
What the stick is formatted as (issue #184). A player that cannot mount a stick shows no library at all, which looks exactly like a broken export, so plan says so before the first file is copied.

Structs§

Options
Plan
PlanTrack
Report
Skipped

Enums§

Error

Functions§

export
plan

Type Aliases§

Result