-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use relative paths for controller presets in mixxx.cfg #8561
Comments
Commented by: Holzhaus How can we distinguish built-in mappings from user mappings then? This won't work with relative paths. |
Commented by: Be-ing 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. |
I was going to create a new issue, but this one, AFAIU, relates directly to the bug. I've moved from a home dir Mixxx config with NAS music storage to a FAT32 USB with some music on the stick and a .bat (for FAT32 execution) that has a config and a music dir on the stick. When I click "Open User Mapping Folder" in the prefs with the stick config, it opens "/home/milk/mixxxdb/controllers/" which doesn't exist. |
Aah, my bad, I was using |
Reported by: rryan
Date: 2016-05-27T23:57:08Z
Status: Confirmed
Importance: Low
Launchpad Issue: lp1586561
Tags: controllers
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
The text was updated successfully, but these errors were encountered: