{"action":"created","issue":{"url":"https://api.github.com/repos/feross/webtorrent-desktop/issues/480","repository_url":"https://api.github.com/repos/feross/webtorrent-desktop","labels_url":"https://api.github.com/repos/feross/webtorrent-desktop/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/feross/webtorrent-desktop/issues/480/comments","events_url":"https://api.github.com/repos/feross/webtorrent-desktop/issues/480/events","html_url":"https://github.com/feross/webtorrent-desktop/issues/480","id":154170492,"number":480,"title":"If you stop a torrent, then restart the app, torrent progress is missing","user":{"login":"dcposch","id":169280,"avatar_url":"https://avatars.githubusercontent.com/u/169280?v=3","gravatar_id":"","url":"https://api.github.com/users/dcposch","html_url":"https://github.com/dcposch","followers_url":"https://api.github.com/users/dcposch/followers","following_url":"https://api.github.com/users/dcposch/following{/other_user}","gists_url":"https://api.github.com/users/dcposch/gists{/gist_id}","starred_url":"https://api.github.com/users/dcposch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcposch/subscriptions","organizations_url":"https://api.github.com/users/dcposch/orgs","repos_url":"https://api.github.com/users/dcposch/repos","events_url":"https://api.github.com/users/dcposch/events{/privacy}","received_events_url":"https://api.github.com/users/dcposch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T06:39:33Z","updated_at":"2016-06-03T08:38:39Z","closed_at":null,"body":"This is because we don't save torrent (and individual file) progress in `config.json`.\r\n\r\nInstead we get progress only for active torrents from the WebTorrent library.\r\n\r\n(We send the entire bitfield of which pieces are present, directly from the WebTorrent torrent object, over to the main window process, every second. This has the additional disadvantage of being inefficient.)"},"comment":{"url":"https://api.github.com/repos/feross/webtorrent-desktop/issues/comments/223523100","html_url":"https://github.com/feross/webtorrent-desktop/issues/480#issuecomment-223523100","issue_url":"https://api.github.com/repos/feross/webtorrent-desktop/issues/480","id":223523100,"user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T08:38:39Z","updated_at":"2016-06-03T08:38:39Z","body":"To clarify (since I was confused at first), the way to reproduce this is:\r\n\r\nEnable a torrent. Disable it. Witness that the progress for each file shows up:\r\n\r\n<img width=\"500\" alt=\"screen shot 2016-06-03 at 01 37 06\" src=\"https://cloud.githubusercontent.com/assets/121766/15773458/cd3bde2c-292b-11e6-9537-4e05c68180e7.png\">\r\n\r\nRestart WebTorrent. File progress is missing:\r\n\r\n<img width=\"500\" alt=\"screen shot 2016-06-03 at 01 36 50\" src=\"https://cloud.githubusercontent.com/assets/121766/15773468/da7c7bc8-292b-11e6-80f5-680d421ef545.png\">\r\n\r\nStarting the torrent again will make the progress show up again."}}
{"actor":{"display_login":"feross"}}