Relative folder paths
Posted: 19 Jan 2016, 12:59
I would like to be able to easily transfer/sync my collection between multiple computers. For example I may play on my laptop, but I prefer to organize my collection while sitting at my desk at my desktop computer where I have two large monitors.
The problem I keep running into is Cross DJ stores full paths to the media files which includes the drive letters, and I do not always want to store my collection in exactly the same location on both computers. Nor is it always easy or possible to create drives with the same letters. If I store a collection on an external USB drive, it does not always show up as the same drive letter. One computer may only have one C: drive, while on another the C: drive is a tiny SSD, but a lot more storage is available on a secondary D: or E: drive.
Yes it is possible to re-path all the files in a collection using the Relocate feature, but I'd rather not have to do this every time I switch between computers.
This could be solved by simply storing relative file paths in the collection.crossdb database rather then the full absolute paths.
https://en.wikipedia.org/wiki/Path_(computing)#Absolute_and_relative_paths
The problem I keep running into is Cross DJ stores full paths to the media files which includes the drive letters, and I do not always want to store my collection in exactly the same location on both computers. Nor is it always easy or possible to create drives with the same letters. If I store a collection on an external USB drive, it does not always show up as the same drive letter. One computer may only have one C: drive, while on another the C: drive is a tiny SSD, but a lot more storage is available on a secondary D: or E: drive.
Yes it is possible to re-path all the files in a collection using the Relocate feature, but I'd rather not have to do this every time I switch between computers.
This could be solved by simply storing relative file paths in the collection.crossdb database rather then the full absolute paths.
https://en.wikipedia.org/wiki/Path_(computing)#Absolute_and_relative_paths