Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

該如何映射jellyfin的媒體目錄? #93

Closed
xiNeRoar opened this issue Sep 27, 2023 · 9 comments
Closed

該如何映射jellyfin的媒體目錄? #93

xiNeRoar opened this issue Sep 27, 2023 · 9 comments

Comments

@xiNeRoar
Copy link

假如jellyfin的媒體目錄是
media>movie>movie1, movie2, movie3, ...
請問該如何映射媒體路徑?
是該修改Static_path嗎?

OPENAI_API_KEY=` # OpenAI API KEY
GOOGLE_TRANSLATE_API_KEY= # Google API KEY(Can be left blank)
BASE_URL= # OpenAI API URL
WEB_PORT=3000 # Front-end port
SERVER_PORT=3001 # Backend port

STATIC_PATH=/static # Static file path
OUTPUT_SRT_THEN_TRANSLATE=true # Whether to output the SRT file first and then translate it
LANGUAGE=zh-CN # Output SRT file and then translate the language
TRANSLATE_DELAY=1500 # Delay between calling translation interface
TRANSLATE_GROUP=4 # Translate sentences for grouping translation, how many sentences can be translated at most at a time
TranslateModel=google # google or gpt3

REDIS_PORT=6379 # Redis port
REDIS_HOST=subtitle_redis # Redis address
MYSQL_HOST=subtitle_mysql # MySQL address
MYSQL_PORT=3306 # MySQL port
MYSQL_USER=root # MySQL user
MYSQL_PASSWORD=123456 # MySQL password
MYSQL_DATABASE=gpt_subtitle # MySQL Database name

API_URL=http://localhost:3001 # Backend API address
NEXT_PUBLIC_API_URL=http://localhost:3001 # Same as above. Backend API address
WEB_URL=http://localhost:3000 # Web address
NEXT_PUBLIC_WEB_URL=http://localhost:3000 # Same as above. WEB address

@hqwuzhaoyi
Copy link
Owner

你可以映射到 uploads/video 文件夹,比如像我下面这😁

CleanShot 2023-09-28 at 16 45 37@2x

@hqwuzhaoyi
Copy link
Owner

.env 文件不会影响到文件路径。如果在使用过程中您遇到任何疑问或问题,我非常欢迎您随时与我取得联系,我会尽我所能为您提供帮助和支持。

@xiNeRoar
Copy link
Author

好謝謝 我先試試看 因為有點看不太明白 謝謝你

@hqwuzhaoyi
Copy link
Owner

hqwuzhaoyi commented Sep 28, 2023 via email

@xiNeRoar
Copy link
Author

嘗試了很多次用portainer去deploy;
結果都跑出下面的error 沒法試用:(
failed to deploy a stack: listing workers for Build: failed to list workers: Unavailable: connection error: desc = "error reading server preface: http2: frame too large"

@hqwuzhaoyi
Copy link
Owner

hqwuzhaoyi commented Sep 28, 2023 via email

@xiNeRoar
Copy link
Author

好的我嘗試看看 謝謝

@xiNeRoar
Copy link
Author

感覺能力有限 部署的過程中又出現了fail to build web 我想我還是等你的jellyfin plugin出來後再使用好了

@hqwuzhaoyi
Copy link
Owner

看着报错好像是存储空间满了

非常感谢您的关注与理解,我会在后续的更新中优化 Docker 的部署配置。

再次表示感谢,也很高兴看到您对本项目的尝试和使用,期望未来能够为您带来更加完善和优质的体验。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants