{"action":"closed","issue":{"url":"https://api.github.com/repos/jackpal/Taipei-Torrent/issues/86","labels_url":"https://api.github.com/repos/jackpal/Taipei-Torrent/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/jackpal/Taipei-Torrent/issues/86/comments","events_url":"https://api.github.com/repos/jackpal/Taipei-Torrent/issues/86/events","html_url":"https://github.com/jackpal/Taipei-Torrent/issues/86","id":63434568,"number":86,"title":"Feature request: run program on download completion","user":{"login":"mfischer-zd","id":984199,"avatar_url":"https://avatars.githubusercontent.com/u/984199?v=3","gravatar_id":"","url":"https://api.github.com/users/mfischer-zd","html_url":"https://github.com/mfischer-zd","followers_url":"https://api.github.com/users/mfischer-zd/followers","following_url":"https://api.github.com/users/mfischer-zd/following{/other_user}","gists_url":"https://api.github.com/users/mfischer-zd/gists{/gist_id}","starred_url":"https://api.github.com/users/mfischer-zd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfischer-zd/subscriptions","organizations_url":"https://api.github.com/users/mfischer-zd/orgs","repos_url":"https://api.github.com/users/mfischer-zd/repos","events_url":"https://api.github.com/users/mfischer-zd/events{/privacy}","received_events_url":"https://api.github.com/users/mfischer-zd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-21T17:43:54Z","updated_at":"2015-03-24T16:03:01Z","closed_at":"2015-03-24T16:03:01Z","body":"It's be nice to run a program when a download is complete -- e.g.\r\n\r\n`TaipeiTorrent -execOnComplete=\"/usr/local/bin/download_completed\" myFiles.torrent`\r\n\r\nBefore the -execOnComplete program is run, some environment variables could be set, like TORRENT (path to the torrent) etc."}}