dylanljones / pyrekordbox

Inofficial Python package for interacting with the database and other files (XML, ANLZ, MySettings) of Pioneers Rekordbox DJ software
https://pyrekordbox.readthedocs.io/en/latest/
MIT License
181 stars 24 forks source link

Import tracks from XML in to rekordbox 5 collection #80

Closed laker-93 closed 1 year ago

laker-93 commented 1 year ago

First of all, thanks a lot for this package! This is not a feature request for pyrekordbox but just wanted to ask if anyone knew of a way to achive the following.

I've created an app that uses this package to make a rekordbox xml from tracks on disk. I then import the created rekordbox xml in to rekordbox. I'd then like to import the tracks and playlist structure from the XML in to rekordbox's collection. As far as I know, rekordbox only has a export to xml option, not an import from xml one. Any idea how I can do this?

In the attached image I want to import the highlighted 'rekordbox xml' in to the collection.

image
JOJ0 commented 1 year ago

Just wild guessing because afk, but does right clicking on playlists foo and bar offer anything helpful for importing?

laker-93 commented 1 year ago

I did try that but it didn't work. Realise now that was because the file paths in the XML were incorrect. Fixed that and it now works. Thanks. Closing this issue.