Created
April 25, 2013 16:38
-
-
Save pwmckenna/5461178 to your computer and use it in GitHub Desktop.
remove torrents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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