Skip to content

Instantly share code, notes, and snippets.

View sortedcord's full-sized avatar
:octocat:
Soo many things to do. Too little time to do them

Aditya Gupta sortedcord

:octocat:
Soo many things to do. Too little time to do them
View GitHub Profile
@sortedcord
sortedcord / swing-truenas-setup.md
Last active February 26, 2024 09:24
Running Swing Music on TRUENAS Scale

Static Badge Static Badge

Setting Up Swing For Truenas Scale

This is a short and simple guide to setting up a Swing Instance on your Truenas (Scale) machine. Since there are no charts specifically for Swing, you would have to create a custom app and straight up the docker image.

1. Pulling the docker image

@nielsvanvelzen
nielsvanvelzen / jf-dev-auth.md
Last active November 1, 2025 09:28
Jellyfin API Authorization

Jellyfin API Authorization

To start using the Jellyfin API, authorization is probably the first thing you'll need to do. Jellyfin's authorization options can be a bit confusing because there are a lot of deprecated options.

Generally there are three ways to authenticate: no authorization, user authorization with an access token or authorization with an API key. The first way is easy, just do nothing. But most often you'll need to use either the access token or API key.

Sending authorization values

There are multiple methods for transmitting authorization values, however, some are outdated and scheduled to be removed. It's recommend to use the Authorization header. If header auth isn't an option, the token may be sent through the ApiKey query parameter. Sending secure data in a query parameter is unsafe as the changes of it leaking (via logs, copy-paste actions or by other means) are high. Only use this method as a last resort.