buges Wrote:Im having problems with the script loading my playlist. The playlist is there in xbmc & working perfectly.
Im using a hidden button to run:
"<onfocus>XBMC.RunScript(script.RandomAndLastItems,limit=10,method='Last',playlist='special://profile/playlists/video/1234.xsp','menu=Menu1')</onfocus>"
But I just get an error
Debug gives me:
"WARNING: CUtil::GetMatchingSource... no matching source found for ['special://profile/playlists/video/1234.xsp']"
"WARNING: XFILE::CFactoryDirectory::Create - Unsupported protocol('special) in 'special://profile/playlists/video/1234.xsp'"
Am i doing something stupidly wrong?
I have the same warning as you but script is OK and properties are displayed.
But I think you have made a mistake in your code :
<onfocus>XBMC.RunScript(script.RandomAndLastItems,limit=10,method='Last',playlist='special://profile/playlists/video/1234.xsp',
'menu=Menu1')</onfocus>
Right code should be :
<onfocus>XBMC.RunScript(script.RandomAndLastItems,limit=10,method='Last',playlist='special://profile/playlists/video/1234.xsp',menu='Menu1')</onfocus>