From a1198853068f14a948d07ee8bc548fdafe06d23e Mon Sep 17 00:00:00 2001 From: biezhihua Date: Sat, 10 Feb 2024 21:35:12 +0800 Subject: [PATCH] update readme --- README.md | 39 +++++++++++++++++++++++++++++++----- soda_clix_docker_release.ps1 | 3 +++ 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4cbf3306..c0969e1e 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Options: ```shell # 查看soda_clix scrape子命令 -➜ downloads soda_clix scrape +➜ soda_clix scrape 刮削资源 Usage: soda_clix scrape [OPTIONS] @@ -68,18 +68,39 @@ Options: --transfer-type 媒体从源目录转移到输出目录的方式 hard_link: 硬链接 symbol_link: 符号链接 copy: 复制 move: 移动 [default: hard_link] [possible values: hard_link, symbol_link, copy, move] --scrape-image 刮削图片 true: 刮削图片 false: 不刮削图片 --rename-style 重命名格式 emby: Emby格式 [default: emby] [possible values: emby] - --src-dir 媒体源目录 - --target-dir 媒体刮削输出目录 刮削后的文件输出目录,如果不指定则默认为src_dir - -h, --help Print help + --src 媒体源目录或文件 + --target 媒体刮削输出目录 刮削后的文件输出目录,如果不指定则默认为src + -h, --help Print help Print help ``` ```shell -# 刮削单个文件 +# 刮削文件 +➜ soda_clix scrape --resource-type mt --transfer-type hard_link --src ./xxx.mkv --target ./Target/电影 ``` +```shell +# 刮削目录 + +➜ soda_clix scrape --resource-type mt --transfer-type hard_link --src ./Src --target ./Target/电影 +``` + + ## 问题排查 +### 网络问题 + +```text +➜ downloads soda_clix scrape --resource-type mt --transfer-type hard_link --src ./Spider.Man.Across.the.Spider.Verse.2023.2160p.WEB-DL.H.265.DDP.5.1.Atmos.mkv --target ./电影 +2024-02-10 21:26:23 INFO soda::info: 配置文件目录: /root/.config/soda +2024-02-10 21:26:23 INFO soda::info: 缓存文件目录: /root/.cache/soda/cache +2024-02-10 21:26:23 INFO soda::info: 日志文件目录: /root/.cache/soda/log +2024-02-10 21:26:23 INFO soda::info: 开始检查网络 +2024-02-10 21:26:23 INFO soda::info: 开始访问: https://raw.githubusercontent.com/biezhihua/soda-resource-tools/main/soda_cli_config/soda_config.json +2024-02-10 21:26:23 INFO soda::info: 开始访问: https://api.themoviedb.org +Error: Request(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.themoviedb.org")), port: None, path: "/", query: None, fragment: None }, source: TimedOut }) +``` + ### 日志目录 #### Windows @@ -90,6 +111,14 @@ Options: 日志文件目录: C:\Users\biezhihua\AppData\Local\biezhihua\soda\cache\log ``` +#### linux + +```text +配置文件目录: /root/.config/soda +缓存文件目录: /root/.cache/soda/cache +日志文件目录: /root/.cache/soda/log +``` + ## 开发者 ### 如何编译 diff --git a/soda_clix_docker_release.ps1 b/soda_clix_docker_release.ps1 index e69de29b..f304d8b4 100644 --- a/soda_clix_docker_release.ps1 +++ b/soda_clix_docker_release.ps1 @@ -0,0 +1,3 @@ +docker build -t soda_clix . +docker tag soda_clix:latest biezhihua521/soda_clix:v0.1.2 +docker push biezhihua521/soda_clix:v0.1.2 \ No newline at end of file