(Relative) Library Path

Bug #893242 reported by toomuch
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Wishlist
Max Linke

Bug Description

Why can't the lib path be a variable and the rest (relative path) be written to the lib? Everytime the drive letter changes or if I attach the harddrive to my network I have to fully rescan. That's not as it should be in my eyes. With the relative path it would work: %pathToLib%\Rock\Some Artist - Some Track.mp3.

Related branches

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Daniel Schürmann (daschuer) wrote :

We have to consider the following use cases:
1. Changing of library location due to drive letter change or mount change
2. Changing library location configuration, without moving files.

The current solution is focused on 2. , the proposed solution is focused on 1.

If the Library folder location changes, Mixxx has to check if it was case 1. case 2. or something in between.
Today, Mixxx should already be able to detect moved files. Maybe we simply have to speed up this.

Revision history for this message
toomuch (toomuch) wrote :

Okay, so let's pretend I would have set G:\Music as my lib path.
What happens if G:\ is already reserved by another device and the drive with my music gets drive H:\. Would changing the lib path from G:\Music to H:\Music be the right way to "reconnect" the lib to Mixxx? I made the experience that I have to do a full rescan.

Revision history for this message
Max Linke (max-linke) wrote :

I've added an option to really move the library to another directory. With this it is possible to change the drive letter in the settings and have your database ready without a rescan

Changed in mixxx:
assignee: nobody → Max Linke (max-linke)
Max Linke (max-linke)
Changed in mixxx:
status: Confirmed → In Progress
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

This is helped (but not totally solved) by Bug #952945.

Revision history for this message
Max Linke (max-linke) wrote :

This is actually solved now. We can relink the files and don't have to do a full rescan.

Even if we only would save the relative path the user would still tell mixxx where the drive is mounted now.

Max Linke (max-linke)
Changed in mixxx:
status: In Progress → Fix Committed
milestone: none → 1.12.0
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
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/6132

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.