Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Sync watch status from Jellyfin back to TA not working #32

Open
2 tasks done
arisenfromtheashes opened this issue Dec 4, 2024 · 2 comments
Open
2 tasks done

Comments

@arisenfromtheashes
Copy link

I've read the documentation

Operating System

unraid docker

Your Bug Report

Describe the bug

Failing to sync watch status from Jellyfin back to TA

Steps To Reproduce

Configured the plugin per the documentation, Library populated properly, marked an episode as watched, didnt sync on its own after some time. Tried to run the scheduled task manually and still fails. (for context i only have the JF to TA config populated and not bidirectional)

Expected behavior

Should sync the watch status over to TA and be marked with the checkbox

Relevant Jellyfin log output

[2024-12-04 11:48:20.069 -06:00] [INF] [172] Jellyfin.Plugin.TubeArchivistMetadata.Plugin: Starting Jellyfin->TubeArchivist playback progresses synchronization.
[2024-12-04 11:48:20.071 -06:00] [ERR] [172] Emby.Server.Implementations.ScheduledTasks.TaskManager: Error executing Scheduled Task
System.ArgumentException: Invalid username (Parameter 'name')
   at Jellyfin.Server.Implementations.Users.UserManager.GetUserByName(String name)
   at Jellyfin.Plugin.TubeArchivistMetadata.Tasks.JFToTubearchivistProgressSyncTask.ExecuteAsync(IProgress`1 progress, CancellationToken cancellationToken)
   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
[2024-12-04 11:48:20.071 -06:00] [INF] [172] Emby.Server.Implementations.ScheduledTasks.TaskManager: "JFToTubeArchivistProgressSyncTask" Failed after 0 minute(s) and 0 seconds

Anything else?

No response

@arisenfromtheashes
Copy link
Author

arisenfromtheashes commented Dec 4, 2024

update: so the play status does work. ie. while im watching via swiftfin on my apple tv, i can refresh TA and see the watch bar move across the video in TA at pretty much real time (refreshing once every 10 seconds or so), but a) after the video is finished, SF or JF didnt automatically mark the checkbox in its UI showing watched, and b) even after manually checking the box on the SF ATV app, the watched status still didnt sync over to TA.

@joshrivers
Copy link

Oddly, I get no playhead sync at all...but I do get checkbox on completion. I do not, however, see any logging. (I wish I could provide better details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants