Se Connecter:     


Forum: General Discussion

Sujet: Different sorting to different folders

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

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.
 

Posté Thu 21 May 15 @ 12:41 pm
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.
 

Maybe filter folders should accept script.... maybe.
 

 

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! 👍
 



(Les anciens sujets et forums sont automatiquement fermés)