You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/rpm-package
Thomas Büttner 7f4a073b05
Add %post script to move exitsting config to /etc/jellyfin and symlink it.
6 years ago
..
.gitignore Add RPM package spec 6 years ago
README.md Re-add sudo policy for in-app service restart. 6 years ago
jellyfin-firewalld.xml add Firewalld serivce.xml 6 years ago
jellyfin.env Add logging and config directories 6 years ago
jellyfin.service Add logging and config directories 6 years ago
jellyfin.spec Add %post script to move exitsting config to /etc/jellyfin and symlink it. 6 years ago
jellyfin.sudoers Add RPM package spec 6 years ago
restart.sh Add RPM package spec 6 years ago
update-db.sh Update update-db.sh 6 years ago

README.md

unoffical jellyfin RPM

ffmpeg

The RPM package for Fedora/CentOS requires some additional repos as ffmpeg is not in the main repositories.

# ffmpeg from RPMfusion free
# Fedora
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# CentOS 7 
$ sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm

ISO mounting

To allow jellyfin to mount/umonut ISO files uncomment these two lines in /etc/sudoers.d/jellyfin-sudoers

# %jellyfin ALL=(ALL) NOPASSWD: /bin/mount
# %jellyfin ALL=(ALL) NOPASSWD: /bin/umount

Database patching

You may need to install sqlite since CentOS has no Recommends: with yum install sqlite. To fix the paths in the emby database for a migration to jellyfin run the script:

/usr/share/jellyfin/update-db-paths.sh <path-to-library.db> <path-to-emby-data> <path-to-jellyfin-data>

PS: Please backup your emby database beforehand.

Building with dotnet

Jellyfin is build with --self-contained so no dotnet required for runtime.

# dotnet required for building the RPM
# Fedora
$ sudo dnf copr enable @dotnet-sig/dotnet
# CentOS
$ sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm

TODO

  • OpenSUSE