trakt/script.trakt — pull request #159 by nate1280 (2014-02-18 01:26:46+00:00)
Title: Fix for when the lastplayed value is empty in XBMC movie json data

Needs to be quickly tested, but should work. Seen this crop up a couple times on the forums, so here is a fix for this.

## Changes
Check for last played value when loading movies from xbmc, only convert it if its present.
Add a try/catch when converting an sql date to a unix time stamp.