Auto generate .strm file for EMBY or Jellyfin server use Alist API
使用 Alist API自动生成 .strm 文件用于 EMBY 或 Jellyfin 服务器
D:\AlistAutoStrm\bin>ass_windows_amd64.exe --help
NAME:
AlistAutoStrm - Auto generate .strm file for EMBY or Jellyfin server use Alist API
USAGE:
AlistAutoStrm [global options] command [command options] [arguments...]
VERSION:
1.1.1
DESCRIPTION:
Auto generate .strm file for EMBY or Jellyfin server use Alist API
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config FILE, -c FILE Load configuration from FILE (default: "config.json") [%ALIST_AUTO_STRM_CONFIG%]
--help, -h show help
--version, -v print the version
D:\AlistAutoStrm\bin>ass_windows_amd64.exe --config config.json
{
"endpoint": "https://alist.cn",
"username": "",
"password": "",
"inscure-tls-verify": false,
"debug": false,
"timeout": 30,
"dirs": [
{
"remote-dir": "/",
"local-dir": "path_to_local_directory",
"disabled":false,
"force-refresh":false,
"not-recursive":false,
"create-sub-directory":false
}
],
"exts": [
".mp4",
".mkv",
".avi"
],
"create-sub-directory": false,
"max-connections": 10
}
endpoint: https://alist.cn
username: ""
password: ""
inscure-tls-verify: false
debug: false
timeout: 30
dirs:
- remote-dir: /
local-dir: path_to_local_directory
disabled: false
force-refresh: false
not-recursive: false
create-sub-directory: false
exts:
- .mp4
- .mkv
- .avi
create-sub-directory: false
max-connections: 10
global create-sub-directory
option is high proriority than per dir create-sub-directory
option
全局 create-sub-directory
优先级高于各自目录的create-sub-directory
设置
for example 举例说明:
- global
create-sub-directory
istrue
, per dircreate-sub-directory
no matter what is, final result istrue
;
当全局create-sub-directory
设置为true
时, 各自目录的create-sub-directory
设置无关紧要, 最终结果为true
; - global
create-sub-directory
is false, per dircreate-sub-directory
is true, final result is true;
当全局create-sub-directory
设置为false
时, 各自目录的create-sub-directory
设置为true
时, 最终结果为true
;
force-refresh
option is control whether to refresh the remote directory per request or not, default is false
. Attention: set it to true
may cause some issue.
force-refresh
选项控制是否每次请求时强制刷新远端目录,默认为 false
,注意: 设置为 true
时可能会导致一些问题。
not-recursive
option is control whether to generate .strm file recursively or not, default is false
.
not-recursive
选项控制是否递归生成 .strm 文件,默认为 false
。
MIT License