-
-
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
Playlists should preserve track titles even when audio files are gone #14161
Comments
Hi,
If you configured your library as 1 directory you need to move the complete directory to the new location in order to let Mixxx relocate your tracks. |
Ill try your recommendations |
I just tried to reproduce this problem, and I'm having difficulty. I added a folder to my library, and rescanned the library. The new folder just has 20 tracks or so that weren't already in the library. I created a playlist that contained the 20 tracks. I then renamed the folder with the 20 tracks, so that Mixxx couldn't find it. The tracks were still in the playlist, and also in the library, even though I couldn't load them. I then rescanned the library, and the tracks disappeared from the library, but they were still in the playlist, but I still couldn't play them because I hadn't relinked the folder yet. Then I relinked the folder, and the playlist plays just fine. So, I'm trying to figure out how to make the tracks in the playlist disappear as a result of moving the underlying files. As I see it, everything works fine (this is version 2.5.0 on Windows). |
I have found that the playlist is only altered if I remove the folder from the library and delete the track metadata. This appears to remove the tracks from the playlist. But a mere rescan of the library, even though it removes the tracks from the library itself leaves the playlist unchanged, and therefore salvageable by using the Relink button in the library. |
How exactly did you do that and how will Mixxx know about the new file locations? I think in both cases Mixxx should detect moved tracks (new track has same duration (+- 1 sec) and same |
I think I missed to mention an important step: I removed all tracks from the library. That might have been my mistake However, I would expect playlists to remain intact even if I remove one of it's or even all tracks from my library |
Uhhh, so you hit Purge in Tracks and/or Missing? |
Yes, that is what I was doing To me, the library and the playlists are two completely different areas of the program |
Hmm, I see. |
So, then, just to clarify (please tell me if I'm wrong): The Tracks database refers to files, and all the other views including playlists and crates refer to the Tracks database. And Mixxx doesn't maintain dangling references from any view into the Tracks database. If a track is removed from the Tracks database, references to it from other views are removed. The only dangling references MIXXX maintains are from the Tracks database to the underlying files. These dangling references can be fixed up with the Relink feature. |
Yes. Tracks shows all tracks whose files exist. Missing lists all tracks whose files were not found, Hidden all tracks that were hidden (note the inconsistency: permanently removed from playlists, still in crates but invisible)
Actually moved or renamed files should be discovered by a rescan. If you moved entire directories anywhere outside the watched directories, you need to relink. |
That's interesting. How do you tell that a renamed/moved file is the same file? Do you keep a hash of the file's contents? |
I was wrong: the scanner cleanup only checks if file name and duration (+- 1 sec) are identical. mixxx/src/library/dao/trackdao.cpp Line 1817 in 052a9c8
IIRC using the file hash has been discussed but dismissed since that would mean to hash every file in question during the scan whichis expensive. |
Feature Description
I had to offload a lot of music to external SSD because my internal SSD was full
Now all the tracks are missing in my old playlists
I want to see what tracks were in those playlists in what order so I can rebuild them
The text was updated successfully, but these errors were encountered: