|
@@ -1,29 +1,33 @@
|
|
|
-# unoffical jellyfin RPM
|
|
|
+# Jellyfin RPM
|
|
|
|
|
|
-<a href="https://copr.fedorainfracloud.org/coprs/wuerfelbecher/jellyfin/package/jellyfin/"><img src="https://copr.fedorainfracloud.org/coprs/wuerfelbecher/jellyfin/package/jellyfin/status_image/last_build.png" /></a>
|
|
|
+## Build Fedora Package with docker
|
|
|
+
|
|
|
+Change into this directory `cd rpm-package`
|
|
|
+Run the build script `./build-fedora-rpm.sh`.
|
|
|
+Resulting RPM and src.rpm will be in `../../jellyfin-*.rpm`
|
|
|
|
|
|
## ffmpeg
|
|
|
|
|
|
-The RPM package for Fedora/CentOS requires some additional repos as ffmpeg is not in the main repositories.
|
|
|
+The RPM package for Fedora/CentOS requires some additional repositories as ffmpeg is not in the main repositories.
|
|
|
|
|
|
```shell
|
|
|
# ffmpeg from RPMfusion free
|
|
|
# Fedora
|
|
|
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
|
|
|
-# CentOS 7
|
|
|
+# 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`
|
|
|
+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:
|
|
|
```shell
|