use relative paths for controller presets in mixxx.cfg

Bug #1586561 reported by RJ Skerry-Ryan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Confirmed
Low
Unassigned

Bug Description

We store absolute paths to presets in mixxx.cfg:

[ControllerPreset]
Numark_V7 /Users/rjryan/Library/Application Support/Mixxx/controllers/Numark_V7.midi.xml
SCS.3d /Users/rjryan/Library/Application Support/Mixxx/controllers/SCS.3d.midi.xml

If I move my profile directory (e.g. to a thumb drive) these will break! Instead, we should make the paths relative to the profile:

[ControllerPreset]
Numark_V7 controllers/Numark_V7.midi.xml
SCS.3d controllers/SCS.3d.midi.xml

Tags: controllers
RJ Skerry-Ryan (rryan)
tags: added: controllers profile
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Low
tags: removed: profile
Revision history for this message
Jan Holthuis (holthuis-jan) wrote :

How can we distinguish built-in mappings from user mappings then? This won't work with relative paths.

Revision history for this message
Be (be.ing) wrote :

I thought about that, but it would be possible to indicate whether a mapping is from the system folder or user folder explicitly without using the absolute file path. Someday I would like Mixxx to be able to run from a USB drive and using absolute paths in the config file like this would be an obstacle.

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8561

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.