Kodi Community Forum

Full Version: Skin fanart background addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wonder if someone can tell me what I am trying to do is possible,

I want to show fanart from my movies as a background in my skin, as it was possible in pre-frodo. I know that all fanart is now stored in the database, and I don't like the idea of exporting it as i would like to save hdd space.

So, what I propose is to create a service that will run every 20-30 sec that will grab a random fanart from json-rpc and populate a property of a window, my question is;

Is this a good way?
What can I do to make it work for all windows?

Any comment/feedback would be greatly appreciated,
What skin are you using? A lot of skins have this as a feature. Aeon NOx comes to mind.
This is a mod of confluence that I am developing,

Will check out Aeon Nox see what it does, thanks for the tip

On a separate note I found that I could do:

window = xbmcgui.Window(xbmcgui.getCurrentWindowId())
to get the current window to change the background
looking at how aeon does it, it uses service.skin.widgets

So will try there way Smile before I reinvent the wheel

thanks for the top htpc guy
Take a look at the script.grab.fanart addon by robweber. It's still on development and supports only Video fanart atm but it works fine.

Cheers
Nessus
Thanks, I had, but from what it looks like the script is caching locally - i want to avoid this as I am limited in space on device.

My idea is to: run a service that will grab a random/latest fanart and set it to property of window (similar to what skin.widgets does)

or

Run a service to cache (10-20 fanart at a time), show, delete, cache, etc - so to only consume small amount of hdd space

What do you think?
I have no idea. Post it here as an issue and maybe robweber can help.

Cheers
Nessus
can someone help me with a grabber for movies?
Or just write a script that deletes rhe cache?