Carseason / routerdog

https://www.routerdog.top/
135 stars 5 forks source link

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

Closed Cytuslcy closed 8 months ago

Cytuslcy commented 8 months ago

现象: 已经安装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

Carseason commented 8 months ago

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

Cytuslcy commented 8 months ago

拉的nyanmisaka/jellyfin

Carseason commented 8 months ago

你可以看看你的 /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

重启一下进程就行

Carseason commented 8 months ago

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

/etc/init.d/routergo restart

应该就可以了

Cytuslcy commented 8 months ago

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