Jump to content

Plembfin: keep Emby, Plex, Jellyfin and Trakt watch state aligned


Go to solution Solved by Lasikie,

Recommended Posts

Posted

Hi everyone, I’m sharing Plembfin, an open-source, self-hosted sync hub for Emby, Plex, Jellyfin and Trakt.

 

Website: https://plembfin.com

Docs: https://github.com/Lasikiewicz/plembfin/tree/main/docs

Source: https://github.com/Lasikiewicz/plembfin

 

Plembfin keeps watched and unwatched state, resume positions, and watch history aligned between connected services. It stores a local SQLite record, uses webhooks plus scheduled catch-up sync, and can restore history after media is re-added or a library is rebuilt. It also includes per-destination results and targeted retries, Now Playing, ratings and watchlist features, metadata tools, Seerr support, and backup tools.

 

The intended use case is a household or homelab running Emby alongside another media server, or using Trakt as part of a multi-service setup. It runs in Docker and the local data stays on your own hardware. The project is early, so I am looking for feedback on Emby matching, playback progress, duplicate plays, and sync recovery. Please back up your metadata before testing.

 

Setup and documentation: https://plembfin.com

GitHub: https://github.com/Lasikiewicz/plembfin

 

I have used AI coding agents heavily during development, with manual review and testing throughout. It is licensed under AGPL-3.0. This is not affiliated with Emby, Plex, Jellyfin or Trakt.

  • 1 month later...
IllMethods
Posted

Does it support sync of multiple users?

  • Solution
Lasikie
Posted
3 minutes ago, IllMethods said:

Does it support sync of multiple users?

Yes. Plekt supports multiple user accounts in one install. Each person has their own account, connections and separate watch history, which they can sync across their configured services. The newer Plekt topic has the details: https://emby.media/community/topic/150435-plekt-self-hosted-watch-history-sync-for-emby-plex-and-jellyfin/

IllMethods
Posted

I run Plex, Emby and Jellyfin all online all the time. These seem to be syncing good. I also have another server that is on a boat that is always on, but not always online. Would I be able to add this to my stack? And have it sync when it gets internet, but be able to nicely time out when it isn't?

Lasikie
Posted

Yes, as long as the Plekt server can reach the boat server’s media server URL when it’s online. Plekt doesn’t need it to be reachable all the time: catch-up sync runs every 15 minutes by default, so it can pick up changes after the connection returns. If a check times out while the server is offline, Plekt treats it as a failed check rather than an empty library, so it won’t use that failure to mark items unwatched.

One caveat: Plekt currently has one connection per service type. So if the boat server is a second Emby server (for example), you can’t yet add it as a separate Emby connection. If it’s a different service type, it can be configured separately.

IllMethods
Posted

Nice to know. Will there be multiple Emby, Jellyfin options added? I already have all 3, So I'd need a second Emby for this to work.

Good job btw, I was a little bit meh at the beginning because it felt like it had crashed, but my library is huge and the initial sync king of struggled at the beginning, all smooth now though.

Lasikie
Posted
14 hours ago, IllMethods said:

Nice to know. Will there be multiple Emby, Jellyfin options added? I already have all 3, So I'd need a second Emby for this to work.

Good job btw, I was a little bit meh at the beginning because it felt like it had crashed, but my library is huge and the initial sync king of struggled at the beginning, all smooth now though.

Thanks for the question. Multiple Emby or Jellyfin servers isn't on the Plekt to-do list at the moment, so I can't say when or whether it will be added.

If you'd like it considered, please add it as a request on the Plekt feature request page: https://github.com/Lasikiewicz/plekt/issues/new?template=feature_request.yml

Describing your boat setup there (one main server, one intermittently online server, the same admin user on both) would help show the use case.
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...