mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.26k stars 1.24k forks source link

dialog to manually relocate Missing Tracks #8570

Open mixxxbot opened 1 year ago

mixxxbot commented 1 year ago

Reported by: kazakore Date: 2016-06-12T11:28:19Z Status: Confirmed Importance: Wishlist Launchpad Issue: lp1591677 Tags: library, usability


Sometimes I do some tidying of my files, this doesn't affect me when on changing tags as I can reload the data and it is taken by Mixxx but sometimes I also might change actual filenames. This causes the file to get relisted as a new entry with no BPM, Key or Cue Point information and the old copies shown in Missing Tracks. Sometimes it might also be attaining a higher quality or new version/mixdown of a tune with a slightly different name.

I would like an option to be able to (right) click on a single file within the Missing Tracks window and select Relocate Track, which would take you to a library view where you can search for the track (maybe first showing a handful of files that have some similar names/components saying search for Artist and Title and show the top few matches before giving an option to open the full library to search manually.) One you have located the track you can (right) click it and copy all the relevant information to it, then load it and check the cues etc are actually in the correct positions (in case the file is actually different.)

mixxxbot commented 1 year ago

Commented by: naught101 Date: 2018-01-05T03:32:28Z


It might also just generally be useful for have a right click -> metadata -> copy/paste all. Very useful for moved tracks, but potentially also useful for songs with variations (e.g. VIPs, club mixes, extended versions, or remixes within the same genre).

mixxxbot commented 1 year ago

Commented by: xeruf Date: 2018-12-16T15:36:14Z


Ooof this feature is so important and basic that I am in the process of writing an external helper that will modify the mixxxdb manually, since I do not yet have any experience of C++: https://github.com/Xerus2000/mixxxdb-kt

I would highly appreciate if you could simply implement this. It is no more than a few queries linked to a context menu entry.

mixxxbot commented 1 year ago

Commented by: naught101 Date: 2019-12-30T03:39:14Z


@xerus: I don't read Java/kotlin very well. What does your script actually do? Take the metadata from a missing Mixxx file in the DB and apply it to a new library entry?

arximboldi commented 1 year ago

I am stumbling on this issue.

I have realized, too late, that after moving some files Mixxx has re-added them to the data-base, instead of detecting them as "moves". I was under the impression that it would normally detect moves, but this is not the case here. I realize that it may be because the file is now in a "Music Directory" (a different one of the places in "Preferences -> Library -> Music Directory"). Can it be?

What can I do to get Mixxx to detect the moves and remove the duplicate entries? This is affecting lots of files that were already organized in playlists and crates and re-organizing them feels like a deep pain :cry: Any workaround would be helpful here.

arximboldi commented 1 year ago

Related: https://github.com/mixxxdj/mixxx/issues/9881

arximboldi commented 1 year ago

I just realized, there are some scripts I wrote ages ago to help with this kind of issue: https://github.com/arximboldi/mixxx-db-tools/

Running repath.py and dedupe.py from there did the job :smile:

ronso0 commented 1 year ago

@arximboldi Could you please (backup your settings & database) and try to reproduce with 2.4-alpha? See #11053

Russe commented 4 months ago

Are there any plans to implement such a dialogue to relocate tracks? I would like to have such a tool to do this manually for each missing track.

ronso0 commented 4 months ago

This is on my 'coffee break projects' list for some time already, read: I'm looking into this occassionally ; )

It looks like this is a bit bigger, we'd need to add an entirely new call chain (Library UI -> library -> TrckCollectionManager -> TrackCollection ...). IMO the requirements are

This is certainly feasible, but tbh it would be much better to figure why the track detection fails occassionally in the first place.

11053

Russe commented 4 months ago

OK, I understand that this is not an easy thing. For my issue, this would be helpful because of renamed and retagged files outside Mixxx. With this dialogue I could bring heavily updated metadata into Mixxx. Btw., is there a checklist around which steps needed to be done manually to relocate a renamed and retagged track with editing the sqlite database directly?

ronso0 commented 4 months ago

Btw., is there a checklist around which steps needed to be done manually to relocate a renamed and retagged track with editing the sqlite database directly?

... without editing the db?

Russe commented 4 months ago

width As far as I know, there's no way to do this without editing db.

ronso0 commented 4 months ago

If you only renamed files (not moved to another directory) you need to edit the respective lines in the _tracklocations table, location and filename IIRC