Skip to content

Python library to interact with Rekordbox collections. Originally created to display duplicates.

License

Notifications You must be signed in to change notification settings

KeelDev/rekordboxlib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rekordbox library for Python

Developed in Python 3.7, tested on macOS and Windows.

Provides some methods to parse Rekordbox XML collections.

Usage

Dependencies

This library relies on untangle to access the XML data

pip install untangle

Import and initalization

from rekorboxlib import Rekordbox

collection = Rekordbox('path_to_my_exported_collection.xml')

Finding duplicates

collection.list_duplicate_songs()

Output:

Duplicate: - HORN
TrackID: 66
file://localhost/Users/<userprofile>/Music/PioneerDJ/Sampler/OSC_SAMPLER/PRESET ONESHOT/HORN.wav  (2010816 bytes)
TrackID: 158
file://localhost/Users/<userprofile>/Music/PioneerDJ/Imported from Device/Contents/OSC_SAMPLER/PRESET ONESHOT/HORN.wav  (2010816 bytes)

List songs in alphabetical order

collection.list_sorted_songs()

Output:

 - HORN
 - NOISE
 - SINEWAVE
 - SIREN

Background

I created this to find duplicate entries into my Rekordbox collection, since this function is available in Rekordbox itself. Probably I'll add more methods in the future, this is a quick & dirty start.

TODO

  • GUI (Qt5)
  • add a duplicate checker for locations
  • add a spellchecker for Artists and Titles

About

Python library to interact with Rekordbox collections. Originally created to display duplicates.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%