rekordcrate icon indicating copy to clipboard operation
rekordcrate copied to clipboard

PDB Serialization Pt. 4, add reexport-pdb command

Open erictapen opened this issue 4 months ago • 4 comments

@summersamara and I worked a bit on the issue of PDB serialization. Our efforts are far from being mergeable, but we managed to generate PDB files containing tracks, that can be read by Rekordbox software.

This builds on top of https://github.com/Holzhaus/rekordcrate/pull/100.

For easier testing, we introduce the reexport-pdb command, that deserializes an existing PDB file and then serializes the internal representation again. Coming from Rekordbox generated databases this never results in indentical outputs, but we observed the result to be readable by Rekordbox. Also reexporting an already reexported file seems to return an identical file.

Originally we wanted to bring our commits in a shape compliant with CONTRIBUTING.md, but never got to it and now I thought it might be better to at least share our efforts for future experimentation than to let our progress bitrot on disk.

Looking forward to your feedback.

erictapen avatar Feb 26 '24 14:02 erictapen