jellyfin / jellyfin-plugin-trakt

https://jellyfin.org
MIT License
179 stars 32 forks source link

[Issue]: possible bug with trakt plugin #160

Closed RiaanPretoriusSA closed 1 year ago

RiaanPretoriusSA commented 2 years ago

Please describe your bug

Not sure if this is the right place to log a bug or if it is a bug. but if more then one user is authorized the plugin complains about this: Trakt.Api.TraktApi: Tried to reauthenticate with Trakt, but no refreshToken was available. So when I de-authed all other users except one the plugin ran perfect.

Jellyfin Version

10.8.0

if other:

No response

Environment

- OS: raspbian 64bit / PI4
- Virtualization: docker
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

Shadowghost commented 2 years ago

I only experienced this when upgrading from an old version of the plugin where we didn't properly save and re-issue the refresh token. De-Authing the user or removing it from /var/lib/jellyfin/plugins/configuration/Trakt.xml and re-adding it afterwards should fix it.

Appoxo commented 2 years ago

Removing worked for me. De-Auth was a hit-or-miss for me

RiaanPretoriusSA commented 2 years ago

Still can't add a second user. Lucky so far I am the only user that want to sync to trakt. I move between kody and JFin. Might be a good idea for the developer to maybe consider something like trakt.xml.. Could just be a bug with trakt itself. But after struggling more then a week with this, I started to play around and got it to work with a single user and de-authentication

On Mon, 8 Aug 2022, 23:44 Appoxo, @.***> wrote:

Removing worked for me. De-Auth was a hit-or-miss for me

— Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-plugin-trakt/issues/160#issuecomment-1208644320, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIMC5W6WRDA5SDWCZP54DELVYF5ULANCNFSM554ZLJGQ . You are receiving this because you authored the thread.Message ID: @.***>