{"action":"opened","issue":{"url":"https://api.github.com/repos/streamlink/streamlink/issues/1146","repository_url":"https://api.github.com/repos/streamlink/streamlink","labels_url":"https://api.github.com/repos/streamlink/streamlink/issues/1146/labels{/name}","comments_url":"https://api.github.com/repos/streamlink/streamlink/issues/1146/comments","events_url":"https://api.github.com/repos/streamlink/streamlink/issues/1146/events","html_url":"https://github.com/streamlink/streamlink/issues/1146","id":248209723,"number":1146,"title":"Retry after source offline or other network problem while recording","user":{"login":"porcomail","id":30758507,"avatar_url":"https://avatars0.githubusercontent.com/u/30758507?v=4","gravatar_id":"","url":"https://api.github.com/users/porcomail","html_url":"https://github.com/porcomail","followers_url":"https://api.github.com/users/porcomail/followers","following_url":"https://api.github.com/users/porcomail/following{/other_user}","gists_url":"https://api.github.com/users/porcomail/gists{/gist_id}","starred_url":"https://api.github.com/users/porcomail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porcomail/subscriptions","organizations_url":"https://api.github.com/users/porcomail/orgs","repos_url":"https://api.github.com/users/porcomail/repos","events_url":"https://api.github.com/users/porcomail/events{/privacy}","received_events_url":"https://api.github.com/users/porcomail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-05T21:10:22Z","updated_at":"2017-08-05T21:10:22Z","closed_at":null,"body":"### Checklist\r\n\r\n- [x] This is a bug report.\r\n- [x] This is a feature request.\r\n- [ ] This is a plugin (improvement) request.\r\n- [ ] I have read the contribution guidelines.\r\n\r\n### Description\r\n\r\nCould be a bugfix or a feature request...\r\nExecuting this command:\r\n\r\nstreamlink <URL> best -o output.ts --retry-open 1000 --retry-streams 10\r\n\r\nI expected that, if connection goes offline while recording,\r\nit attempts 1000 times with a delay of 10 seconds to reconnect before exit.\r\n\r\nBut instead, if while recording the connection goes down or the stream goes offline, streamlink says:\r\n\"Error when reading from stream: Read timeout, exiting\". End it exits.\r\n\r\n### Expected / Actual behavior\r\n\r\nIf while recording/playing the source is no more available or there's some other network problem, would be good if streamlink wait X time to the stream to come back.\r\n\r\n### Reproduction steps / Explicit stream URLs to test\r\n\r\n1. streamlink http://www.ustream.tv/channel/live-iss-stream best -o liveiss.ts --retry-open 1000 --retry-streams 10\r\n2. disconnect your internet\r\n3. wait and see that streamlink doesn't perform retry but exits\r\n\r\n### Environment details\r\n\r\nOperating system and version: Windows 10\r\nStreamlink and Python version: Streamlink 0.7.0, Python 3.5.2\r\n"}}
{"actor":{"display_login":"porcomail"}}