Kodi Community Forum

Full Version: [NOOB] Unobtrusive, directed advertising script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my first foray into XBMC development, and I hope this community is welcoming because I would like to work on it in the future.
I'm attempting to write what I expect to be a simple enough script. I want the ticker to display advertising for TV Shows that are in the user's library. I plan on getting the advertising from Amazon's affiliate program's API at some interval. Right now I just have a basic "Hello World" notification that I managed to scavenge off of another addon's file structure.

From my research, I've learned that I need to use JSON-RPC to access the user library. What should I be importing? I'm currently importing xbmc.python and xbmc.json.

Is there a way to display through the ticker instead of the RSS Feed? Or would it just be simpler to change the RSS Feed?

Thank you.