2013-11-14, 10:53
Hi, novice add-on developer here...
I'm working on a python script that updates a ListItem's database value.
I can, of course, call the script from a skin XML with RunScript(myscript, params), however I want this script to be called from the context menu, e.g. the user:
Also, if this is not possible - what would you suggest is the best place/way to add functionality that should be available for list-items?
Thanks
I'm working on a python script that updates a ListItem's database value.
I can, of course, call the script from a skin XML with RunScript(myscript, params), however I want this script to be called from the context menu, e.g. the user:
- enters VideoLibrary list
- highlights an item
- enters the context menu (press "c" for eg.)
- a new button exists for him to choose this new functionality I'm developing
- clicking this button will run the script, referencing the highlighted ListItem
Also, if this is not possible - what would you suggest is the best place/way to add functionality that should be available for list-items?
Thanks