github mrobinsn/go-rtorrent v1.5.0

latest releases: v1.8.0, v1.7.0, v1.6.0...
4 years ago

Adds the capability to set certain attributes as an item is being added.

For instance to set the label at the same time as adding a torrent:

rtorrentClient.Add("some-torrent-url", DLabel.SetValue("my-label");

Added the types Field and Field Value.

  • Field represents the current supported (and used) attributes by this library on "Download Items" (d.* commands) and "File Items" (f.* commands)
  • FieldValue is a convenience type to hold and convert a particular Field that one wants to set on a rTorrent item.

Thanks to @Burmudar for this contribution.

Don't miss a new go-rtorrent release

NewReleases is sending notifications on new releases.