jellyfin / jellyfin-plugin-trakt

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

Import stuck on 0.0% #209

Open tarokeitaro opened 1 year ago

tarokeitaro commented 1 year ago

Hello, I just used trakt on my jellyfin. I have 2 jellyfin servers and want to sync history between the two servers. On server 1, the trakt can track my history. On server 2 I'm still waiting for the progress stuck at 0.0% to sync my history from the trakt. What action should I take? The version of the plugin I'm using is 23.0.0.0

I looked at the jellyfin logs, but they didn't help solve my problem.

[2023-03-14 20:58:30.721 +07:00] [INF] [48] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-03-14 20:58:34.879 +07:00] [INF] [33] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Import watched states and playback progress from trakt.tv"
[2023-03-14 20:59:13.704 +07:00] [INF] [33] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-03-14 20:59:13.705 +07:00] [INF] [33] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-03-14 20:59:13.705 +07:00] [INF] [33] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-03-14 21:00:17.726 +07:00] [INF] [40] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-03-14 21:00:17.726 +07:00] [INF] [40] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"

Screenshot from 2023-03-14 21-17-45

Screenshot from 2023-03-14 21-19-58

kade-robertson commented 1 year ago

Is there any chance you set this up on a fresh Trakt account (no watch history)? If so, I believe #215 resolves this.

RazorII commented 1 year ago

I have the same problem and I know that one of the five Trakt accounts have no watched history. @kade-robertson is that what causes this issue?

kade-robertson commented 1 year ago

I have the same problem and I know that one of the five Trakt accounts have no watched history. @kade-robertson is that what causes this issue?

That's what was happening for me -- I built a fixed version of the plug-in locally to test and it resolved the issue.

You could either build off the main branch in this repo since it also has the fix, or just add some watch history (probably at least 1 movie and 1 TV show) to the account.

RazorII commented 1 year ago

I’ve marked a series and a movie as watched. First I’ll wait if that resolve it or if I need to restart Jellyfin. I’ll reply back afterwards.

RazorII commented 1 year ago

Seems to have worked and it didn’t need a restart or anything else. The new weirdness is that it seems to be perpetually indexing … maybe a 1h schedule is too short for 6 Trakt accounts and it never gets to finish?