15.家庭影院,我选Jellyfin
文章目录
- 什么是Jellyfin?
- 上效果
- 为什么选jellyfin?
- 安装
- docker-compose方式
- k8s方式
- 问题
- Jellyfin媒体库封面显示方块字
什么是Jellyfin?
https://jellyfin.org/
Jellyfin enables you to collect, manage, and stream your media.
Jellyfin 使你能够收集、管理并串流播放你的媒体内容
上效果
收集了好多电视剧,会自动刮削。
给大家看看,我最喜欢的不良人。
为什么选jellyfin?
https://github.com/awesome-selfhosted/awesome-selfhosted#media-streaming—multimedia-streaming
安装
docker-compose方式
docker-compose up -d
#https://jellyfin.org/docs/general/installation/container#using-docker-compose
version: '3.5'
services:jellyfin:restart: alwaysimage: jellyfin/jellyfincontainer_name: jellyfinnetwork_mode: macvlanvolumes:- /root/jellyfin/config:/config- /root/jellyfin/cache:/cache- /multimedia:/mediadepends_on:- xteve_guide2goxteve_guide2go:restart: alwaysimage: alturismo/xteve_guide2gocontainer_name: xteve_guide2gonetwork_mode: macvlanenvironment:- TZ=Asia/Shanghaiports:- "34400:34400"volumes:- /root/xteve/:/root/.xteve:rw \- /root/xteve/_config/:/config:rw \- /root/xteve/_guide2go/:/guide2go:rw \- /root/xteve/tmp/:/tmp/xteve:rw \- /root/xteve/tvheadend/:/TVH \
k8s方式
https://truecharts.org/charts/stable/jellyfin/
values.yaml如下:
# https://github.com/truecharts/public/blob/master/charts/stable/jellyfin/values.yaml
persistence:config:enabled: truemountPath: "/config"config:mountPath: /multimedia# https://github.com/truecharts/public/blob/master/website/src/content/docs/common/persistence/hostPath.md#hostpathtypehostPathType: DirectoryOrCreate# https://github.com/truecharts/public/blob/master/website/src/content/docs/common/persistence/hostPath.md#hostpathtype: hostPathhostPath: /mnt/multimedia/TV
helm方式安装
helm upgrade --install -n jellyfin --create-namespace jellyfin oci://tccr.io/truecharts/jellyfin -f values.yaml
域名配置
# https://doc.traefik.io/traefik/reference/routing-configuration/kubernetes/crd/http/ingressroute/
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:name: traefik-hostnamespace: jellyfin
spec:entryPoints:- webroutes:- match: Host(`jellyfin.k8s.home.love`) kind: Ruleservices:- name: jellyfinport: 8096
安装xteve
helm upgrade --install -n xteve --create-namespace xteve oci://tccr.io/truecharts/xteve
问题
Jellyfin媒体库封面显示方块字
apt install fonts-noto-cjk-extradocker commit fcfdd6432a8b registry.cn-hangzhou.aliyuncs.com/duhongming/jellyfin:10.8.7
docker push registry.cn-hangzhou.aliyuncs.com/duhongming/jellyfin:10.8.7debian乱码
dpkg-reconfigure locales//拉到最后,通过空格键选择以下几个,然后回车
en_US.UF8 UTF-8zh_CN GB2312zh_CN.GBK GBKzh_CN.UTF-8 UTF-8下一步的默认locales再选 zh_CN.UTF-8重启生效