Access Log for Jellyfin — install guide

Installation

You need Jellyfin Server 12.2 or newer and a MediaLab Works account with a licence that covers the plugin (an active subscription, a lifetime licence within its update window, the Jellyfin bundle or the free 30-day trial).

From your plugin repository (recommended). Jellyfin then installs and updates the plugin by itself.

  1. In your MediaLab Works account open Licences → Jellyfin plugin repository and click Create address. Copy it: it is private (it contains a token), so do not share it; you can regenerate or revoke it at any time.
  2. In Jellyfin open Dashboard → Plugins → Repositories, click +, give it a name (for example MediaLab Works), paste the address and save.
  3. In Dashboard → Plugins → Catalog find Access Log by medialab, click Install, then restart Jellyfin.

The repository lists only the plugins your licences cover, and only the versions they allow. Its download links are signed and expire after a few hours, so Jellyfin always reads a fresh list.

Manually, from a zip file.

  1. In Account → Licences download jf-accesslog_x.y.z.zip (the SHA-256 of the file is shown next to the button).
  2. Extract it into a new folder Access Log by medialab_x.y.z.0 inside the Jellyfin plugins folder:
    • Linux (package): /var/lib/jellyfin/plugins/
    • Docker (official image): /config/plugins/ in the config volume
    • Windows: %ProgramData%\Jellyfin\Server\plugins\
  3. Restart Jellyfin.

Licence activation

  1. Open the plugin page in Dashboard → Plugins → Access Log by medialab and click Open License page.
  2. Paste your licence key and click Activate with key. The plugin contacts the licence server, binds the key to this Jellyfin server and shows the licence as Active.
  3. No key yet? On the same page enter your e-mail and start the 30-day free trial (card needed, 0 € today) or buy a licence; the plugin activates itself when the payment is done.

The licence is checked once a day and at every Jellyfin start. Without internet the plugin keeps working for 7 days after the last successful check. Without a valid licence the plugin stops its work and only its License page keeps working (trial, key, renewal); nothing is deleted, and everything resumes as soon as the licence is valid again. Move license (release this server) on the same page frees the key for another server.

Updates and rollback

  • From the repository: Jellyfin shows new versions in Dashboard → Plugins and can update the plugin automatically; restart Jellyfin to load the new version.
  • From the plugin's License page: with a valid licence, Install update installs the newest version your licence allows and Roll back to x.y.z goes back to the previous version (for example if something stopped working after an update). Restart Jellyfin after either. Both packages are checked against the checksum published by the licence server.
  • A lifetime licence receives the versions released during its update window; after it, the plugin keeps working on the last version it may use.
  • After a rollback, if your plugin repository is added in Jellyfin, Jellyfin's scheduled task Update Plugins (at start-up and daily) installs the newest version again. To stay on the previous version for a while, remove the triggers of that task in Dashboard → Scheduled Tasks and add them back later.

Source code

The GPL-3.0 source code of each version is in Account → Licences (Source code), next to the download, as a .tar.gz archive made from the exact commit of that version.

Configuration

Open Dashboard → Access Log → Settings.

  1. Create a free account at MaxMind (GeoLite2), then Manage License Keys → Generate new license key.
  2. Enter the account id and the licence key and save: the GeoLite2 City and ASN databases are downloaded at once and refreshed automatically.
  3. Choose how many days events are kept, whether playback starts and IP changes are recorded, and which alerts you want.

Daily use

  • Activity: every event, newest first, with filters by user, period, country and device; CSV export.
  • Devices: the known devices of each user.
  • Users and countries: summary per user and per country, and the addresses with wrong passwords.

Troubleshooting

  • Every event shows the same address (your proxy or Cloudflare): add the proxy to Jellyfin's Known proxies (Dashboard → Networking) so Jellyfin passes on the real visitor address.
  • No location: check the MaxMind account id and key in Settings.

Download requires a license or the free 30-day trial.