trakt/script.trakt — pull request #167 by nate1280 (2014-04-26 13:24:24+00:00)
Title: Handle a potential crash caused empty data crash

Check if data returned from XBMC is empty, indicates invalid ID, if it is, stop scrobbling the episode. Should fix potential crashes if rating is enabled and data is empty.