mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
jellyfin: update to 10.9.7 and addon (1)
release notes: - https://jellyfin.org/posts/jellyfin-release-10.9.0 - https://github.com/jellyfin/jellyfin/releases new repositories: - https://repo.jellyfin.org/files/server/portable/ - https://repo.jellyfin.org/?path=/server/portable/latest-stable/any - https://repo.jellyfin.org/?path=/server/portable - https://jellyfin.org/posts/new-ci-new-repo
This commit is contained in:
parent
8de43097e2
commit
ca3c7dcccc
@ -3,8 +3,8 @@
|
||||
|
||||
PKG_NAME="jellyfin"
|
||||
PKG_VERSION="1.0"
|
||||
PKG_VERSION_NUMBER="10.8.13"
|
||||
PKG_REV="0"
|
||||
PKG_VERSION_NUMBER="10.9.7"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://jellyfin.org/"
|
||||
|
@ -9,7 +9,7 @@ oe_setup_addon service.jellyfin
|
||||
ICON="${ADDON_DIR}/resources/icon.png"
|
||||
CONTROL_FILE="/tmp/curl.done"
|
||||
DATA_FILE="/tmp/curl.data"
|
||||
JELLYFIN_FILE="jellyfin_@JELLYFIN_VERSION@.tar.gz"
|
||||
JELLYFIN_FILE="jellyfin_@JELLYFIN_VERSION@.tar.xz"
|
||||
|
||||
# check for enough free disk space
|
||||
if [ $(df . | awk 'END {print $4}') -lt 200000 ]; then
|
||||
@ -42,7 +42,7 @@ echo "Downloading Jellyfin"
|
||||
# download Jellyfin
|
||||
rm -f ${CONTROL_FILE} ${DATA_FILE}
|
||||
(
|
||||
curl -L -# -O -C - https://repo.jellyfin.org/releases/server/portable/versions/stable/combined/@JELLYFIN_VERSION@/${JELLYFIN_FILE} 2>${DATA_FILE}
|
||||
curl -L -# -O -C - https://repo.jellyfin.org/files/server/portable/stable/v@JELLYFIN_VERSION@/any/${JELLYFIN_FILE} 2>${DATA_FILE}
|
||||
touch ${CONTROL_FILE}
|
||||
) | \
|
||||
while [ : ]; do
|
||||
@ -59,7 +59,7 @@ kodi-send --action="Notification(Extracting Jellyfin,Starting,1000,${ICON})" >/d
|
||||
|
||||
# extract JELLYFIN_FILE to libs directory
|
||||
mkdir ${ADDON_DIR}/libs
|
||||
tar xf ${JELLYFIN_FILE} -C ${ADDON_DIR}/libs --strip-components=2
|
||||
tar xf ${JELLYFIN_FILE} -C ${ADDON_DIR}/libs --strip-components=1
|
||||
|
||||
# cleanup
|
||||
cd ${ADDON_DIR}
|
||||
|
Loading…
x
Reference in New Issue
Block a user