Basic script to run addon
#1
I'm trying to write a two line script to execute a specific add-on:

Code:
import xbmc

xbmc.executebuiltin("XBMC.RunScript(script.tvtunes)")

Whenever I try and run this I get get a script error.

It's driving me mad. Where am I going wrong?
My fanart.tv & themoviedb.org accounts.

Image
Reply
#2
Without seeing the error, it's hard to be sure. Isn't the name of a module case sensitive? So instead of XBMC.RunScript would it be xbmc.RunScript?
Reply
#3
You're a saint.

That was it. I knew it would be something tiny.

Thank you, sir.
My fanart.tv & themoviedb.org accounts.

Image
Reply

Logout Mark Read Team Forum Stats Members Help
Basic script to run addon0