Skip to main content

TorrentRemove

The TorrentRemove action removes a torrent and optionally removes the data as well.

Inputs

  • remove_files - a boolean that, if set to true, tells Porla to remove the data along with the torrent. Defaults to false.

Example usage

local Workflow      = require "porla.Workflow"
local TorrentRemove = require "porla.actions.TorrentRemove"

return Workflow:new{
on = "TorrentFinished",
actions = {
TorrentRemove:new{
remove_files = true
}
}
}