Skip to content

Conversation

@sevxn007
Copy link
Member

@sevxn007 sevxn007 commented Nov 25, 2025

Motivation and Context / 背景

开启 strm 驱动保存文件至本地后,会删除一些网盘中没有的本地文件(例如削刮生成的 nfo、一些字幕文件)
添加保留本地同名文件的开关,用于保留本地的一些文件

How Has This Been Tested? / 测试

Checklist / 检查清单

  • I have read the CONTRIBUTING document.
    我已阅读 CONTRIBUTING 文档。
  • I have formatted my code with go fmt or prettier.
    我已使用 go fmtprettier 格式化提交的代码。
  • I have added appropriate labels to this PR (or mentioned needed labels in the description if lacking permissions).
    我已为此 PR 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。
  • I have requested review from relevant code authors using the "Request review" feature when applicable.
    我已在适当情况下使用"Request review"功能请求相关代码作者进行审查。
  • I have updated the repository accordingly (If it’s needed).
    我已相应更新了相关仓库(若适用)。

@sevxn007 sevxn007 requested a review from KirCute November 25, 2025 08:25
@jyxjjj jyxjjj merged commit 72206ac into OpenListTeam:main Nov 25, 2025
14 checks passed
@sevxn007 sevxn007 deleted the strm/feat branch November 25, 2025 13:39
@VergilGao
Copy link

VergilGao commented Dec 16, 2025

似乎还是有点问题啊,开启了这个功能以后,仍然会删除文件夹并重新生成 strm 文件
我现在暂停了 jellyfin 的 container
我的 strm 文件目录如下:

# root @ xiaoyu-nas in /mnt/user/strm/media/public/movies/疯狂动物城 (2016) [11:58:15]
$ ls
backdrop.jpg  folder.jpg  landscape.jpg  logo.png  movie.nfo  疯狂动物城\ (2016)\ -\ 2160p.strm

然后在 web 端访问 疯狂动物城\ (2016)\ -\ 2160p.strm 这个文件的实际目录:

# root @ xiaoyu-nas in /mnt/user/strm/media/public/movies/疯狂动物城 (2016) [11:59:19]
$ ls -al
total 4
drwx------ 1 nobody users 70 Dec 16 11:59 .
drwx------ 1 nobody users 44 Dec 15 13:14 ..
-rw-rw-r-- 1 nobody users 89 Dec 16 11:59 疯狂动物城\ (2016)\ -\ 2160p.strm

@sevxn007
Copy link
Member Author

似乎还是有点问题啊,开启了这个功能以后,仍然会删除文件夹并重新生成 strm 文件

只会保留同名且文件后缀为 下载文件类型 中的文件 如需保留全部文件 请等待#1814 合并

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

Successfully merging this pull request may close these issues.

4 participants