1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Lakka-rk322x/packages/addons/service/jellyfin/source/bin/jellyfin-start
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"