2011-10-16, 19:46
el_Paraguayo Wrote:I'd think that it's possible!
2 methods spring to mind:
1) Easiest: What's the method for pulling up the random fanart? Is the name of the movie stored anywhere? Or is it just a multiimage control pointing to a fanart folder? If it's the former, nice an easy and shouldn't need a script, if the latter then let's look at option 2...
2) Harder: Get the name of the fanart and do reverse lookup in movie database. Would need a script, but not a complex one. I could probably build the functionality into the randommovie script.
Ok. I've done #2 - I've added a bit to the randommovie script (which I may need to rename as the script's functionality grows). It takes the fanart path and looks it up and plays the appropriate movie.
NB, this just works with the main fanart attached to a movie (i.e. it won't work with extrafanart).
Also, this is (pre-)Eden only. Getting to work on Dharma is probably possible but a bit more complicated. Depends on the demand from users I guess.
Lastly, I only said this option was 'harder' so that, once I'd done it, everyone would think I was amazing...