Script for Fanart Slideshow
#1
One of the coolest features of reFocus is on the homescreen when it displays your fanart in the background. Recently I did a clean install of an XBMC nightly version and had a mini-freak out when this didn't work. After some forum searching I learned that because of the new image caching features the Thumbnails/Video/Fanart directory no longer holds all of your fanart. Instead it is mixed in to the general Thumbnails/ directory structure along with all the other images.

I think for a lot of people who are doing Eden upgrades this hasn't been noticeable since the old Fanart directory still exists, it will just not continue to be added to. For new installs you won't see it at all. From what I can find there wasn't really a good fix for this, so I built one.

https://github.com/robweber/script.grab.fanart

On this project page you can download the script I came up with. It goes through all your Movies and TV Shows and uses the 'Fanart' tag available in the XBMC database to pull in a copy of the fanart to a directory. This can then be used for the image slideshow feature that reFocus, or any other skin, uses.

I'm not planning on submitting this to any addon repository, but I thought I'd share it for any reFocus fans that want to upgrade when Frodo arrives but don't want to lose this feature. If there is another workaround that anyone else has found please post it here as well. I'm not 100% sold on this but it's the best I could come up with. If you like this and want to run it on a schedule please check out another project I have going - https://github.com/robweber/cronxbmc - this is how I plan to run it on my system.
Reply
#2
This script looks to be just what I needed. Thank you!

Can you help with the expression to add to the cron.xml?

Thank you
Reply
#3
Something along the lines of this:
Code:
<cron>
<job name="Grab Fanart" command="RunAddon('script.grab.fanart')" expression="0 0 * * *" show_notification="true" />
</cron>

will run the script every day at 12am.
Reply
#4
Works perfect. Thanks again
Reply
#5
(2012-10-29, 23:10)robweber Wrote: I think for a lot of people who are doing Eden upgrades this hasn't been noticeable since the old Fanart directory still exists, it will just not continue to be added to. For new installs you won't see it at all. From what I can find there wasn't really a good fix for this
hmm.. have you checked the artwork organizer addon?
http://forum.xbmc.org/showthread.php?tid=109304

Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Script for Fanart Slideshow1