Kodi Community Forum

Full Version: Container.SetSortMethod problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Have a problem with some of the latest svn builds. Container.SetSortMethod(1) which is to sort by name doesn't seem work in movies videolibrary. It works for other content though. However if I do Container.NextViewMode and cycle, it works fine. Can anyone confirm this is a problem?
I suspect it's because "Sort by name" isn't an option in the movies listing. You want sort by title in that case?
It used to work in the older builds. In any case as soon as I posted this something sparked in my brain and I figured it out. Funny how that works.

Turns out when I changed it to Container.SetSortMethod(23) it sorts by name now.