AIMP Forum

AIMP for Windows => Вопросы / Questions => Тема начата: PODxt от Марта 24, 2022, 17:28:13

Название: Find missed files in Playlists based on tags?
Отправлено: PODxt от Марта 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)?
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Марта 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)
Название: Re: Find missed files in Playlists based on tags?
Отправлено: Artem от Марта 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
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Марта 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?
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Апреля 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.
Название: Re: Find missed files in Playlists based on tags?
Отправлено: Artem от Апреля 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.
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Апреля 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.
Название: Re: Find missed files in Playlists based on tags?
Отправлено: Artem от Апреля 17, 2022, 11:19:50
I need full information about the files: size, duration and content of file tags.
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Апреля 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!
Название: Re: Find missed files in Playlists based on tags?
Отправлено: Artem от Апреля 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?
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Мая 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.
Название: Re: Find missed files in Playlists based on tags?
Отправлено: Artem от Мая 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?

Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Мая 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 ;)
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Июня 21, 2022, 19:36:31
I don't know if you changed something in the algorithm but it now produces way more accurate results!
Название: Re: Find missed files in Playlists based on tags?
Отправлено: Artem от Июня 21, 2022, 21:26:17
No, I don't change it
Название: Re: Find missed files in Playlists based on tags?
Отправлено: PODxt от Июня 22, 2022, 14:47:44
Weird