Skip to content

Instantly share code, notes, and snippets.

@pwmckenna
Created April 25, 2013 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwmckenna/5461178 to your computer and use it in GitHub Desktop.
Save pwmckenna/5461178 to your computer and use it in GitHub Desktop.
remove torrents
var firstTorrent = btapp.get('torrent').at(0);
firstTorrent.remove(); // leaves the downloaded content
var specificTorrent = btapp.get('torrent').get('088529EC697C3D2AE7E1D10541CCE5287B44918C');
specificTorrent.remove(3); //removes both torrent and content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment