AIMP Forum

AIMP for Windows => Вопросы / Questions => Topic started by: verbal on October 14, 2021, 23:19:00

Title: Problem with sorting after the update
Post by: verbal on October 14, 2021, 23:19:00
Before the update I had all of my lists sorted correctly.
When I import an album I want it to be at the top of the playlist with songs ordered 1, 2, 3...
I still keep on getting new albums at the top but in the reversed order.. tried few options like I did before the update but unsuccessfully.. ???
(https://i.ibb.co/pjgvjR6/sort.jpg) (https://ibb.co/v4bx4QC)
Title: Re: Problem with sorting after the update
Post by: Artem on October 15, 2021, 09:13:13
I think you need to specify sorting template in 3rd step
Title: Re: Problem with sorting after the update
Post by: verbal on October 15, 2021, 09:21:09
I think you need to specify sorting template in 3rd step
.. so what is this sorting about?
I used sorting pattern which was working until the update.. now everything got upside down. I also tried sorting in the 3rd step but couldn't find the right pattern
Title: Re: Problem with sorting after the update
Post by: Artem on October 15, 2021, 09:29:31
.. so what is this sorting about?

This is sorting on database side.

I used sorting pattern which was working until the update.. now everything got upside down.

You cannot use this option before the update, because this is new feature of AIMP5.

I also tried sorting in the 3rd step but couldn't find the right pattern

Try this template:
%! %FileModifiedDateAndTime %TrackNumber
Title: Re: Problem with sorting after the update
Post by: verbal on October 15, 2021, 11:12:09
There was an option "Sort files after adding to playlist by template" even before this latest update, I'm quite sure I had all files sorted in order, and after the update, it's upside down...

If the files are sorted by a modification that means even rating can affect ordering because it modifies the file itself... what for instance if files were not downloaded in normal order?

Only 1st command under option "sort" gets the job half-done.. ''added"..
I get the latest albums at the top but in messed up order as you can see..

(https://i.ibb.co/4KkLMQr/modif.jpg) (https://ibb.co/fqJWtcw)

Another thing that I noticed a long ago is if I limit the playlist to a certain number of songs (in this case 1000) at the top of the playlist I get some old albums instead of the new ones despite the ordering command.

(https://i.ibb.co/sW5yHvH/modif2.jpg) (https://ibb.co/xFmJHSH)

So my goal is: to put the newest albums at the top the way how I imported them into ML and have them sorted by track number.. If I want to limit the playlist to a particular number of songs I just want old albums to be cut off.. so in this case, how can I have 1000 songs of the newest albums at the top in normal order?
Thanks
Title: Re: Problem with sorting after the update
Post by: Artem on October 15, 2021, 12:22:26
Please, can you share your settings? I will try to reproduce an issue with sorting on my side
Title: Re: Problem with sorting after the update
Post by: verbal on October 15, 2021, 17:47:37
Please, can you share your settings? I will try to reproduce an issue with sorting on my side

Just sent you in PM..
Title: Re: Problem with sorting after the update
Post by: Artem on October 19, 2021, 13:53:12
Keep the "Added" field alone at step2, it will sort the data from DB.

At step3 specify following template:
Code: [Select]
%! %FileModifiedDate %FileDir %TrackNumber

I am using the %FileModifiedDate macro instead of %FileModifiedDateTime (because each file has own time, so you will unable to sort the album at track number).

%FileDir macro is here to keep grouping by paths (albums?)

Title: Re: Problem with sorting after the update
Post by: Artem on October 19, 2021, 13:54:02
Additionally, note that the Added is date of adding file to the database, it may be differs from file modified date.
Title: Re: Problem with sorting after the update
Post by: verbal on October 30, 2021, 13:46:23
Thanks Artem, that was the actual pattern I was using before the update which I lost with the installation of the newest version.
Only instead of ModifiedDate, I was using CreatedDate

%!%FileCreatedDate %FileDir %TrackNumber

► Please could you explain how "The maximal count of tracks" option works?

If I use this sorting mentioned above I get the newest tracks at the top, but when I limit the number of songs in the list (mostly just to ease the processing of the player) I'm losing those albums at the top and at the same time there are no oldest albums at the bottom?
So how does this option actually work, when I limit the number of the songs does it cut songs from the top or bottom, or what's the algorithm?

► Another problem I've faced with version 5.00 is that during importing new files using "drag and drop", the process lasts way longer than in the previous version.

All processes during the import are off, so there is no searching for moved or deleted files nor reloading tags.. all that player has to do is to import the newest files.
Since I'm importing new albums on a daily basis I had to downgrade it to version 4.70 because of that.
Title: Re: Problem with sorting after the update
Post by: Artem on October 31, 2021, 12:49:05
If I use this sorting mentioned above I get the newest tracks at the top, but when I limit the number of songs in the list (mostly just to ease the processing of the player) I'm losing those albums at the top and at the same time there are no oldest albums at the bottom?
So how does this option actually work, when I limit the number of the songs does it cut songs from the top or bottom, or what's the algorithm?

Note, that music library pre-image two sorting stages:
1. Sort the data fetched from database
2. Sort the data after adding to playlist.

So, in you case, you need to sort the data on 1st stage.

Another problem I've faced with version 5.00 is that during importing new files using "drag and drop", the process lasts way longer than in the previous version.

https://www.aimp.ru/forum/index.php?topic=67829.msg417358#msg417358
Title: Re: Problem with sorting after the update
Post by: verbal on November 08, 2021, 03:16:59

https://www.aimp.ru/forum/index.php?topic=67829.msg417358#msg417358


Tried 5.00 previous build and today's build 2342... both of them won't import new songs using drag and drop while the last 4.7 version is importing files almost instantly... downgraded again.. :(
Title: Re: Problem with sorting after the update
Post by: Artem on November 08, 2021, 09:08:20
Make sure that app does not run as admin
Title: Re: Problem with sorting after the update
Post by: verbal on November 08, 2021, 17:30:16
Make sure that app does not run as admin

... checked, nah.. doesn't run as admin... just scanning forever..