alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
39.44k stars 5.12k forks source link

Docker 版本的 AList 关于离线下载能否增加自定义路径 #6490

Open cnhap opened 1 month ago

cnhap commented 1 month ago

Please make sure of the following things

Description of the feature / 需求描述

我安装的AList 版本是 v3.34.0 需求在离线下载页面可以添加自定义路径的功能,将此路径传给aria2

Alist

如上图所示 Docker 版本的镜像可以和qBittorrent和aria2建立联系.

因别的容器有用到aria2 有单独的 aria2容器 aria2 日志如下,下载到容器里的 /opt/alist/data/temp/aria2/

05/22 09:51:49 [NOTICE] Serialized session to '/config/aria2.session' successfully. 05/22 09:51:53 [NOTICE] Download complete: [MEMORY][METADATA]The.Fall.Guy.2024.1080p.AMZN.WEBRip.1400MB.DD5.1.x264-GalaxyRG 05/22 09:51:53 [NOTICE] Saving metadata as /opt/alist/data/temp/aria2/32709cc6-d931-4be3-a25d-52bdb0c8df14/90b15a09117ec699ee5d335c7fd39a12035dbabc.torrent failed. Maybe file already exists. 05/22 09:51:53 [WARRING] Number of files is zero, maybe a Magnet Link. 05/22 09:57:44 [NOTICE] Seeding is over. 05/22 09:57:44 [ERROR] Exception caught Exception: [RequestGroup.cc:291] errorCode=12 InfoHash 90b15a09117ec699ee5d335c7fd39a12035dbabc is already registered. 05/22 09:57:44 [NOTICE] Download GID#3c627f29f41c5b73 not complete: [METADATA]The.Fall.Guy.2024.1080p.AMZN.WEBRip.1400MB.DD5.1.x264-GalaxyRG 05/22 09:57:44 [WARRING] Number of files is zero, maybe a Magnet Link. 05/22 09:57:45 [NOTICE] Serialized session to '/config/aria2.session' successfully. 05/22 09:57:51 [NOTICE] Download complete: /opt/alist/data/temp/aria2/32709cc6-d931-4be3-a25d-52bdb0c8df14/The.Fall.Guy.2024.1080p.AMZN.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx] 05/22 09:57:51 [NOTICE] Your share ratio was 0.0, uploaded/downloaded=48MiB/1.4GiB 05/22 09:57:51 [INFO] .aria2 file does not exist. 05/22 09:57:53 [WARRING] .torrent file does not exist. 05/22 09:57:53 [INFO] Deleting empty directory ...

Suggested solution / 实现思路

进入aria2的容器查看到有下载文件,应该转移的时候出错,能否在AList的离线下载配置地方增加一个目录的填写地方,这个地址在2个容器里都有访问的权限,这样就可以解决跨容器离线下载的问题了.qBittorrent没有深入研究,进入qBittorrent 有看到添加的种子报错.才接触AList,也有可能我了解的不够多.说错请原谅,并请告知 谢谢

Additional context / 附件

No response

welcome[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the issue template!

github-actions[bot] commented 1 month ago

See

  1. 53% #3434