{"action":"created","issue":{"url":"https://api.github.com/repos/StCyr/plugin.video.peertube/issues/1","repository_url":"https://api.github.com/repos/StCyr/plugin.video.peertube","labels_url":"https://api.github.com/repos/StCyr/plugin.video.peertube/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/StCyr/plugin.video.peertube/issues/1/comments","events_url":"https://api.github.com/repos/StCyr/plugin.video.peertube/issues/1/events","html_url":"https://github.com/StCyr/plugin.video.peertube/issues/1","id":346155472,"node_id":"MDU6SXNzdWUzNDYxNTU0NzI=","number":1,"title":"Add an option for users to seed via WebTorrent (as an added library to libtorrent)","user":{"login":"rigelk","id":6329880,"node_id":"MDQ6VXNlcjYzMjk4ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/6329880?v=4","gravatar_id":"","url":"https://api.github.com/users/rigelk","html_url":"https://github.com/rigelk","followers_url":"https://api.github.com/users/rigelk/followers","following_url":"https://api.github.com/users/rigelk/following{/other_user}","gists_url":"https://api.github.com/users/rigelk/gists{/gist_id}","starred_url":"https://api.github.com/users/rigelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigelk/subscriptions","organizations_url":"https://api.github.com/users/rigelk/orgs","repos_url":"https://api.github.com/users/rigelk/repos","events_url":"https://api.github.com/users/rigelk/events{/privacy}","received_events_url":"https://api.github.com/users/rigelk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-07-31T11:57:06Z","updated_at":"2018-07-31T17:32:18Z","closed_at":null,"author_association":"NONE","body":"As @Chocobozzz suggested, seeding over TCP/UDP with the current `libtorrent` is fine, as machines running Kodi are not always powerful ones and might want to avoid running the extra Electron process required to use WebTorrent/WebRTC.\r\n\r\n`libtorrent` isn't gonna add support for WebTorrent anytime soon, so I'd suggest add another library to deal with WebTorrent: [webtorrent-hybrid](https://github.com/webtorrent/webtorrent-hybrid). It is basically the same API as the original `webtorrent` package, but runs headlessly outside of a browser and is maintained by the same authors. Of course, it's an added dependency and *it is not Python code*, so you will have to create bindings to the Javascript library. But as no other alternative exists in Python, that's the only way.\r\n\r\nHowever, using `webtorrent-hybrid` allows to download from/share to web clients of PeerTube. That's particularly interesting since Kodi is a long-running server and can seed headlessly for quite some time."},"comment":{"url":"https://api.github.com/repos/StCyr/plugin.video.peertube/issues/comments/409303787","html_url":"https://github.com/StCyr/plugin.video.peertube/issues/1#issuecomment-409303787","issue_url":"https://api.github.com/repos/StCyr/plugin.video.peertube/issues/1","id":409303787,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTMwMzc4Nw==","user":{"login":"rigelk","id":6329880,"node_id":"MDQ6VXNlcjYzMjk4ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/6329880?v=4","gravatar_id":"","url":"https://api.github.com/users/rigelk","html_url":"https://github.com/rigelk","followers_url":"https://api.github.com/users/rigelk/followers","following_url":"https://api.github.com/users/rigelk/following{/other_user}","gists_url":"https://api.github.com/users/rigelk/gists{/gist_id}","starred_url":"https://api.github.com/users/rigelk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigelk/subscriptions","organizations_url":"https://api.github.com/users/rigelk/orgs","repos_url":"https://api.github.com/users/rigelk/repos","events_url":"https://api.github.com/users/rigelk/events{/privacy}","received_events_url":"https://api.github.com/users/rigelk/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T17:32:18Z","updated_at":"2018-07-31T17:32:18Z","author_association":"NONE","body":"@StCyr after checking there's really no ideal solution. You might want to directly use subprocesses… :/"}}
{"actor":{"display_login":"rigelk"}}