Import DJ tracklists from Rekordbox
If you use Pioneer Rekordbox for DJing, you can import your tracklists automatically.
Export from Rekordbox
- Open Rekordbox
- Select the playlist(s) you want to export
- Go to File → Export Collection in xml format
- Save the XML file
Import to Astrolock
astrolock import rekordbox path/to/rekordbox.xml
This creates audio content entries with:
- Track titles and artists
- Timestamps (if available)
- BPM and key information
Tip
Run the import after each DJ session to keep your site updated.
What Gets Imported
| Rekordbox Field | Astrolock Field |
|---|---|
| Track Name | tracklist[].title |
| Artist | tracklist[].artist |
| BPM | bpm |
| Key | key |
After Import
You’ll still need to:
- Upload the actual audio file to
public/audio/content/{collection}/ - Add a cover image (optional)
- Write a description
Warning
The import creates content metadata only - you must add the audio files separately.
Example Output
After importing, you’ll have content like:
---
title: "Friday Night Mix"
tracklist:
- time: "00:00"
artist: "Daft Punk"
title: "One More Time"
- time: "05:32"
artist: "Basement Jaxx"
title: "Where's Your Head At"
bpm: 124
media:
name: "friday-night-mix"
collection: "mixes"
contentType: "audio"
contentExtension: "mp3"
---