![]() |
Trackt sync conflicts - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Trackt sync conflicts (/t-trackt-sync-conflicts) |
Trackt sync conflicts - Jaasonn - 2024-10-14 I'm pretty new to jellyfin from plex and i installed the track plugin and linked it to my account, but I'm getting conflict and exceptions showing in the logs. I can't find for the life of me what show or movie is causing the conflict. I've went thru the logs and even pasted then in chatGPT, but still struggling. Is there another place that might show what the conflict is or specific plugin logs? I would be forever grateful if anyone could point me how to fix? Server Linux Mint Mate 22 Jellyfin 10.9.11 Web version 10.9.11 Build version 10.9.11 [2024-10-14 13:06:41.743 -04:00] [ERR] Exception handled in PostToTrakt System.Net.Http.HttpRequestException: Response status code does not indicate success: 409 (Conflict). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) [2024-10-14 13:06:41.750 -04:00] [ERR] Exception occurred while sending a playback status update to trakt.tv for user "plex2". System.Net.Http.HttpRequestException: Response status code does not indicate success: 409 (Conflict). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsync(Episode episode, MediaStatus mediaStatus, TraktUser traktUser, Single progressPercent, Boolean useProviderIds) at Trakt.ServerMediator.KernelPlaybackStopped(Object sender, PlaybackStopEventArgs playbackStoppedEventArgs) RE: Trackt sync conflicts - TheDreadPirate - 2024-10-15 Can you share the full log so we have some context? I can't find much info from trakt regarding what to do about 409's. Code: exceptiontrakt.errors.ConflictException RE: Trackt sync conflicts - Jaasonn - 2024-10-16 Here’s your revised message with WRN in bold: Hi! Thank you so much for the reply! I know enough about computers and software to be dangerous, so I want to apologize up front. I ended up starting Jellyfin over from scratch and doing a full Trakt import. It looks like that took care of the Trakt errors, but I am still having a problem with shows not showing the "Next Up" feature or showing up for one minute and then disappearing. I don't know what I might have screwed up that redoing everything couldn’t fix, but any help would be greatly appreciated. Here are my logs: here are my logs. They are mainly full of trickplay at the moment, so I'm not sure if they will be helpful till that's done. I'm seeing this WRN message, and I remember seeing it before the reinstall. Could it have anything to do with the issue? Code: [2024-10-15 18:43:35.012 -04:00] [WRN] [22] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable. RE: Trackt sync conflicts - TheDreadPirate - 2024-10-16 That warning message can be ignored. As for "Next Up", I don't use Trakt myself so I don't have any experience with it. I've seen some users have this issue, but I don't recall if anyone fixed it. I will look around past threads for Trakt to see if I am forgetting anything. RE: Trackt sync conflicts - TheDreadPirate - 2024-10-16 Do you happen to be using NFOs for metadata? RE: Trackt sync conflicts - Jaasonn - 2024-10-17 You guys are awesome at responding so thank you for that! I had NFO files for every show and season, so I deleted them all using a terminal command and refreshed everything. This fixed the issue of shows appearing in the "Next Up" sections of both the Infuse and Jellyfin apps. However, when I check "Next Up" on the web interface, it just shows as loading forever. Occasionally, it loads a handful of shows that look correct, but it displays "0-0 of 0" for some reason, so it seems I still have something configured incorrectly. Any ideas? I'm not sure how to post all the logs here, and Pastebin only allows so much, so if there's a better way to share, let me know. Here's a Dropbox link to the logs: [here is a link](https://www.dropbox.com/scl/fi/3ujwrk3vez4ci99i5l7a5/Log?rlkey=u1eh8b2emb9pty75optcv0yfw&st=2s7ln2q4&dl=1) I am seeing a lot of these errors below that could be realated? It looks like all shows are doing it. It's all a bit confusing to me. Code: 2024-10-16 02:49:35.499 -04:00] [INF] [29] Emby.Server.Implementations.Library.LibraryManager: Validating media library Code: [2024-10-16 04:28:12.374 -04:00] [ERR] [60] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress". Code: [2024-10-16 04:51:26.529 -04:00] [ERR] [36] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress". Let me know if if theres anything else I can do when you can and thanks again? RE: Trackt sync conflicts - TheDreadPirate - 2024-10-17 Technically you didn't need to delete your NFOs. They can be used with Trakt, as long as you don't have this setting enabled. Go to Dashboard > Library > NFO Settings > Save user watch data to NFO files for: Make sure that is none. You would also need to make sure that existing NFOs are scrubbed of these lines. They would be in each episode's NFO. Code: <watched>false</watched> What I suspect is happening is that you either have this NFO setting enabled to save watch status to NFOs, or they were already present, and Jellyfin doesn't have sufficient permissions to write to your NFOs with updates. RE: Trackt sync conflicts - Jaasonn - 2024-10-17 OMG yes! This is exactly what fixed everything! I scrubbed all of the NFO files based on what you suggested and rescanned/refreshed, and it's working great again. Holy wow, thank you! There is this WRN log (which isn’t affecting anything noticeable) but it is new. I ran it through ChatGPT, and it suggests setting an explicit value for Code: QuerySplittingBehavior Code: [2024-10-17 16:27:06.560 -04:00] [WRN] [45] Microsoft.EntityFrameworkCore.Query: Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'. Again though, thank you, thank you, THANK YOU! I can shut down Plex now, which was my original agenda. RE: Trackt sync conflicts - TheDreadPirate - 2024-10-17 I'm assuming there might be an XML tag in one or more NFOs that isn't closed or something. RE: Trackt sync conflicts - Jaasonn - 2024-10-21 (2024-10-17, 10:06 PM)TheDreadPirate Wrote: I'm assuming there might be an XML tag in one or more NFOs that isn't closed or something. Just wanted to say thanks again. Very much appreciated |