2014-08-24, 11:20
Hello, posted this in Windows forum (which I gather is the wrong forum!)
I have a menu item which runs ActivateWindow(Video,MovieTitles,return). This just brings up the movie list sorted by whatever it was last sorted by.
I want to create other menu items to bring up the movie list but with the sort method specified (e.g. by year/ascending, by date added/descending etc)
I have tried to make a script, but cannot seem to get Container.Setsortmethod working - nothing happens:
I have a menu item which runs ActivateWindow(Video,MovieTitles,return). This just brings up the movie list sorted by whatever it was last sorted by.
I want to create other menu items to bring up the movie list but with the sort method specified (e.g. by year/ascending, by date added/descending etc)
I have tried to make a script, but cannot seem to get Container.Setsortmethod working - nothing happens:
Code:
import xbmc
xbmc.executebuiltin("ActivateWindow(Videos,MovieTitles,return)")
xbmc.executebuiltin( "Container.SetSortMethod(17)" )