duplicate titles when using Symlinks in Library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I'm using build branch-1.12 r5411.
I have symlinked /home/user/Music/ to /mnt/data/Music.
I've set /home/user/
Some titles that I play in Mixxx 1.12 will be inserted a second time to my library with the path /mnt/data/Music/...
I can't at the moment reproduce when excactly this happens, but I now have multiple files two times in my library, once with path /home/... and once with /mnt/...
the one from /mnt/... is the newer one and mostly has some additional metadata (as album-artist) set. Maybe this could hint in the right direction.
Sometimes I noticed that titles will be analyzed when loading to a deck even if they have bmp and key attached. This could be issued by that.
Cheers,
Markus
Changed in mixxx: | |
milestone: | none → 1.12.0 |
importance: | Undecided → Medium |
Changed in mixxx: | |
assignee: | Uwe Klotz (uklotzde) → nobody |
milestone: | 2.0.0 → none |
status: | In Progress → Confirmed |
I see many invocations of QFileInfo: :canonicalFileP ath() in the code base which replaces symbolic links in the file path. But QFileInfo: :absoluteFilePa th() is also used which preserves symbolic links.
What is missing is a common function that normalizes file paths consistently instead of calling different Qt functions that are scattered all around.