putdotio / putio-kodi

Official Put.io Kodi addon
GNU General Public License v3.0
11 stars 2 forks source link

Show authentication dialog on authentication errors #15

Open x2c opened 3 years ago

x2c commented 3 years ago

Put.io for Kodi fails to start in the latest build of Kodi 19.3.0 running on the XBOX

Kodi Build 19.3 (19.3.0) for XBOX Put.io plugin 3.0.0

Displays generic error message upon start, no further information found in the log

It looks like the plugin is trying to initialize the Oauth with put.io and failing

berkanteber commented 1 month ago

I don't think this is still an issue with latest Kodi & add-on.

joelpurra commented 1 month ago

@berkanteber: this is presumably still an issue. It is not tied to any particular version of neither putio-kodi nor Kodi.

@x2c wrote:

It looks like the plugin is trying to initialize the Oauth with put.io and failing

The startup crash happens when the authentication token expires, after some time (longer than a month?) of inactivity. This has happened to me multiple times, on some rarely-used Kodi systems.

There is a manual fix.

  1. Open putio-kodi's settings
  2. Delete the token.
  3. Open the addon again.
  4. The "regular" request to authenticate pops up, as if starting the addon for the first time.
  5. Authenticate.

Detecting that the token has expired and triggering the authentication popup sounds fixable.