jellyfin/rpm-package
2019-01-05 17:47:57 +01:00
..
.gitignore Add RPM package spec 2019-01-05 11:14:24 +01:00
jellyfin.env Add RPM package spec 2019-01-05 11:14:24 +01:00
jellyfin.service Add RPM package spec 2019-01-05 11:14:24 +01:00
jellyfin.spec CentOS Build fails since it has no Recommends: tag 2019-01-05 11:22:03 +01:00
jellyfin.sudoers Add RPM package spec 2019-01-05 11:14:24 +01:00
README.md CentOS Build fails since it has no Recommends: tag 2019-01-05 11:22:03 +01:00
restart.sh Add RPM package spec 2019-01-05 11:14:24 +01:00
update-db.sh Update update-db.sh 2019-01-05 17:47:57 +01:00

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

In-App service control

A sample sudoers-policy is located at /usr/share/jellyfin/jellyfin-sudoers which you need to review and copy to /etc/sudoers.d. Use install -D -m 0600 -o root -g root /usr/share/jellyfin/jellyfin-sudoers /etc/sudoers.d/jellyfin-sudoers for the right permissions. Finally uncomment JELLYFIN_RESTART_OPT in /etc/sysconfig/jellyfin and restart the service.

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