Quick Sign In:  

Forum: Old versions

Topic: Browser Sort Issues

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

Using the command browser_sort only seems to be sorting correctly in ascending order. Clicking on the column heading still has the desired effect. Another command to use? Or a bug?
 

Posted Sun 03 Jan 16 @ 2:27 am
PachNPRO InfinityMember since 2009
Put a - in Front of your column name, like:

browser_sort '-bpm'

That'll force a descending order.
 

Posted Wed 06 Jan 16 @ 3:11 pm
I want it to mimic the behavior of clicking on the column heading, where it switches between the two.

Don't want to have two keys mapped for all of this.
 

Posted Wed 06 Jan 16 @ 3:13 pm
PachNPRO InfinityMember since 2009
Did you try to press the button again?
 

Posted Wed 06 Jan 16 @ 3:17 pm
Yes. That's what I want to mimic with a keyboard command.

Don't like using the mouse for anything if it can be avoided.
 

Posted Wed 06 Jan 16 @ 3:18 pm
PachNPRO InfinityMember since 2009
You are right. That does not work.
In fact, the whole action does not work...

I'm going to report that as a bug.
 

Posted Wed 06 Jan 16 @ 5:02 pm
Thanks. It worked till a little bit ago.
 

Posted Wed 06 Jan 16 @ 5:03 pm
Just found this thread. I've been able to get every column sorted, with the exception of the RATINGS one, which for some odd reason sorts the wrong way around: from less to more... Even when placing the minus in front of "rating", it will not sort right.

It's a shame the combination of "sort by column" and "go to top" cannot be joined in one button... Or can it? Does anyone know of a VDJScript code to insert a tiny DELAY between commands?
 

Posted Sun 17 Jan 16 @ 9:38 am
PachNPRO InfinityMember since 2009
Maybe this works

Browser_sort bpm' & repeat_start "top" 50ms 1 & Browser_sort 'top'


I'm not sure if the browser_sort top part is correct syntax. But you will get an idea
 

Posted Sun 17 Jan 16 @ 3:16 pm
THANX for the inspiration PachN!

This works PERFECTLY:

<button action="browser_sort 'bpm' & repeat_start 'top' 50ms 1 & browser_scroll 'top'">

(with the exception of the RATING column, but that's a software bug/limitation)
 

Posted Sun 17 Jan 16 @ 10:07 pm
Was just thinking about this the other day... Gonna try it tonight.
 

Posted Sun 17 Jan 16 @ 10:16 pm
Don't like how it jumps to the top even when in the folder tree.
 

Posted Mon 18 Jan 16 @ 3:10 am
PachNPRO InfinityMember since 2009
Try it that way:

browser_window 'songs' ? browser_sort 'bpm' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : nothing

Now it shouldn't jump to the top if you are not in the songs list.
 

Posted Mon 18 Jan 16 @ 10:42 am
Cha ching! I love these forums...
 

Posted Mon 18 Jan 16 @ 10:47 pm
me 2!
 

Posted Tue 19 Jan 16 @ 8:19 am
RATING SORT now (in the latest version of VDJ8) works!

<button action="browser_window 'songs' ? browser_sort '-rating' & repeat_start 'top' 50ms 1 & browser_scroll 'top' : browser_window 'songs' & browser_sort 'rating' & repeat_start 'top' 50ms 1 & browser_scroll 'top'">
 

Posted Tue 19 Jan 16 @ 4:32 pm


(Old topics and forums are automatically closed)