Jellyfin - ghomasHudson/Jellyfin-Auto-Collections GitHub Wiki

This page details how to configure the connection to your jellyfin server.

jellyfin:
  server_url: !ENV ${JELLYFIN_SERVER_URL:https://www.jellyfin.example.com}
  api_key: !ENV ${JELLYFIN_API_KEY:1a1111aa1a1a1aaaa11a11aa111aaa11}
  user_id: !ENV ${JELLYFIN_USER_ID:111111111111aaaaaaaa11111111111a}
  query_parameters:
    # Additional filters to use when matching

The !ENV ${} syntax here just allows you to specify environment variables in your docker file, e.g:

environment:
  - JELLYFIN_SERVER_URL=https://www.jellyfin.example.com
  - JELLYFIN_API_KEY=1a1111aa1a1a1aaaa11a11aa111aaa11
  - JELLYFIN_USER_ID=2b2222bb2b2b2bbbb22b22bb222bbb22

server_url

The base URL of your jellyfin instance.

api_key

Navigate to Admin>Dashboard>Advanced>API Key and create a new api key. Copy the value here.

user_id

ID of your jellyfin user. Found in the URL when you navigate to your user in the Dashboard.

query_parameters (optional)

Enables global filters. Useful for things such as limiting the collections to a single library, e.g:

jellyfin:
  server_url: https://jellyfin.example.com
  api_key: ...
  user_id: ...
  query_parameters:
    parentId: f137a2dd21cce1b98aa5c0f6bf02a805 # copy this from the url when you browse to the library