Skip to content

Add Rekordbox XML export#251

Open
Peter7896 wants to merge 1 commit into
Holzhaus:mainfrom
Peter7896:peter7896/rekordbox-xml-export
Open

Add Rekordbox XML export#251
Peter7896 wants to merge 1 commit into
Holzhaus:mainfrom
Peter7896:peter7896/rekordbox-xml-export

Conversation

@Peter7896

Copy link
Copy Markdown

This adds a first XML export path for device exports, built on the existing xml model rather than formatting XML by hand.

The export currently includes track metadata from export.pdb, beatgrid-derived TEMPO entries from ANLZ0000.DAT, cue and loop POSITION_MARK entries from ANLZ0000.EXT / ANLZ0000.2EX, and playlist folders/playlists when the device export contains playlist tree rows.

I also fixed the generated test templates to use raw path literals so the existing generated tests compile with Windows paths.

Checks run locally:

  • cargo fmt --all -- --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test
  • cargo run --quiet -- export-xml data/complete_export/demo_tracks _tmp_demo.xml
  • cargo run --quiet -- dump-xml _tmp_demo.xml

The bundled demo export has track metadata and beatgrids, but no playlist tree rows or cue entries, so the demo regression covers XML generation plus BPM/beatgrid output. Cue/hot-cue and playlist ordering are covered with focused unit tests. I do not have CDJ hardware available for the physical import check requested in the issue thread.

Refs #127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant