Lovefilm Filmstream Plugin for WordPress

Something I’ve thought I’d like to have on my site for a while is a list of movies that I’ve recently seen and some brief opinions on them. I’m not entirely sure how I would go about this for films I see at the cinema, or whether I could muster the stamina to review every single film I’ve watched, but a recent television upgrade has now meant I’ve got the opportunity to do this.

Our television came with a years subscription to lovefilm, which means I can now track our past film watching history. At four blu rays a month, that’s quite a lot of films over the course of the year.

Love Film have recently opened up their doors with an api and developer area (which unfortunately is not particularly active at the moment). Anyway – their documentation is pretty thorough and has made the process of creating a wordpress plugin to display my past rentals really simple. You can see some example output of it on my site over here.

You can grab the plugin over here. It’s authenticated by oauth (for which you’ll require php on your blog host to be compiled with oauth enabled) and so will bounce you over to lovefilm to ask for access to your account, but after that will update on a daily basis. Just click “Fetch Items” on the filmstream admin page and stick <!--filmstream_content--> in any page to display a table containing all your past rentals. There’s no options to speak of right now, but I’m sure I’ll be extending it in the future.

4 comments so far

  1. I think a quick moment to absorb a film and write something (even 1-2 sentences) is an excellent thing to do, rather than uncritically letting them flow past.

  2. Ian

    Yeah, if nothing else its a nice way of tracking what I’ve viewed over the course of a year!

  3. I tried to install the plugin and it said this:

    “Fatal error: Class ‘OAuth’ not found in /var/www/vhosts/ on line 144″

    I’m sort of useless when it comes to things like this, it would be great if you knew what it meant because I have no actual clue!

  4. Ian

    Hi Jeff. You need to have php compiled with oauth enabled. That’s pretty non-standard on most web hosts, so unless you’re running your own server, you most likely won’t be able to make use of it.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>