Bug 277161 - multimedia/jellyfin: export PATH so jellyfin can find ffmpeg
Summary: multimedia/jellyfin: export PATH so jellyfin can find ffmpeg
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-19 11:50 UTC by Michiel van Baak Jansen
Modified: 2024-03-04 16:10 UTC (History)
2 users (show)

See Also:


Attachments
0001-multimedia-jellyfin-export-PATH-so-jellyfin-can-find.patch (1.33 KB, patch)
2024-02-19 11:50 UTC, Michiel van Baak Jansen
michiel: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel van Baak Jansen 2024-02-19 11:50:38 UTC
Created attachment 248600 [details]
0001-multimedia-jellyfin-export-PATH-so-jellyfin-can-find.patch

Same export is already added to lidarr for example. For the .NET program to find binaries installed by dependencies it needs the PATH to have the /usr/local/bin

poudriere ok
Tested in my setup (14.0 amd64)

See also: https://github.com/Thefrank/jellyfin-server-freebsd/issues/69
Reported and fix suggested by driesm@
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2024-02-19 18:36:59 UTC
Why is this needed? "/usr/local/sbin" and "/usr/local/bin" are in PATH by default.
Comment 2 Michiel van Baak Jansen 2024-02-19 18:43:56 UTC
(In reply to Gleb Popov from comment #1)

That's what I thought as well, but driesm@ had this problem with net-p2p/lidarr and this one (multimedia/jellyfin) and suggested to add this line. Also confirmed the problem was solved for them.

Personally I did not have to set this, but some users reported it was needed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-03-04 16:10:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=76e58290d714bf02e7bbd4703404e53879c308b9

commit 76e58290d714bf02e7bbd4703404e53879c308b9
Author:     Michiel van Baak Jansen <michiel@vanbaak.eu>
AuthorDate: 2024-03-04 15:12:57 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-03-04 16:09:31 +0000

    multimedia/jellyfin: export PATH so jellyfin can find ffmpeg

    PR:     277161

 multimedia/jellyfin/Makefile          | 1 +
 multimedia/jellyfin/files/jellyfin.in | 2 ++
 2 files changed, 3 insertions(+)