0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-20 07:35:26 +00:00
heitbaum b273f59ada jellyfin: initial release
Co-authored-by: CvH <1355173+CvH@users.noreply.github.com>
2021-08-17 16:43:22 +10:00

22 lines
495 B
Bash

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
. /etc/profile
oe_setup_addon service.jellyfin
# check if jellyfin is already successful installed
if [ ! -f "$ADDON_DIR/extract.ok" ]; then
cd $ADDON_DIR
jellyfin-downloader
fi
libs="${ADDON_DIR}/libs"
ff="/storage/.kodi/addons/tools.ffmpeg-tools/bin"
exec \
nice -n "$jellyfin_nice" \
dotnet "${libs}/jellyfin.dll" \
--datadir "${ADDON_HOME}" \
--ffmpeg "${ff}/ffmpeg"