Sorting in addons
#1
Hi, I'm doing some views for the Advanced Launcher Addon (modding shade) and I stumbled with a problem.

Can't figure where or how to code sorting, say sorting by genre or by name or by year. I'd also like to know if an addon or plugin in this case can check if XBMC has a global setting enabled (in this case ignore articles when sorting)

Thanks.
Reply
#2
You can sort your launcher items? Mine is disabled, I can only filter and change views. Same with confluence. Something changed in a newer version of ALA?
Reply
#3
Thats exactly what I'm looking for. Has been disabled forever as far as i remember
Reply
#4
fr500 Wrote:Thats exactly what I'm looking for. Has been disabled forever as far as i remember
When Advanced launcher pass a launchers listitem or a roms listitem to XBMC they are NOT sorted at all. It is XBMC which sort them alphanumerically. So it is to XBMC's developers to add this functionality.
Reply
#5
It's up to the addon to tell XBMC what sort modes make sense for the given list.

See addSortMethod.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
jmarshall Wrote:It's up to the addon to tell XBMC what sort modes make sense for the given list.

See addSortMethod.
Oupssss... ok... I will take a look to this parameter... Blush
Reply
#7
See It was good I asked Big Grin I thought it was up to the skinner, now I hope somebody answers about the ignore article sorting options so you don't have to implement it separately
Reply
#8
Yeah, always good to ask. Smile

Mine says it's sorting by date though .. odd, 'cause it's sorted by name.
Reply

Logout Mark Read Team Forum Stats Members Help
Sorting in addons0