Update the regex to match the whole title of the video being watched

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Improve eagerness of the purge of the cache before sending a new command

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Add traceback in logs for error and debug messages

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Use the tvdb API instead of tvrage as more information are available for the shows

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Change the syntax used to initialize the video dict

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Use IMDB ID to send information to Trakt.tv

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>