提交合并

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
2024-07-17 16:30:13 +08:00
committed by qyg2297248353
commit 6c18fe434d
449 changed files with 21391 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
additionalProperties:
formFields:
- default: "host"
edit: true
envKey: NETWORK_MODE
labelZh: 网络模式
labelEn: Network mode
required: true
type: select
values:
- label: 主机模式
value: "host"
- label: 桥接模式
value: "bridge"
- label: 无网络
value: "none"
- label: 1panel-network
value: "1panel-network"
- default: "/home/jellyfin"
edit: true
envKey: JELLYFIN_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 8096
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI Port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: HTTP_SSL_PROXY
labelZh: HTTP(s) 网络代理
labelEn: HTTP(s) Proxy
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text
+34
View File
@@ -0,0 +1,34 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
jellyfin:
image: jellyfin/jellyfin:10.9.7
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
network_mode: ${NETWORK_MODE}
user: 0:0
ports:
- ${PANEL_APP_PORT_HTTP}:8096
volumes:
- ${JELLYFIN_ROOT_PATH}/config:/config
- ${JELLYFIN_ROOT_PATH}/cache:/cache
- ${JELLYFIN_ROOT_PATH}/media:/media
- ${JELLYFIN_ROOT_PATH}/config/font:/config/font
- ${JELLYFIN_ROOT_PATH}/config/dejavu:/usr/share/fonts/truetype/dejavu
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
devices:
- /dev/dri:/dev/dri
- /dev/kfd:/dev/kfd
environment:
- ROC_ENABLE_PRE_VEGA=1
- HTTP_PROXY=${HTTP_PROXY:-}
- HTTPS_PROXY=${HTTP_PROXY:-}
- NO_PROXY=localhost,127.0.0.1,::1
+66
View File
@@ -0,0 +1,66 @@
#!/bin/bash
if [[ -f .env ]]; then
source .env
BASE_URL="https://f.lifebus.top/public/1panel/appstore/jellyfin/"
DEJAVU_FILES=(
"DejaVuSans.ttf"
"DejaVuSans-Bold.ttf"
"DejaVuSansMono.ttf"
"DejaVuSansMono-Bold.ttf"
"DejaVuSerif.ttf"
"DejaVuSerif-Bold.ttf"
)
FONT_FILES=(
"NotoSansMonoCJKsc-Bold.woff2"
"NotoSansMonoCJKsc-Regular.otf"
"NotoSansCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff2"
"NotoSansMonoCJKsc-Bold.otf"
"NotoSansMonoCJKsc-Bold.woff"
"NotoSansCJKsc-Medium.otf"
"NotoSansCJKsc-Regular.otf"
"NotoSansCJKsc-Thin.woff2"
"NotoSansCJKsc-Thin.woff"
"NotoSansCJKsc-Regular.woff2"
"NotoSansCJKsc-Thin.otf"
"NotoSansCJKsc-Medium.woff"
"NotoSansCJKsc-Medium.woff2"
"NotoSansCJKsc-Light.woff"
"NotoSansCJKsc-Light.woff2"
"NotoSansCJKsc-Bold.otf"
"NotoSansCJKsc-Black.otf"
"NotoSansCJKsc-Light.otf"
"NotoSansCJKsc-Bold.woff"
"NotoSansCJKsc-DemiLight.otf"
"NotoSansCJKsc-Black.woff"
"NotoSansCJKsc-DemiLight.woff"
"NotoSansCJKsc-Black.woff2"
"NotoSansCJKsc-DemiLight.woff2"
"NotoSansCJKsc-Bold.woff2"
"font.css"
)
if [ ! -d "$JELLYFIN_ROOT_PATH/config/font" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/font"
for FILE in "${FONT_FILES[@]}"; do
wget -q "${BASE_URL}font/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/font/" || echo "Failed to download $FILE, continuing..."
done
fi
if [ ! -d "$JELLYFIN_ROOT_PATH/config/dejavu" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/dejavu"
for FILE in "${DEJAVU_FILES[@]}"; do
wget -q "${BASE_URL}dejavu/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/dejavu/" || echo "Failed to download $FILE, continuing..."
done
fi
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+66
View File
@@ -0,0 +1,66 @@
#!/bin/bash
if [[ -f .env ]]; then
source .env
BASE_URL="https://f.lifebus.top/public/1panel/appstore/jellyfin/"
DEJAVU_FILES=(
"DejaVuSans.ttf"
"DejaVuSans-Bold.ttf"
"DejaVuSansMono.ttf"
"DejaVuSansMono-Bold.ttf"
"DejaVuSerif.ttf"
"DejaVuSerif-Bold.ttf"
)
FONT_FILES=(
"NotoSansMonoCJKsc-Bold.woff2"
"NotoSansMonoCJKsc-Regular.otf"
"NotoSansCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff"
"NotoSansMonoCJKsc-Regular.woff2"
"NotoSansMonoCJKsc-Bold.otf"
"NotoSansMonoCJKsc-Bold.woff"
"NotoSansCJKsc-Medium.otf"
"NotoSansCJKsc-Regular.otf"
"NotoSansCJKsc-Thin.woff2"
"NotoSansCJKsc-Thin.woff"
"NotoSansCJKsc-Regular.woff2"
"NotoSansCJKsc-Thin.otf"
"NotoSansCJKsc-Medium.woff"
"NotoSansCJKsc-Medium.woff2"
"NotoSansCJKsc-Light.woff"
"NotoSansCJKsc-Light.woff2"
"NotoSansCJKsc-Bold.otf"
"NotoSansCJKsc-Black.otf"
"NotoSansCJKsc-Light.otf"
"NotoSansCJKsc-Bold.woff"
"NotoSansCJKsc-DemiLight.otf"
"NotoSansCJKsc-Black.woff"
"NotoSansCJKsc-DemiLight.woff"
"NotoSansCJKsc-Black.woff2"
"NotoSansCJKsc-DemiLight.woff2"
"NotoSansCJKsc-Bold.woff2"
"font.css"
)
if [ ! -d "$JELLYFIN_ROOT_PATH/config/font" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/font"
for FILE in "${FONT_FILES[@]}"; do
wget -q "${BASE_URL}font/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/font/" || echo "Failed to download $FILE, continuing..."
done
fi
if [ ! -d "$JELLYFIN_ROOT_PATH/config/dejavu" ]; then
mkdir -p "$JELLYFIN_ROOT_PATH/config/dejavu"
for FILE in "${DEJAVU_FILES[@]}"; do
wget -q "${BASE_URL}dejavu/${FILE}" -P "$JELLYFIN_ROOT_PATH/config/dejavu/" || echo "Failed to download $FILE, continuing..."
done
fi
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+18
View File
@@ -0,0 +1,18 @@
# JellyFin
**Jellyfin** 是一个免费开源的媒体服务器软件,用于组织、管理和流媒体共享您的音频、视频和图片等媒体内容。
![JellyFin](https://file.lifebus.top/imgs/jellyfin_cover.png)
## 安装说明
+ 开启 `投屏服务(DLNA)``网络唤醒服务(WOL)` 功能
开启后,可以在局域网内的设备上投屏观看视频。 需要选择主机网络(host)模式。
## 中文字幕支持 (启用备用字体)
请在设置中添加备用字体路径
默认路径:`/home/jellyfin/config/font`
`/home/jellyfin` 为安装根路径,请在应用参数中查询具体参数
+18
View File
@@ -0,0 +1,18 @@
name: JellyFin
title: 多媒体应用程序软件套装
description: 多媒体应用程序软件套装
additionalProperties:
key: jellyfin
name: JellyFin
tags:
- WebSite
- Media
- Local
shortDescZh: 多媒体应用程序软件套装
shortDescEn: A multimedia application software suite
type: website
crossVersionUpdate: true
limit: 0
website: https://jellyfin.org/
github: https://github.com/jellyfin/jellyfin
document: https://jellyfin.org/docs/
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB