Skip to content

Rss以及Client增加参数link,把种子详情链接传递给client类的addTorrent方法以及deleteTorrent方法增加判断删种规则是否启用通知#39

Open
lcylgs wants to merge 1 commit intovertex-app:stablefrom
lcylgs:stable

Conversation

@lcylgs
Copy link

@lcylgs lcylgs commented Dec 11, 2023

modified: app/common/Client.js
modified: app/common/Rss.js
modified: app/libs/client/de.js
modified: app/libs/client/qb.js
modified: app/libs/client/tr.js

Rss以及Client增加参数link,把种子详情链接传递给client类的addTorrent方法
并在配置paused为true时在qb客户端把link传递给tags,方便qb客户端直接获取到种子详情链接。

Client的deleteTorrent方法增加判断删种规则是否启用通知,如规则配置不启用(前端未适配),则删种不触发消息通知。

	modified:   app/common/Rss.js
	modified:   app/libs/client/de.js
	modified:   app/libs/client/qb.js
	modified:   app/libs/client/tr.js
@lcylgs lcylgs closed this Dec 11, 2023
@lcylgs lcylgs reopened this Dec 11, 2023
@vertex-app
Copy link
Owner

感觉前面加 link 这个功能不是太有必要,不过还是合了吧,下面那个有能力加下前端吗

};

async addTorrent (torrentUrl, hash, isSkipChecking = false, uploadLimit = 0, downloadLimit = 0, savePath, category, autoTMM, paused) {
async addTorrent (link,torrentUrl, hash, isSkipChecking = false, uploadLimit = 0, downloadLimit = 0, savePath, category, autoTMM, paused) {
Copy link
Owner

Choose a reason for hiding this comment

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

link, torrentUrl

格式注意下,其它地方也是,过不了 eslint

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.

2 participants