Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello frens, I recently installed qBittorrent in a docker under Synology NAS and needed a way to confirm that my VPN configuration (made also in docker) actually works. I couldn't find a way to natively display such information in qBittorrent, there is no browser window too, so I wrote a simple search plugin and "hijacked" it to perform the request for me.
I hope you like it and that it gets included in qBittorrent, and maybe, in the future, even as a native feature available from the menu, but in the meantime, this is a good enough way to go.
If for any reason you don't think it is a great idea, feel free to ignore it as I already accomplished my goal. However, I believe it can be a handy tool for those who need to ensure their VPN is working correctly with qBittorrent, hence why I am making the effort to share it.
Cheers! 🥂
This is how it looks
PS: I later found out that it is possible to learn the IP from the View > Log -> Execution Log -> filter:"Detected external IP", but this is not too comfortable for me. With the "workaround" above, I can verify my IP every time I search new torrents. The best solution would obviously probably be if the IP was right on the status bar, but that's a major change out of the scope of this simple plugin.