ActivateWindow to open Movies sorted by x?
#1
Hello,

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) - is this possible?
Reply
#2
Is this is the wrong forum?

I have tried to make a script, but cannot seem to get Container.Setsortmethod working but nothing happens:

Code:
import xbmc
import time

xbmc.executebuiltin("ActivateWindow(Videos,MovieTitles,return)")
time.sleep(2)
xbmc.executebuiltin( "Container.SetSortMethod(17)" )
Reply
#3
It is definitely in the wrong section of the forum. You put it in Windows Support, which is for support of the Microsoft Windows operating system. You should probably move it into the Skins section. You might get more responses there.
DEBUG log: http://kodi.wiki/view/Log_file/Easy
HTPC advice: http://mymediaexperience.com , http://lifehacker.com/5828747/how-to-bui...lete-guide
My HTPC: an Acer Revo RL80 Nettop PC:
Windows 10
Intel Core-i3-2377M @ 1.5GHz, 4GB DDR3 @ 665MHz, Intel HD3000
465GB SATA disk, DVD-RW, 1.8TB Seagate USB disk


Reply

Logout Mark Read Team Forum Stats Members Help
ActivateWindow to open Movies sorted by x?0