AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: Biff on March 30, 2022, 15:54:26

Title: Show duplicates in the playlist before removing them automatically?
Post by: Biff on March 30, 2022, 15:54:26
Before Aimp removes the duplicates, is there a way to show them to decide which ones of the duplicates shall be deleted? Can they be marked / selected or so?
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Artem on March 30, 2022, 18:22:08
No, but reason for? The function removes just entries with same path
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Biff on March 31, 2022, 09:47:10
Because one can then decide which of the duplicates to remove. Say one has complete albums in the playlist and single files. Then you wanted to remove only the dups of the single tracks (not the ones in the albums even if there was dups).

Or radisostations in a playlist categorized and you add new ones (which are not catogorized), then you wanted only the dups of the new ones being not categorized be removed.

Etc.
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Artem on March 31, 2022, 10:38:25
Player removes duplicated links to SAME files. It mean, that one file has been added to playlist twice or more times
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Biff on March 31, 2022, 14:31:28
Yes, yes, sorry, but what do you mean by that?
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: sveakul on March 31, 2022, 21:25:22
It means that the only tracks AIMP considers duplicates on a playlist are those that have exactly the same filename AND exactly the same path;  for example, these two would be considered duplicate entries on a playlist:

c:\music\Witch of the Vale - The Way This Will End.flac
c:\music\Witch of the Vale - The Way This Will End.flac

These two would NOT be considered duplicate entries:

c:\music\Witch of the Vale - The Way This Will End.flac
c:\music\doom gaze\Witch of the Vale - The Way This Will End.flac
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Biff on March 31, 2022, 23:30:29
Yes, OK, thank you. I understand.

But what it the context to this (or am I missing anything?):

Quote
Because one can then decide which of the duplicates to remove. Say one has complete albums in the playlist and single files. Then you wanted to remove only the dups of the single tracks (not the ones in the albums even if there was dups).

Or radisostations in a playlist categorized and you add new ones (which are not catogorized), then you wanted only the dups of the new ones being not categorized be removed.

Etc.

How couldI achieve to keep those dups I want to keep?
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: sveakul on March 31, 2022, 23:58:54
When AIMP finds duplicates on a playlist, it's not even looking at "files" per se, it's looking at a text file path inside the .aimppl4 playlist file.  If it finds a duplicate path to the same filename there (as in my example in last post), it deletes that text entry in the playlist, so it no longer shows up twice in the playlist GUI.  It is not deleting an actual file, just a line of text.
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Biff on April 01, 2022, 10:17:03
Yes, OK.

Suppose there are 100 radio stations (not having any duplicates) in the playlist, all of them sorted by genres. E.g. "Ambient", "Jazz", "Rock" etc. Now you add 50 radios stations (not categorized), e.g. at the beginning of the playlist. And now you want the dups in the playlist to be find to remove them. But you do not want dups of the already categorized stations being removed but only the ones of the newly added 50 stations. So you do not want Aimp to decide which of the dups will be removed. Is there a way to achieve that?
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: gr-e on April 01, 2022, 11:40:37
Just move the uncategorized tracks to the end of the playlist
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Biff on April 01, 2022, 19:40:50
Whatfor?
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: gr-e on April 01, 2022, 20:12:54
The first occurrence of a track is kept, the other duplicates are removed. Therefore you should put your sorted music at the top if you want it untouched.
Title: Re: Show duplicates in the playlist before removing them automatically?
Post by: Biff on April 02, 2022, 09:58:55
Okay, thank you.