stigger / trakt-for-appletv

Trakt.tv scrobbler for Apple TV
49 stars 7 forks source link

KeyError: itunes #14

Closed wolverine30008 closed 3 years ago

wolverine30008 commented 3 years ago

Hi Stigger,

Hoping you can help. Looking at the terminal log - KeyError: 'iTunes' is shown at the bottom of the log when starting to watch a tv show through the tv shows standard app and ATV app.
Can you assist? Appreciate the help. Thanks

Authorization code: 599D1464 Enter code displayed by Apple TV: 0124 ready! Exception in thread Thread-1: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 96, in Thread(target=lambda: inner()).start() File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 93, in inner handler(operation, progress) File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 141, in handle_tvshows season_number, episode_number = self.get_itunes_title(self.now_playing_metadata.contentIdentifier) File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 167, in get_itunes_title known = self.config['itunes']['titles'].get(contentIdentifier) KeyError: 'itunes'

Exception in thread Thread-2: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 96, in Thread(target=lambda: inner()).start() File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 93, in inner handler(operation, progress) File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 141, in handle_tvshows season_number, episode_number = self.get_itunes_title(self.now_playing_metadata.contentIdentifier) File "/Users//Downloads/trakt-for-appletv-master/scrobbling.py", line 167, in get_itunes_title known = self.config['itunes']['titles'].get(contentIdentifier) KeyError: 'itunes'