Quick Sign In:  

Forum: General Discussion

Topic: Different sorting to different folders

This topic is old and might contain outdated or incorrect information.

Is it possible to have different sorting to each folder?
In some folders I would like to sort on BPM, and some filter folders I would like to sort on Artist.
 

Posted Thu 21 May 15 @ 12:41 pm
locodogPRO InfinityModeratorMember since 2013
Two ways I can think of,
a custom button to go to your filter folder and set the sort order.

get_browsed_folder & param_equal "Filter Folder" ? goto_last_folder & browser_sort "Bpm" : browser_gotofolder "Filter Folder path" & browser_sort "Artist"

You'll have to flesh it out but that's the idea.

The other is a repeat_start script but I don't like constant constant scripts, I'm not sure if it will flipflop the order ascending/descending, if it does you just need to throw a global ($) variable as a flag somewhere in the script
var_equal "$ArtistFlag" 0 ? browser_sort "Artist" & toggle "$ArtistFlag" & set "$BpmFlag" 0 : nothing

repeat_start "brwsrSort" 500ms & get_browsed_folder & param_equal "Filter Folder" ? browser_sort "Artist" : browser_sort "Bpm"

again you may have to flesh it out for multiple filter folders.
 

Posted Thu 21 May 15 @ 1:12 pm
locodogPRO InfinityModeratorMember since 2013
Maybe filter folders should accept script.... maybe.
 

Posted Thu 21 May 15 @ 1:30 pm
VDJ RonPRO InfinityMember since 2010
 

Posted Thu 21 May 15 @ 2:18 pm
I would prefer not to having a custom button or script to do the trick in this case. I have ran out of custom buttons.. (Thanks Loco for your scripts)
Ron, I may check out this add-on ! Thanks! 👍
 

Posted Fri 22 May 15 @ 1:25 am


(Old topics and forums are automatically closed)