rectifyer/script.trakt — pull request #141 by nate1280 (2013-07-12 14:54:49+00:00)
Title: Fixes and features

A couple of fixes and new features.

## New Features
- Ability to change default script action (between sync and manage lists), I can't use language IDs for this setting due to a bug in XBMC saving the string and not the language ID
- Add optional silent argument for triggering a sync, can be used in a scheduled task.

## Fixes
- Handle failure status properly when trakt.tv returns it as an error code
- Add a few debug lines
- Fix debug line for bad json response
- Fix for NoneType error on bad json response, needs testing.
- Remove filename in sanitizeMovieData function, this field was added when exclusions were extended to sync methods.

I'm still going through the code looking for other stuff, not ready for merge just yet.

Needs testing for the NoneType error on bad json response.

Will squash when ready for merging.