INTERACT FORUM

Windows => Plug-in Development => Topic started by: Zoner on August 22, 2004, 03:14:33 pm

Title: Possible to tell how a playlist is sorted?
Post by: Zoner on August 22, 2004, 03:14:33 pm
Currently my CAV6.6 software uses the plus and minus buttons on the keypads to move to the next and previous artist in the current playlist.  This is great if your playlist is sorted by artist, but not so good if it's sorted by any other field.  It would be a lot more flexible if the plus and minus buttons moved to the next/prev sorted field value, but in order to implement that, I need to know which field the current playlist is sorted by.  Having browsed quickly through the documentation, I can't see any obvious way to do that.

Does anyone know if it's possible?
Title: Re:Possible to tell how a playlist is sorted?
Post by: Zoner on September 06, 2004, 03:49:24 pm
Not possible?
Title: Re:Possible to tell how a playlist is sorted?
Post by: Matt on September 10, 2004, 04:41:47 pm
The current playlist is always sorted by sequence.  The sort order of the sources that came together to make Playing Now aren't available.

I think you just need a function to scan a few possible fields and decide what field to skip on.  If the list looks shuffled, maybe just do a 'next track.'
Title: Re:Possible to tell how a playlist is sorted?
Post by: Zoner on November 07, 2004, 03:42:29 am
OK - thanks, Matt!