matthuisman / slyguy.addons

Github mirror of SlyGuy add-ons
https://www.matthuisman.nz/2020/02/slyguy-kodi-repository.html
283 stars 77 forks source link

Stan Addon - Can't login after password changed #881

Closed drelephant closed 2 weeks ago

drelephant commented 2 weeks ago

I just changed my Stan password, and I can login on the web.

Now when I go to the Kodi Stan Addon (v0.5.1), I get a message:

Stan - Error
Failed to login / refresh token.
Message: Streamco.Login.AccountDetailsChanged

But I can't find a way to reset the token. I get that message when I try to go into the Addon, and even Uninstalling/Reinstalling the addon (and choosing to delete all data for the addon) doesn't work.

How can I clear the token?

drelephant commented 2 weeks ago

Even uninstalling the entire Slyguy repository and all addons doesn't clear it!

matthuisman commented 2 weeks ago

There isn't anything to clear. That error is coming from their server

On Mon, 2 Sept 2024, 21:40 drelephant, @.***> wrote:

Even uninstalling the entire Slyguy repository and all addons doesn't clear it!

— Reply to this email directly, view it on GitHub https://github.com/matthuisman/slyguy.addons/issues/881#issuecomment-2324287473, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKNQKWMLQBF3HHO7NW3ZUQXA3AVCNFSM6AAAAABNP5TBCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRUGI4DONBXGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

matthuisman commented 2 weeks ago

Can you login on their android app?

On Mon, 2 Sept 2024, 21:40 drelephant, @.***> wrote:

Even uninstalling the entire Slyguy repository and all addons doesn't clear it!

— Reply to this email directly, view it on GitHub https://github.com/matthuisman/slyguy.addons/issues/881#issuecomment-2324287473, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKNQKWMLQBF3HHO7NW3ZUQXA3AVCNFSM6AAAAABNP5TBCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRUGI4DONBXGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

drelephant commented 2 weeks ago

Yes. It came up with a wrong password thing, then I could logout/login with the new password.

drelephant commented 2 weeks ago

I actually have kodi installed on both my Windows PC and my Ubuntu HTPC, and both of them are doing it.

I don't really understand how there can be no data to clear.

Surely there must be a place that the login is saved??

How can I get them to re-request the login, where kodi brings up a number and you go to stan.com.au/authorize or whatever it was to authorize that device?

matthuisman commented 2 weeks ago

Oh, Have you clicked logout? Or does it not load the main screen?

On Mon, 2 Sept 2024, 22:20 drelephant, @.***> wrote:

I actually have kodi installed on both my Windows PC and my Ubuntu HTPC, and both of them are doing it.

I don't really understand how there can be no data to clear.

Surely there must be a place that the login is saved??

How can I get it to re-request the login, when you go to stan.com.au/authorize or whatever it was and enter the code number to save the token for kodi?

— Reply to this email directly, view it on GitHub https://github.com/matthuisman/slyguy.addons/issues/881#issuecomment-2324367543, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKPQ2UIZ5VBRFXDG55TZUQ3WFAVCNFSM6AAAAABNP5TBCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRUGM3DONJUGM . You are receiving this because you commented.Message ID: @.***>

drelephant commented 2 weeks ago

It doesn't load the main screen, the only option you get is "OK" at this message box:

Stan - Error
Failed to login / refresh token.
Message: Streamco.Login.AccountDetailsChanged
matthuisman commented 2 weeks ago

Oh right. I'll need to sort that. For now, rename / delete the .db file in user data addon days slyguy common

On Mon, 2 Sept 2024, 22:40 drelephant, @.***> wrote:

It doesn't load the main screen, the only option you get is "OK" at that message box:

Stan - Error Failed to login / refresh token. Message: Streamco.Login.AccountDetailsChanged

— Reply to this email directly, view it on GitHub https://github.com/matthuisman/slyguy.addons/issues/881#issuecomment-2324406735, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKLRODJ2RFMSGR4456LZUQ6BNAVCNFSM6AAAAABNP5TBCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRUGQYDMNZTGU . You are receiving this because you commented.Message ID: @.***>

drelephant commented 2 weeks ago

Sorry, what's the exact name of the db file?

drelephant commented 2 weeks ago

Nevermind, found it. %appdata%\Kodi\userdata\addon_data\script.module.slyguy\settings.db

Thanks again!

matthuisman commented 2 weeks ago

ill do a few things 1) add a "clear data" / reset addon to the settings for the addon 2) try/except around the initial error so the logout / main menu is still shown

matthuisman commented 2 weeks ago

I have now implemented #1 Addon settings -> addon name -> Reset Add-on

That will wipe all settings / userdata / bookmarks / search for the addon.

If you cant get into the add-on itself due to error - there is always the backup way to settings via Slyguy Common -> Stan -> Stan -> Reset Add-on (This route doesnt go via the main menu but directly to the settings for each addon)

matthuisman commented 2 weeks ago

2 now implemented in plugin.video.stan.au -> v0.5.2 so if the menu nav fails to download, itll show an error but then show the rest of the menu so can logout etc

With both of these - no one should get stuck again.

Thanks for bringing this issue up