gdm85/go-libdeluge

Feature: Label included in the TorrentStatus struct

Closed this issue · 3 comments

Hi,

Would it be possible for the torrents label to be included in the returned TorrentStatus struct?

This piece of information is vital for any applications that may be using your package to discover torrents that meet certain criteria’s.

The property was there previously, however has since been removed.

Thanks

gdm85 commented

The property was there previously, however has since been removed.

It was introduced in #7 and removed in 997d366 because if the server has the plugin disabled it does not allow to fetch any torrent status.

Restoring the functionality as it was implemented is not an option; I am working on an implementation that allows to use plugins explicitly and only if possible.

I see, makes sense and good to hear theres an implementation being worked on.

I assume it will involve validating these capabilities are available (via exposed methods), perhaps on connect?

gdm85 commented

I have implemented this in latest tagged v0.4.1 and added an explanation in the README.