From 7a2091a13eb7ba2fb98bc996d830517033a0bdf5 Mon Sep 17 00:00:00 2001 From: seven <2260006962@qq.com> Date: Tue, 16 Dec 2025 15:44:32 +0800 Subject: [PATCH 1/4] docs(strm): add save local mode --- pages/guide/advanced/strm.md | 41 ++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/pages/guide/advanced/strm.md b/pages/guide/advanced/strm.md index 81666cea3..d5bdeddff 100644 --- a/pages/guide/advanced/strm.md +++ b/pages/guide/advanced/strm.md @@ -4,9 +4,11 @@ ::: warning Important Notes Please understand the function of strm files before use -Only the **`Download Preview (Read-Only)`** operation is supported. Other operations such as **Copy, Delete, Rename, Offline Download, Upload** are **not supported**. +Only the **`Download Preview (Read-Only)`** operation is supported. Other operations such as **Copy, Delete, Rename, +Offline Download, Upload** are **not supported**. -Strm uses a local proxy method, and during the **`Download Preview (Read-Only)`** operation, it will consume bandwidth from the deployed machine (depending on the number of files; individual files typically consume less than 100KB). +Strm uses a local proxy method, and during the **`Download Preview (Read-Only)`** operation, it will consume bandwidth +from the deployed machine (depending on the number of files; individual files typically consume less than 100KB). ::: ::: en @@ -23,7 +25,8 @@ Strm uses a local proxy method, and during the **`Download Preview (Read-Only)`* For example, if the directory /115_open/Video contains the file:`/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.mkv` - And you enter http://localhost:5244 as the Site URL, the generated .strm file will point to: `http://localhost:5244/115_open/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.strm` + And you enter http://localhost:5244 as the Site URL, the generated .strm file will point to: + `http://localhost:5244/d/115_open/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.strm` This field is optional. If left blank, the current access URL will be used as the default prefix. @@ -44,17 +47,27 @@ Strm uses a local proxy method, and during the **`Download Preview (Read-Only)`* - **Encode Path:** Whether to enable URL path encoding. If disabled, the .strm URL will be: - `http://localhost:5244/115_open/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.stm` + `http://localhost:5244/d/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.stm` If enabled, it will be: - `http://localhost:5244/Video/%E7%94%B5%E5%BD%B1/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)%20-%202160p.mkv` + `http://localhost:5244/d/Video/%E7%94%B5%E5%BD%B1/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)%20-%202160p.mkv` - **Without Url:** The generated strm file after opening will not contain URL prefixes -- **SaveStrmToLocal:** When enabled, accessing a directory within or mounted by the Strm driver will save the Strm files locally +- **SaveStrmToLocal:** When enabled, accessing a directory within or mounted by the Strm driver will save the Strm files + locally - **SaveStrmLocalPath:** The local directory path where Strm files are stored. +- **Local Save Mode:** + + `Insert Mode`: Only generate files that do not exist locally; existing local files will not be modified. + + `Update Mode`: Generate files that do not exist locally and update the content of existing local files to the latest + version. + + `Sync Mode`: Based on Update Mode, additionally delete local files that no longer exist on the cloud drive. + ::: ::: zh-CN @@ -85,7 +98,8 @@ Strm采用本地代理方式,在 **`下载预览(只读)`** 操作时会 如在`/115_open/Video`目录下有`/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.mkv` - 填写`http://localhost:5244` 则生成的Strm文件为`http://localhost:5244/115_open/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.strm` + 填写`http://localhost:5244` 则生成的Strm文件为 + `http://localhost:5244/d/115_open/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.strm` 此项可默认不填、不填时URL前缀会采用你当前访问的地址作为URL前缀 @@ -105,9 +119,10 @@ Strm采用本地代理方式,在 **`下载预览(只读)`** 操作时会 - **编码路径**:是否启用路径编码 - 不启用时生成的strm文件为 `http://localhost:5244/115_open/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.stm` + 不启用时生成的strm文件为 `http://localhost:5244/d/Video/电影/再见,李可乐 (2023)/再见,李可乐 (2023) - 2160p.stm` - 启用时`http://localhost:5244/Video/%E7%94%B5%E5%BD%B1/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)%20-%202160p.mkv` + 启用时 + `http://localhost:5244/d/Video/%E7%94%B5%E5%BD%B1/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)%20-%202160p.mkv` - **不包含URL前缀**:开启后生成的strm文件将不包含URL前缀 @@ -115,4 +130,12 @@ Strm采用本地代理方式,在 **`下载预览(只读)`** 操作时会 - **保存Strm文件本地路径**: strm文件保存的本地路径 +- **保存本地模式**: + + `新增模式`: 仅对本地没有的文件进行生成,对本地文件不进行任何操作 + + `更新模式`: 对本地没有的文件进行生成同时更新本地文件内容至最新 + + `同步模式`: 在更新模式的基础上删除本地中网盘没有的文件 + ::: From 7b5157b842ee17acebe64c605ea45422052bddca Mon Sep 17 00:00:00 2001 From: seven <2260006962@qq.com> Date: Tue, 23 Dec 2025 09:06:47 +0800 Subject: [PATCH 2/4] docs(strm): add save local mode --- pages/guide/advanced/strm.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/guide/advanced/strm.md b/pages/guide/advanced/strm.md index d5bdeddff..9795abd7e 100644 --- a/pages/guide/advanced/strm.md +++ b/pages/guide/advanced/strm.md @@ -54,8 +54,7 @@ from the deployed machine (depending on the number of files; individual files ty - **Without Url:** The generated strm file after opening will not contain URL prefixes -- **SaveStrmToLocal:** When enabled, accessing a directory within or mounted by the Strm driver will save the Strm files - locally +- **SaveStrmToLocal:** When enabled, accessing a directory within or mounted by the Strm driver will save the Strm files locally - **SaveStrmLocalPath:** The local directory path where Strm files are stored. From 5368debe87f2ccef0490c3a04884dc0949e22d79 Mon Sep 17 00:00:00 2001 From: dezhishen <26274059+dezhishen@users.noreply.github.com> Date: Mon, 5 Jan 2026 10:12:48 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix(strm):=20=E4=BF=AE=E5=A4=8D=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E9=94=99=E8=AF=AF=EF=BC=8C=E7=A7=BB=E9=99=A4=E9=A9=B1?= =?UTF-8?q?=E5=8A=A8strm=E7=9A=84=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/guide/advanced/strm.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pages/guide/advanced/strm.md b/pages/guide/advanced/strm.md index bf9729b8b..57019d2fd 100644 --- a/pages/guide/advanced/strm.md +++ b/pages/guide/advanced/strm.md @@ -21,9 +21,9 @@ Strm uses a local proxy method, and during the **`Download Preview (Read-Only)`* from the deployed machine (depending on the number of files; individual files typically consume less than 100KB). ::: -::: en +### Parameter Descriptions { lang="en" } -### Parameter Descriptions +::: en - **Path:** The full path in OpenList where .strm files should be generated. Examples: @@ -90,9 +90,9 @@ from the deployed machine (depending on the number of files; individual files ty Strm采用本地代理方式,在 **`下载预览(只读)`** 操作时会消耗一定部署机器的流量(取决于文件数量、单个文件一般不超过100KB) ::: -::: zh-CN +### 参数介绍 { lang="zh-CN" } -### 参数介绍 +::: zh-CN - **路径**:需要生成strm文件的`OpenList上的完整路径`。 @@ -148,6 +148,3 @@ Strm采用本地代理方式,在 **`下载预览(只读)`** 操作时会 `同步模式`: 在更新模式的基础上删除本地中网盘没有的文件 ::: - - - From 01d2bac02a1ca8e07f637a29c1e993e77deded5e Mon Sep 17 00:00:00 2001 From: dezhishen <26274059+dezhishen@users.noreply.github.com> Date: Tue, 6 Jan 2026 17:04:28 +0800 Subject: [PATCH 4/4] =?UTF-8?q?fix(strm):=20=E4=BF=AE=E6=94=B9=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E8=A1=A8=E8=BE=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/guide/advanced/strm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/guide/advanced/strm.md b/pages/guide/advanced/strm.md index 57019d2fd..0232bf039 100644 --- a/pages/guide/advanced/strm.md +++ b/pages/guide/advanced/strm.md @@ -17,7 +17,7 @@ Please understand the function of strm files before use Only the **`Download Preview (Read-Only)`** operation is supported. Other operations such as **Copy, Delete, Rename, Offline Download, Upload** are **not supported**. -Strm uses a local proxy method, and during the **`Download Preview (Read-Only)`** operation, it will consume bandwidth +Strm uses a local proxy method, and during the **`Download Preview (Read-Only)`** operation, it will consume traffic from the deployed machine (depending on the number of files; individual files typically consume less than 100KB). ::: @@ -62,7 +62,7 @@ from the deployed machine (depending on the number of files; individual files ty If enabled, it will be: `http://localhost:5244/d/Video/%E7%94%B5%E5%BD%B1/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)/%E5%86%8D%E8%A7%81%EF%BC%8C%E6%9D%8E%E5%8F%AF%E4%B9%90%20(2023)%20-%202160p.mkv` -- **Without Url:** The generated strm file after opening will not contain URL prefixes +- **Without Url:** The generated strm file will not contain URL prefixes - **SaveStrmToLocal:** When enabled, accessing a directory within or mounted by the Strm driver will save the Strm files locally