Repository navigation
Conversation
Serve a standalone /Trakt/SelfService page and /Trakt/me APIs so users can link accounts and manage sync prefs; keep token export, debug logging, and folder exclusions admin-only. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the PR focused on per-user self-service and ownership auth; username display can land separately if wanted. Co-authored-by: Cursor <cursoragent@cursor.com>
Screenshots stay local for manual PR attachment; drop the drive-by default flips from the self-service change. Co-authored-by: Cursor <cursoragent@cursor.com>
That path is personal workflow only and does not belong upstream. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep personal docker-dev paths out of the upstream self-service change. Co-authored-by: Cursor <cursoragent@cursor.com>
Restore the legacy empty-UserName cleanup and drop drive-by default-object edits unrelated to self-service. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Any news @selmant ? |
|
Hi @zotabee, we had a conversation with the Jellyfin team on Discord, and it seems they're definitely not interested in merging or working on this. Since I don't want to deal with the AI drama and all that, I decided to fork it and make it a drop-in replacement. I'd encourage you to push for this in the official Jellyfin Discord or simply use the fork instead: https://github.com/selmant/better-trakt |
|
Also, I saw your PRs, and unfortunately, I'm pretty sure they won't get merged either. Would you mind if I took those changes and included them in my fork? |
|
Thanks for letting me know, and sorry #307 ended up closed. Of course, take whatever you like from my PRs! The more alternatives the better, and that's what open source is for. A mention in the commit or release notes would be nice. A few of my earlier PRs (#277 to #279) did get merged here, so I'll leave #320 to #337 open and give them a chance. They're small and easy to review: most are targeted fixes, and each one was tested before I pushed it. Upstream master hasn't moved since v33, and all my branches merge together onto it and build without warnings, so you can take them in any order. There are also three fixes on my fork that I haven't opened as PRs yet: One thing: I'm going to run all of them on my own server for a while first, so it might be worth waiting until I report back before you merge them. Issues are turned off on better-trakt. Where would you like bug reports or PRs? |
|
As promised, I've been running all my branches on my server (Jellyfin 12.1) since 2026-10-18:
Everything is in PRs #320–#343 here. 19 of the 23 branches apply cleanly onto better-trakt; 4 need a small rebase (README, |
|
Thanks a lot @zotabee, and thanks for testing everything on your server first! I merged your PRs myself, so no need to open new ones. All of #320–#343 except the README one (#325) went into Better Trakt 1000.2026.1023.1. Each one is a separate merge commit that keeps your original commits, and you're credited in the release notes, the changelog and the README. A few spots needed adapting to the fork:
Something you might run into on your branches too: Issues are now open on better-trakt, so please send bug reports there. PRs are welcome against the |
Summary
Adds per-user Trakt self-service without giving users access to the Jellyfin admin dashboard.
/Trakt/SelfService./Trakt/Users/{userGuid}/…routes now require the same user or an administrator, closing cross-user access to rating and recommendation actions.Fixes #221.
Fixes #294.
Details
The plugin serves a standalone self-service page because jellyfin-web restricts plugin configuration pages to administrators. The HTML can load anonymously, but every
/Trakt/me*API call requires the user's Jellyfin session. Stored credentials are matched to the server serving the page, including installations with a base URL.New endpoints:
GET/Trakt/mePOST/Trakt/me/AuthorizeGET/Trakt/me/PollAuthorizationStatusPOST/Trakt/me/DeauthorizePUT/Trakt/me/SettingsGET/Trakt/me/TokenThe admin page exposes the self-service URL and two opt-in token-export controls: a default for new Trakt user configs and a per-user override. Token export is disabled by default, never returns the refresh token, and revalidates token expiry after refresh.
Deauthorization now waits for Trakt's revoke request before clearing local credentials, while preserving the user's preferences. Administrator API keys remain valid for user-scoped admin operations.
The plugin does not modify jellyfin-web
config.json. Administrators may optionally add/Trakt/SelfServicethrough jellyfin-webmenuLinks.Upgrade safety
false./Trakt/medoes not create a user configuration.Test plan
git diff --check/Trakt/Users/{userGuid}/…routes return 403