Skip to content

Conversation

RedSTARO
Copy link
Contributor

@RedSTARO RedSTARO commented Aug 2, 2025

Allow user set some file types that need to shown with strm, usually subtitles

Now I have implemented the function of displaying custom files, but I don't understand which function is responsible for managing the actual return file links, please let me know and I will update and commit it

允许在生成Strm的同时下载一些文件,通常为字幕
现在我已经实现了显示文件,但是还没有搞明白负责实际返回文件链接的是哪一个部分,drivers的模板中似乎没有提及。烦请告知,我会继续跟进commit,谢谢!

@RedSTARO
Copy link
Contributor Author

RedSTARO commented Aug 3, 2025

image Update: Download and Copy still broken

@hshpy
Copy link
Contributor

hshpy commented Aug 3, 2025

image Update: Download and Copy still broken

字幕资源返回的文件大小不对导致的
https://github.com/OpenListTeam/OpenList/blob/main/drivers/strm/util.go#L54 这里也得改,字幕资源也返回obj.GetSize()
list函数里downloadObjs 的处理参考 https://github.com/OpenListTeam/OpenList/blob/main/drivers/alias/util.go#L72

@RedSTARO
Copy link
Contributor Author

RedSTARO commented Aug 3, 2025

现在应该没有问题了
:>

@hshpy
Copy link
Contributor

hshpy commented Aug 3, 2025

现在应该没有问题了 :>

你测试没问题就把代码整理下,字幕是小文件没必要多线程下载,.gitignore也加进来了。

Allow user set some file types that need to shown with strm, usually subtitles

Most of code was copy and managed from drivers/alias
@RedSTARO
Copy link
Contributor Author

RedSTARO commented Aug 3, 2025

已强制推送,多线程下载我应该没动,还是默认的,主要只改了文件link和list部分

现在应该没有问题了 :>

你测试没问题就把代码整理下,字幕是小文件没必要多线程下载,.gitignore也加进来了。

Copy link
Contributor Author

@RedSTARO RedSTARO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done, thanks!
感谢帮助!

@RedSTARO
Copy link
Contributor Author

RedSTARO commented Aug 4, 2025

对了,就这两天的体验来说,OpenList的复制如果目标储存有父目录好像就不会复制了,即使子目录不同,也不会增量复制,如果可以加一个增量复制对网盘限额之类的会很友好

j2rong4cn
j2rong4cn previously approved these changes Aug 5, 2025
@RedSTARO
Copy link
Contributor Author

RedSTARO commented Aug 6, 2025

请问什么时候可以合并进beta呢,服务器上需要这个功能,感谢!

@j2rong4cn j2rong4cn merged commit 0483e0f into OpenListTeam:main Aug 6, 2025
8 checks passed
@RedSTARO
Copy link
Contributor Author

RedSTARO commented Aug 6, 2025

感谢!

@yuans1989
Copy link

建议nfo和jpg也加在里面

@RedSTARO
Copy link
Contributor Author

RedSTARO commented Aug 9, 2025

建议nfo和jpg也加在里面

NFO可能会有写入吧 所以当时没考虑

@hshpy
Copy link
Contributor

hshpy commented Aug 9, 2025

建议nfo和jpg也加在里面

建议nfo和jpg也加在里面

可以在驱动的下载类型项自己加

@tnnevol
Copy link

tnnevol commented Aug 12, 2025

这个功能会在什么时候推到release,挺需要这个功能的

@liufurusu
Copy link

iso格式没有生成

@hshpy
Copy link
Contributor

hshpy commented Aug 24, 2025

iso格式没有生成

配置页面过滤类型自己添加

@liufurusu
Copy link

iso格式没有生成

配置页面过滤类型自己添加

image 设置了一样没有出现,怎么设置的? 不是过滤吗

@hshpy
Copy link
Contributor

hshpy commented Aug 24, 2025

iso格式没有生成

配置页面过滤类型自己添加

image 设置了一样没有出现,怎么设置的? 不是过滤吗

只写iso

@liufurusu
Copy link

image image image 4.0.9版本 。一样是不行的也刷新了

@hshpy
Copy link
Contributor

hshpy commented Aug 24, 2025

image image image 4.0.9版本 。一样是不行的也刷新了

可以的,不然你就更新4.1.1或beta版

@liufurusu
Copy link

好吧 版本的问题 。更新4.1.1 可以了 谢谢

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.

7 participants