mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.38k stars 1.26k forks source link

Sharing my custom tools for Mixxx and its library #12330

Open FrankwaP opened 9 months ago

FrankwaP commented 9 months ago

Hello! I've started a repo to regroup tools I use with Mixxx and its library: https://github.com/FrankwaP/mixxx-utils

Here are two interesting (hopefully) tools that I've written in Python:

fix_track_paths is a Python tool to fix the tracks paths, using the informations from your music player database (so far: Clementine). It is useful when the file has been renamed or if the track is now in another format (for example you wanted a better quality format and went from a mp3 to a flac file).

mixxx_to_rekordbox_xml does what it says and YES IT EXPORTS THE HOT CUES :-)

Hope they might help someone! :-)

FrankwaP commented 9 months ago

UPDATE: the mixxx_to_rekordbox_xml now exports the playlists, as well as the "beatgrids" ("TEMPO" field in rebordbox xml format if you have a constant tempo and hot cues.

I tested the workflow (Mixxx -> mixxx_to_rekordbox_xml -> import in Rekordbox -> export to USB key) yesterday and everything works fine!

merspieler commented 7 months ago

Hey, this seems interesting. I can't run Rekordbox tho cause I don't have windows. Is the Export to USB directly possible?

FrankwaP commented 7 months ago

Thanks for your interest @merspieler :-)

Sorry but there's no direct export.
From what I've read, using Wine/PlayOnLinux to run Rekordbox is possible EDIT using a few tricks to make it work. It is just not recommended for live mixing (performance mode), for real-time/latency concerns. But since we are only considering the export mode here, which is free to use and not relying on real-time, I considered it will not be a problem here. Also, since I do not own a CDJ to check my exports at home, using Rekordbox as a proxy is a good solution.

If you want a direct exporter, there's this solution I initially found: https://github.com/kimtore/rex
However, note that it does not export the beat grid and the hot cues (and maybe other things not mentioned in the README...). That was the motivation to develop this (Python) tool.

ronso0 commented 7 months ago

FYI, cross-posting from https://mixxx.zulipchat.com/#narrow/stream/109171-development/topic/export.20to.20rekordbox.20USB.20format

There already is this WIP rust library I worked on with @Swiftb0y: https://github.com/Holzhaus/rekordcrate/pull/100 We still need to finalize the serialization code though. If you want to help out, we'd be happy to take contributions If this works, we can integrate it into Mixxx.

merspieler commented 7 months ago

Thanks for sharing. (Wine, or rather proton, failed... tried that)

FrankwaP commented 5 months ago

@merspieler Apparently one needs a few tricks to make it work (which I haven't tried yet.)

merspieler commented 5 months ago

thanks for the hint... in the end, went with running it in a win server 2022 vm...