Skip to content

Commit

Permalink
bump: embyserver 4.8.0.56 to 4.8.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Jul 23, 2024
1 parent 54c56f9 commit e2078f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions all_in_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2625,13 +2625,13 @@ function install_emby_xiaoya_all_emby() {
if [ -n "${version}" ]; then
IMAGE_VERSION="${version}"
else
IMAGE_VERSION=4.8.0.56
IMAGE_VERSION=4.8.8.0
fi

if [ "${image}" == "emby" ]; then
install_emby_embyserver
else
# 因为amilys embyserver arm64镜像没有4.8.0.56这个版本号,所以这边规定只能使用latest
# 因为amilys embyserver arm64镜像没有4.8.8.0这个版本号,所以这边规定只能使用latest
cpu_arch=$(uname -m)
case $cpu_arch in
"x86_64" | *"amd64"*)
Expand Down Expand Up @@ -2684,12 +2684,12 @@ function install_emby_xiaoya_all_emby() {
break
fi
fi
INFO "请选择 Emby 镜像版本 [ 1;4.8.0.56 | 2;latest ](默认 1)"
INFO "请选择 Emby 镜像版本 [ 1;4.8.8.0 | 2;latest ](默认 1)"
read -erp "CHOOSE_IMAGE_VERSION:" CHOOSE_IMAGE_VERSION
[[ -z "${CHOOSE_IMAGE_VERSION}" ]] && CHOOSE_IMAGE_VERSION="1"
case ${CHOOSE_IMAGE_VERSION} in
1)
IMAGE_VERSION=4.8.0.56
IMAGE_VERSION=4.8.8.0
break
;;
2)
Expand Down
10 changes: 5 additions & 5 deletions emby_config_editor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ function set_image() {

function set_version() {

if [ "${version}" == "4.8.0.56" ]; then
if [ "${version}" == "4.8.8.0" ]; then
new_version=latest
elif [ "${version}" == "latest" ]; then
new_version=4.8.0.56
new_version=4.8.8.0
else
new_version=4.8.0.56
new_version=4.8.8.0
fi

sed -i "s/version=.*/version=${new_version}/" "${config_dir}/emby_config.txt"
Expand Down Expand Up @@ -241,7 +241,7 @@ if [ ! -s "${config_dir}/emby_config.txt" ]; then
echo "image=emby"
echo "media_dir="
echo "resilio=no"
echo "version=4.8.0.56"
echo "version=4.8.8.0"
} >> "${config_dir}/emby_config.txt"
else
source "${config_dir}/emby_config.txt"
Expand All @@ -261,7 +261,7 @@ else
echo "resilio=no" >> "${config_dir}/emby_config.txt"
fi
if [ -z "${version}" ]; then
echo "version=4.8.0.56" >> "${config_dir}/emby_config.txt"
echo "version=4.8.8.0" >> "${config_dir}/emby_config.txt"
fi
fi

Expand Down

0 comments on commit e2078f8

Please sign in to comment.