Fix Trakt, recommended and watchlist (send_oauth is now sent).

This commit is contained in:
Prinz23 2018-03-01 15:48:09 +01:00 committed by JackDandy
parent 275f4f157b
commit ab3e6e0649
2 changed files with 3 additions and 1 deletions

View file

@ -97,6 +97,7 @@
* Fix API typo and a regression 'archivefirstmatch'
* Change removed NZBGet 'remote' PostProcess guidance until it is verified to work
* Fix Trakt, recommended and watchlist (send_oauth is now sent)
### 0.14.5 (2018-02-23 22:15:00 UTC)

View file

@ -3537,7 +3537,8 @@ class NewHomeAddShows(Home):
return self.browse_shows(browse_type, browse_title, filtered, error_msg=error_msg, show_header=1, **kwargs)
try:
filtered, oldest, newest, error_msg = self.get_trakt_data(url_path, web_ui=True)
filtered, oldest, newest, error_msg = self.get_trakt_data(url_path, web_ui=True,
send_oauth=kwargs.get('send_oauth', None))
except (StandardError, Exception):
error_msg = 'No items in watchlist. Use the "Add to watchlist" button at the Trakt website'
return self.browse_shows(browse_type, browse_title, filtered, error_msg=error_msg, show_header=1, **kwargs)