jellyfin-plugin-trakt
jellyfin-plugin-trakt copied to clipboard
"Export library to trakt.tv" task resets watched status of movies locally
Here's a pretty straightforward one: Since upgrading to v10.8 and the latest Trakt plugin for v10.8, whenever the "Export library to trakt.tv" task is run, all movies (but NOT TV shows) are marked as unwatched locally. This can be resolved by running the "Import watch states and playback progress from trakt.tv" task -- these unwatched states aren't pushed to Trakt, so the correct data can easily be reimported -- but this is clearly not the intended behavior, so I'm submitting a bug report.
We don't touch the local state when exporting the library. What other options do you have configured for your user?
Set trakt.tv item to watched when local item is changed to watched, Set trakt.tv item to unwatched when local item is changed to unwatched, Synchronize collection, and Scrobble.
I can reproduce this every time I execute the task in question. Didn't occur in v10.7 with the same settings.
Try reauthenticating the users please. We seem to have borked user data from the plugin shipped with 10.7.
Tried, but the problem persists.
I tried force re-authorization last time to no avail, and I've just gone in and de-authorized device entirely and removed Jellyfin from my Trakt account to start completely fresh. Same thing.
Did you try deleting /var/lib/jellyfin/plugins/configuration/Trakt.xml
, restarting Jellyfin and reauthing your user?
Just tried it, no change.
I thought it might have something to do with authorizing two Jellyfin users to the same Trakt account, but I just deleted my second Jellyfin user, stopped Jellyfin, deleted Trakt.xml
, started Jellyfin, reauthorized, and the problem persists.
We don't touch the local state when exporting the library.
That's actually not true.
https://github.com/jellyfin/jellyfin-plugin-trakt/blob/08b43b248eeed471dc2a86d21def70866d3fe7bc/Trakt/ScheduledTasks/SyncLibraryTask.cs#L226-L236
@blackwind I believe "Skip unwatched import from trakt.tv" unchecked?
Yep, you're right, Denis. Thanks for tracking that down!
Can we get a fix, @Shadowghost?