AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: PODxt on March 24, 2022, 17:28:13

Title: Find missed files in Playlists based on tags?
Post by: PODxt on March 24, 2022, 17:28:13
Hi, I have a lot of missing files in my playlists due to moving files around on the hard drives. The Find Missing Files feature could be handy but it does not match files correctly most of the time and switches one track for another completely different (see screenshot).

Maybe I'm not using this tool right, I'm just clicking on Search and select my whole Music folder.

Is there a way to configure how it finds the missing files like a search based on relevance (file name + tags + folder names etc)?
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on March 24, 2022, 17:35:39
Also, some found files should be marked as 100% match instead of 69 or even 35 because they have the exact same file name. Only one folder name changed. I find this quite odd.

(see screenshot)
Title: Re: Find missed files in Playlists based on tags?
Post by: Artem on March 25, 2022, 09:24:50
Find missed files, uses all data about the file: tags, file name, duration, file size. Score is degree of coincidence
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on March 25, 2022, 17:04:07
Thanks Artem, is there a way to refine the search in the Options or somewhere else? I can't really use this feature as it is unfortunately, there are too much wrong matches. Maybe remove the folder structure from the relevance score?
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on April 13, 2022, 16:34:01
I really hope this feature will get some major improvements for the next AIMP versions because it could be very useful.
Title: Re: Find missed files in Playlists based on tags?
Post by: Artem on April 13, 2022, 21:49:16
Maybe remove the folder structure from the relevance score?

Folder structure does not affect on it.
Please, provide an example with wrong matches.
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on April 16, 2022, 22:48:00
You can see from the screenshots I posted in my 2 first messages that track with the exact same file name but different folder structure (I only added the date) do not get a 100% match.

But this is not the most inconvinient thing (I can live with a 69% relevance), as the tool creates a lot of 100% wrong matches and there's no way to easily correct them. You have to point out manually to the right file so if you have 100 missing files in a playlist, you would have to browse 100 times to the correct files which can be a bit time consuming.
Title: Re: Find missed files in Playlists based on tags?
Post by: Artem on April 17, 2022, 11:19:50
I need full information about the files: size, duration and content of file tags.
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on April 29, 2022, 14:46:43
As you can see on this screenshot, AIMP only gave me file replacement suggestions from the _NEW MUSIC folder although I specified the whole drive.

2-Music\James Bond\ folder does not exist anymore but there is a 2-Music\_NEW MUSIC\Best of Bond - 50 Years - Disc 1 that can match the missing files better. Everything is tagged properly but album name and year will differ. See screenshot for Diamonds Are Forever properties.


2-Music\Divers\Oldies folder still exists but the file doesn't, you can find a different version (same song but different file size) in another folder 2-Music\Beavis And Butthead Do America OST (1996)\12-engelbert_humperdinck-lesbian_seagull-eos.mp3 with the same title tags (see screenshot) as the one that got deleted.

In these cases, the files were missing because they were replaced by another encoding version so file size is different but the tags are the same except maybe album title and year. Song Title and Artist or Contributing Artist are the same.

Maybe it would be better to give relevance priority to the song title and artist/contributing artists tags?

Hope this helps, thanks!
Title: Re: Find missed files in Playlists based on tags?
Post by: Artem on April 29, 2022, 16:02:46
album title and year. Song Title and Artist or Contributing Artist are the same.

Album title and year make the things here! Because different releases may have different version of songs! Key data are title, album, artist, year and duration.

file size is different

What about duration? Is it differs too?
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on May 16, 2022, 15:34:58
The duration may differ from 2 seconds top but I don't think it was actually different.

Album title and year make the things here! Because different releases may have different version of songs! Key data are title, album, artist, year and duration.

I understand but this system gives a lot of false positives and there are way more chances that files with the same song title + artist are actually the same than one with completely different tags in every label like I had in my results.

It's also easier to correct different releases of the same track because it shouldn't occur that much.
Title: Re: Find missed files in Playlists based on tags?
Post by: Artem on May 16, 2022, 15:53:40
The duration may differ from 2 seconds top but I don't think it was actually different.

So, these files are not same, are not it? Duration is one of major keys that affects to matches.

this system gives a lot of false positives

In your case, you take no results instead of false-positives.
Anyway, what algorithm you suggests?

Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on May 21, 2022, 18:36:22
Maybe something relying more on song title and artist name tags? And then on Album name, year, file size, file duration etc? Because yes, the system as it is works for 2 identical files but when the file has either been reencoded, got a change in the title tag (even if it's just 1 character), in the Album name, year, etc I've never seen the suggestions to give good results.

I don't know, I'm just a user who would like to benefit from this Missing file feature ;)
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on June 21, 2022, 19:36:31
I don't know if you changed something in the algorithm but it now produces way more accurate results!
Title: Re: Find missed files in Playlists based on tags?
Post by: Artem on June 21, 2022, 21:26:17
No, I don't change it
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on June 22, 2022, 14:47:44
Weird
Title: Re: Find missed files in Playlists based on tags?
Post by: PODxt on September 14, 2022, 23:57:27
Still having issues with this. I had to reencode a large portion of my mp3 library (several GB) because some of the files had poor encoding (<192Kbps).

Now since the file size has changed, AIMP can't locate the right file even though it's in the same folder as before, contains the song title in the file name and has probably the same ID3 tags... This makes the process a bit of a PITA.

Example with the track Garbage - A Stroke of Luck missing from the playlist. There's literally a file named "06. A Stroke of Luck" in the same folder but AIMP refuses to take it into account.

It would be nice to have this revised.
Title: Re: Find missed files in Playlists based on tags?
Post by: Artem on September 15, 2022, 08:37:44
There's literally a file named "06. A Stroke of Luck" in the same folder but AIMP refuses to take it into account

This happened because filenames are different:
  Garbage - Garbage - 06 - A Stroke Of Luck
and
  06. A Stroke Of Luck

What about tags and duration? Are these differs too?
I need full information to improve algorithm:
Old file duration / New file duration
Old file name / new file name (ok, it I see)
Old file size / new file size
Old song album / new song album (from tags)
Old song artist / new song artist (from tags)
Old song year / old song year (from tags)
Old song genre / old song genre (from tags)
Old song title / old song title (from tags)
Title: Re: Find missed files in Playlists based on tags?
Post by: erzqy on December 30, 2022, 06:25:30
There is a ways to set the "Algorithm" or Matching rules that we could use or just ignore it ?

i.e. options :
- Based on Filename match only
- Duration
- Regex
- List-box similar result for 1 missing file

My case is it matched different file with same duration.
Title: Re: Find missed files in Playlists based on tags?
Post by: thaleszop on January 23, 2023, 11:34:56
Download, install and launch Music Tag.
Add the tracks that you wish to obtain tag data for to Music Tag.
Select one or more of the added tracks and click "Download Missing Info".
Review the tags that are downloaded. Music Tag may often find multiple matches for a track and lets you choose which one you wish to use. roblox toy codes (https://techzpod.com/roblox-toy-codes/) mobdro (https://get-mobdrovip.com)