@ctrl/plex
    Preparing search index...

    Function setPlexHeaders

    • Override the X-Plex headers sent with every request, so Plex shows your app instead of PlexAPI. Call it before connecting, existing tokens stay tied to the old identifier.

      Parameters

      Returns void

      setPlexHeaders({ product: 'My App', version: '1.0.0', identifier: storedInstallId });