Triggering Plex Playback Tracking via Infuse Deep Link URL

Hi Infuse Team & Community,

I’m developing an application that interacts with the Plex API to manage media. One feature involves launching playback in Infuse Pro using a deep link.

My app generates a direct playable URL from the Plex API, like: {Plex_Server_URL}/library/parts/{Part_ID}/{Timestamp}/file.ext?X-Plex-Token={Token}

I pass this URL to Infuse for playback, which works great. However, I want to ensure that Plex Media Server correctly tracks the playback status (registers as “Now Playing”, updates progress, and eventually marks as watched) when initiated this way.

My question is: What is the recommended method to achieve reliable Plex playback tracking when using these externally generated URLs with Infuse via deep linking?

  • Does Infuse automatically detect this is a Plex URL (perhaps via the token or structure) and communicate playback status back to the Plex Server (e.g., using the /:/timeline API)?
  • Are there any specific URL parameters I can add to the deep link URL that Infuse recognizes to assist with Plex tracking?
  • Or, is the best approach for my own application to make a separate call to the Plex /:/timeline endpoint (signalling state=playing, time=0, etc.) at the same time it sends the URL to Infuse?

I’m trying to find the cleanest and most reliable integration point. Any insights or best practice recommendations would be greatly appreciated!

At this time, Infuse wouldn’t do any syncing to Plex when open videos via the x-callback-url scheme.

This integration is mainly designed for other apps to take advantage of the Infuse video player while using their own apps to browse and manage other things related to the video library.

This certainly could be expanded in the future, but there are not any immediate plans right now.

Ok no problem. Appreciate you taking the time to reply.

Sorry to reply again but I thought that maybe in the future you could append the viewOffset or play position onto the query string of the callback url once playback is stopped? We could then manually sync playback positions then :+1:

Yes, something like that could certainly be possible.

However, it kind of comes down to determining how many people would find a feature like this useful and if it would be worth investing the time to develop these features.

I’m moving this over to the suggestions area for now so those who are interested can like the first post to show their support for having this ability added to Infuse.

Is there a way to deeplink to the Plex item in Infuse and just start playback normally? That way there wouldn’t be any need for playback tracking beyond what already exists.