If you want to test the new property Type, you just have to edit randomandlastitems.py code in the addon directory :
before :
Code:
def _setGeneralProperties ( _total, _watched, _unwatched ):
global PROPERTIE
global WINDOW
# Set window properties
_setProperty ( "%s.Count" % ( PROPERTIE ), str( _total ) )
_setProperty ( "%s.Watched" % ( PROPERTIE ), str( _watched ) )
_setProperty ( "%s.Unwatched" % ( PROPERTIE ), str( _unwatched ) )After :
Code:
def _setGeneralProperties ( _total, _watched, _unwatched ):
global PROPERTIE
global WINDOW
global TYPE
# Set window properties
_setProperty ( "%s.Count" % ( PROPERTIE ), str( _total ) )
_setProperty ( "%s.Watched" % ( PROPERTIE ), str( _watched ) )
_setProperty ( "%s.Unwatched" % ( PROPERTIE ), str( _unwatched ) )
_setProperty ( "%s.Type" % ( PROPERTIE ), TYPE )
I'll give it a test

Search
Help