AimerNeige revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
jellyfin-subtitle.md
@@ -14,7 +14,7 @@ docker # apt update -y | |||
14 | 14 | docker # apt install fonts-noto-cjk-extra | |
15 | 15 | ``` | |
16 | 16 | ||
17 | - | 注意,如上安装方法在重启后会失效 | |
17 | + | 注意,如上安装方法在重启容器后会失效 | |
18 | 18 | ||
19 | 19 | 2. 安装专用中文字体(通过 volumes 挂载) | |
20 | 20 |
AimerNeige revised this gist . Go to revision
1 file changed, 6 insertions
jellyfin-subtitle.md
@@ -1,3 +1,9 @@ | |||
1 | + | ## 启用外挂字幕烧录 | |
2 | + | ||
3 | + | - `Settings` => `Subtitles` => `Burn subtitles` => `All Complex ...` | |
4 | + | ||
5 | + | ## 安装字体 | |
6 | + | ||
1 | 7 | 1. 安装通用中文字体(在容器中安装) | |
2 | 8 | ||
3 | 9 | ```bash |
AimerNeige revised this gist . Go to revision
1 file changed, 12 insertions, 2 deletions
jellyfin-subtitle.md
@@ -1,4 +1,4 @@ | |||
1 | - | 安装中文字体(在容器中安装) | |
1 | + | 1. 安装通用中文字体(在容器中安装) | |
2 | 2 | ||
3 | 3 | ```bash | |
4 | 4 | host $ docker exec -it <jellyfin_container_id> /bin/bash | |
@@ -6,4 +6,14 @@ host $ docker exec -it <jellyfin_container_id> /bin/bash | |||
6 | 6 | ||
7 | 7 | docker # apt update -y | |
8 | 8 | docker # apt install fonts-noto-cjk-extra | |
9 | - | ``` | |
9 | + | ``` | |
10 | + | ||
11 | + | 注意,如上安装方法在重启后会失效 | |
12 | + | ||
13 | + | 2. 安装专用中文字体(通过 volumes 挂载) | |
14 | + | ||
15 | + | - 假设你已经将 config 目录挂载在 volumes 下 | |
16 | + | - 将字体文件存储在 `config/fonts` 下 | |
17 | + | - `Dashboard` => `Playback` => `Transcoding` => `Fallback font folder path` => `/config/fonts` | |
18 | + | ||
19 | + | 或者直接将 volumes 挂载到 `/fonts` 下 |
AimerNeige revised this gist . Go to revision
1 file changed, 3 insertions, 3 deletions
jellyfin-subtitle.md
@@ -1,9 +1,9 @@ | |||
1 | 1 | 安装中文字体(在容器中安装) | |
2 | 2 | ||
3 | 3 | ```bash | |
4 | - | $ docker exec -it <jellyfin_container_id> /bin/bash | |
4 | + | host $ docker exec -it <jellyfin_container_id> /bin/bash | |
5 | 5 | ||
6 | 6 | ||
7 | - | # apt update -y | |
8 | - | # apt install fonts-noto-cjk-extra | |
7 | + | docker # apt update -y | |
8 | + | docker # apt install fonts-noto-cjk-extra | |
9 | 9 | ``` |
AimerNeige revised this gist . Go to revision
1 file changed, 9 insertions
jellyfin-subtitle.md(file created)
@@ -0,0 +1,9 @@ | |||
1 | + | 安装中文字体(在容器中安装) | |
2 | + | ||
3 | + | ```bash | |
4 | + | $ docker exec -it <jellyfin_container_id> /bin/bash | |
5 | + | ||
6 | + | ||
7 | + | # apt update -y | |
8 | + | # apt install fonts-noto-cjk-extra | |
9 | + | ``` |