rekordbox_set_list_manager.controllers.track_match#

Helper for applying a local Rekordbox match to a project Track.

Functions#

apply_track_match(track, local)

Apply local Rekordbox metadata to track.

Module Contents#

rekordbox_set_list_manager.controllers.track_match.apply_track_match(track, local)[source]#

Apply local Rekordbox metadata to track.

If local is None the match is cleared (status → UNMATCHED, all Rekordbox fields set to None). Otherwise each non-None field from local is copied and match_status is set to MANUALLY_MATCHED.

Parameters:
  • track (Track) – The streaming track to update in-place.

  • local (Track | None) – The local Rekordbox track to copy metadata from, or None to clear the existing match.

Return type:

None