为什么我的qbittorrent搜索插件不支持?

问题描述 投票:0回答:1

我开始为 qBitTorrent 编写一个搜索插件,用于搜索 torrent 网站。

我按照 qbittorrent wiki 中给出的说明进行操作:https://github.com/qbittorrent/search-plugins/wiki/How-to-write-a-search-plugin

但是,当我尝试安装它时,出现错误:

Couldn't install "zetorrents" search engine plugin. Plugin is not supported.

我已经有几个运行良好的搜索插件了

我浏览了这些过时的线程

并尝试了他们的解决方案(主要清除 qbittorrent nova3 的缓存),但没有运气

我相信我的代码是问题所在,但我无法理解为什么。

我来这里寻求帮助来完成这个在 Github 上可用的小项目: https://github.com/alexandre-eliot/zetorrents_qbittorrent_search_plugin

我还尝试测试我的搜索插件如维基中但没有得到输出

如果有人对此事的原因有任何线索,我将非常高兴听到您的评论

python plugins bittorrent torrent
1个回答
0
投票

让这成为所有开发人员和我自己的一个教训。 让这提醒我们,我们都应该对我们的工作保持谦虚,对我们的失败感到自豪。

问题很简单,但在我看来却是透明的。

我的班级名为

zeTorrents
,保存的文件名为
zetorrents.py

令我头疼的罪魁祸首很简单却无所畏惧:一个大写字母。

在编程时,文件名和它所包含的类通常应该命名相同。

我必须将

zeTorrents
更改为
zetorrents
才能让 qBitTorrent 接受我的插件

© www.soinside.com 2019 - 2024. All rights reserved.