The current MythTV has a “movies” section on the information centre that reports cinema times for local cinemas.
The fetcher script that comes with Myth only services the USA, but a couple of people have written ones (both in Perl) that use Google’s ‘movie’ facility (http://www.google.com/movies?near=POSTCODE) and so they work (at least) in the UK. There’re two that I know of, and have downloaded, and twiddled with a bit to tidy up the output and cope with various bits of information that I’ve found can be missing.
Neither have an obvious webite to link to, so I’ll put my twiddled versions here as well for reference. (NB: both currently link directly to google.co.uk; this tidies up the cinema addresses for those in the UK. Change to your own local google).
The first (mentioned on the MthTV mailing list) is a rather cool bit of DOM parsing but which disappointingly didn’t work for me off the bat. It does now, but isn’t actually the most flexible of the two.
The second is a straightforward screen scraper that’s not as pretty, code wise, but certainbly does the trick. It’s the one I use at the moment.
Leave a Reply