Skip to content

Commit

Permalink
chore: add heimdall client to jellyfin app
Browse files Browse the repository at this point in the history
  • Loading branch information
imnotjames committed Feb 28, 2024
1 parent 6f6affd commit 23ee00d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jellyfin/Jellyfin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ public function url($endpoint)

private function getAttrs()
{
$authorizationHeader = "MediaBrowser " .
"Token=\"" . urlencode($this->config->password) . "\", " .
"Client=\"Heimdall\"";
return [
"headers" => [
"Authorization" => "MediaBrowser Token=\"" . urlencode($this->config->password) . "\"",
"Authorization" => $authorizationHeader,
],
];
}
Expand Down

0 comments on commit 23ee00d

Please sign in to comment.