scttcper / qbittorrent

qBittorrent api wrapper
https://qbittorrent.vercel.app
MIT License
43 stars 14 forks source link

`listTorrents` doesn't respect empty strings as valid inputs for `category` and `tag` #114

Closed fr3fou closed 1 year ago

fr3fou commented 1 year ago

https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-torrent-list

image

Both the tag and category fields can accept an empty string, which the current implementation completely ignores:

https://github.com/scttcper/qbittorrent/blob/593035a94b470a1e01cb4eab3c6850ec841613a5/src/qbittorrent.ts#L172-L178

scttcper commented 1 year ago

:tada: This issue has been resolved in version 5.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

scttcper commented 1 year ago

Thanks for reporting, just as a heads up, this client does not seem to work well with the recently released version of qbittorrent 4.5