2012-12-29, 17:57
(2012-12-28, 22:54)Mudislander Wrote: @Martijn - I'll have time to check the script thoroughly tomorrow but ATM it looks like the script option "property=SomeMenuItemName" (used to be - "propertie=*****") Is not functioning as it used to.I have do the same with Aeon Nox 4.0 :
if I use the option "menu=******" I can get results to show up in the skin, however forcing the name with "property=*****" returns no results under the correct menu item name.
Two things I personally need from the script is the ability to force the menu name eg:property=HomePlayListOne and also the script being able to report back that the playlist used was for Movies,Episodes or Albums.
Cheers hey.
Edit By running
PHP Code:XBMC.RunScript(script.randomandlastitems,limit=10,method=Random,playlist=special://profile/playlists/video/Unwatched Movies.xsp,property=Menu1)
I need to enter
PHP Code:$INFO[Window(home).Property(PlaylistRandomMovieMenu1.8.Title)]
To get results but I need $INFO[Window(home).Property(Menu1.8.Title)]
In skin :
Code:
RunScript(script.randomandlastitems, type=Movie, playlist=special://profile/playlists/video/Parents.xsp, method=Latest, limit=10, unwatched=False, resume=False, property=SmartPlaylist1)
In script, I have change line 590/591 :
Code:
elif 'property=' in param:
PROPERTY = param.replace('property=', '')
Just to be sure, I have put some debug in log file :
Code:
if PROPERTY == "":
PROPERTY = "Playlist%s%s%s" % ( METHOD, TYPE, MENU )
print("##### PROPERTY SET TO DEFAULT", PROPERTY)
else:
print("##### PROPERTY SET TO ", PROPERTY)
And property is OK :
Code:
16:52:51 T:4416 NOTICE: ('##### PROPERTY SET TO ', 'SmartPlaylist7')
16:52:51 T:4916 NOTICE: ('##### PROPERTY SET TO ', 'SmartPlaylist1')