Carseason/routerdog

如何在路由狗中配置jellyfin api key

Closed this issue · 5 comments

现象:
已经安装jellyfin并在jellyfin中配置了api key,但路由狗中提示错误
2
image

log日志:
time=2024-03-20T15:29:58.165Z level=WARN msg="record not found"
time=2024-03-20T15:29:58.165Z level=WARN msg="parse error: expected option name"
time=2024-03-20T15:30:19.516Z level=WARN msg="record not found"
time=2024-03-20T15:30:19.516Z level=WARN msg="parse error: expected option name"
time=2024-03-21T05:59:14.067Z level=WARN msg="record not found"
time=2024-03-21T05:59:14.067Z level=WARN msg="reading config file failed: open /etc/config/jellyfin: no such file or directory"

jellyfin配置路径为/mnt/nvme0n1-1/app/Jellyfin
routergo配置路径为/mnt/nvme0n1-1/app/RouterGo

这个是你自己安装的 jellyfin吗? 不是 istore商店里的?

拉的nyanmisaka/jellyfin

你可以看看你的 /etc/config/jellyfin 文件
如果不存在的话就手动创建一个,补上config_path就行

config jellyfin
	option hostnet '0'
	option port '8096'
	option config_path '/mnt/nvme0n1-1/app/Jellyfin'

config_path 指向你jellyfin的配置目录就可以了

/etc/init.d/routergo restart

重启一下进程就行

如果已经存在的话,就
cat /etc/config/jellyfin 看看 配置目录是不是正确的,正确的话就直接

/etc/init.d/routergo restart

应该就可以了

可以了,将option config_path '/mnt/nvme0n1-1/app/Jellyfin'指向自己的jellyfin配置路径即可,多谢!