{"action":"created","issue":{"url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/32","labels_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/32/comments","events_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/32/events","html_url":"https://github.com/frostwire/frostwire-jlibtorrent/issues/32","id":98634283,"number":32,"title":"session.AddTorrent flags","user":{"login":"tchoulihan","id":930215,"avatar_url":"https://avatars.githubusercontent.com/u/930215?v=3","gravatar_id":"","url":"https://api.github.com/users/tchoulihan","html_url":"https://github.com/tchoulihan","followers_url":"https://api.github.com/users/tchoulihan/followers","following_url":"https://api.github.com/users/tchoulihan/following{/other_user}","gists_url":"https://api.github.com/users/tchoulihan/gists{/gist_id}","starred_url":"https://api.github.com/users/tchoulihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchoulihan/subscriptions","organizations_url":"https://api.github.com/users/tchoulihan/orgs","repos_url":"https://api.github.com/users/tchoulihan/repos","events_url":"https://api.github.com/users/tchoulihan/events{/privacy}","received_events_url":"https://api.github.com/users/tchoulihan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-02T20:22:24Z","updated_at":"2015-08-07T16:59:20Z","closed_at":"2015-08-03T12:27:35Z","body":"Based on arvid's recommendations, I need to set `seed_mode=true` on a torrent added to the session.\r\n\r\nI see the addTorrentParams method, but wouldn't it be better to use it like so?\r\n```java\r\nTorrentHandle torrent = session.addTorrent(File torrent, File saveDir, File saveResumeData, Set<TorrentFlagEnum> flags);\r\n```\r\n\r\nIf not, could you give me an example of how to set those parameters while adding a torrent with swig?"},"comment":{"url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/comments/128765814","html_url":"https://github.com/frostwire/frostwire-jlibtorrent/issues/32#issuecomment-128765814","issue_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/32","id":128765814,"user":{"login":"tchoulihan","id":930215,"avatar_url":"https://avatars.githubusercontent.com/u/930215?v=3","gravatar_id":"","url":"https://api.github.com/users/tchoulihan","html_url":"https://github.com/tchoulihan","followers_url":"https://api.github.com/users/tchoulihan/followers","following_url":"https://api.github.com/users/tchoulihan/following{/other_user}","gists_url":"https://api.github.com/users/tchoulihan/gists{/gist_id}","starred_url":"https://api.github.com/users/tchoulihan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchoulihan/subscriptions","organizations_url":"https://api.github.com/users/tchoulihan/orgs","repos_url":"https://api.github.com/users/tchoulihan/repos","events_url":"https://api.github.com/users/tchoulihan/events{/privacy}","received_events_url":"https://api.github.com/users/tchoulihan/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T16:59:20Z","updated_at":"2015-08-07T16:59:20Z","body":"I'll keep this in mind."}}