search-plugins
search-plugins copied to clipboard
Double click on WebUI doesn't open AddDialog
Hi, I am a unofficial plugin maintainer.
I follow the guidelines but almost all my plugins are not usable in the WebUI:
- The WebUI implementation seems to ignore the download_torrent implementation, I opened a issue on qbit repo but still no news about it: https://github.com/qbittorrent/qBittorrent/issues/18334
I have noticied that WebUI uses directly the "link" record when "Right Click -> Download" so I managed to workaround the issue by moving the download retrieving logic during the parsing.
Now the issue is that when I double click on a torrent entry nothing happens: I am forced to "Right Click -> Download" everytime.
Official search plugin instead work flawless with double click... Any idea?
You can check my implementations here: Repository
You have to implement something like this:
from helpers import download_file
def download_torrent(self, download_url):
if download_url.startswith('magnet:?'):
print(download_url + " " + download_url)
else:
print(download_file(download_url))
Related => https://github.com/qbittorrent/search-plugins/blob/4d846133939ed930e1beb97e8ff0905a2be6db55/nova3/engines/jackett.py#L66
bumping for progress
@ngosang Still nothing.
I have found that the "double click" works only when the search is still running. When the search ends, the double click will not work anymore.