I patched PluginMovieAllocine.py myself in order to cope with their new
API v3. It works for me, no error message.
(you may wish to see also my msg in g.c.m.g.user)
HTH
--
Cinï¿œphOli
Using Griffith v0.12.1 on Ubuntu 10.04 LTS
Le 31/03/2012 17:53, CinéphOli a écrit :
> Hi,
>
> I patched PluginMovieAllocine.py myself in order to cope with their new
> API v3. It works for me, no error message.
>
> (you may wish to see also my msg in g.c.m.g.user)
>
> HTH
>
I just found out on the web that Allociné shares the very same API (and
database structure!) with its sister sites Screenrush (UK,
screenrush.co.uk), Beyazperde (Turkish, beyazperde.com), Filmstarts
(German, filmstarts.de) and Sensacine (Spanish, sensacine.com).
For testing purposes, I did it the quick and dirty way, ie I copied and
pasted PluginMovieAllocine.py and simply replaced every occurrences of
allocine.fr with the domain names mentioned here above, keeping of
course the www.'s and api.'s as it is, then I adapted the "meta-info"
(site name, language,…) and saved of course under appropriate filenames
(doh!).
And… Voilà, it works, 4 new sites in various languages!
I didn't attach the files because a) it's quick and dirty, and b) it's
very easy to reproduce.
(From a programming point of view, I suppose it would be better to share
a common routine/object for all the retrievals of the json data, and
call that routine with a proper set of parameters to address the right
language version.)
It's also possible to go on the sites and retrieve the various logos to
display in Griffith.
HTH.
--
CinéphOli
Using Griffith v0.13 r1623 on Ubuntu 10.04 LTS
--
You received this message because you are subscribed to the Google Groups "Griffith devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to griffith-deve...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.