{"action":"closed","issue":{"url":"https://api.github.com/repos/QNapi/qnapi/issues/1","labels_url":"https://api.github.com/repos/QNapi/qnapi/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/QNapi/qnapi/issues/1/comments","events_url":"https://api.github.com/repos/QNapi/qnapi/issues/1/events","html_url":"https://github.com/QNapi/qnapi/issues/1","id":46420213,"number":1,"title":"Always returns exit code 0 in CLI mode","user":{"login":"MichalKrasowski","id":5175724,"avatar_url":"https://avatars.githubusercontent.com/u/5175724?v=3","gravatar_id":"","url":"https://api.github.com/users/MichalKrasowski","html_url":"https://github.com/MichalKrasowski","followers_url":"https://api.github.com/users/MichalKrasowski/followers","following_url":"https://api.github.com/users/MichalKrasowski/following{/other_user}","gists_url":"https://api.github.com/users/MichalKrasowski/gists{/gist_id}","starred_url":"https://api.github.com/users/MichalKrasowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichalKrasowski/subscriptions","organizations_url":"https://api.github.com/users/MichalKrasowski/orgs","repos_url":"https://api.github.com/users/MichalKrasowski/repos","events_url":"https://api.github.com/users/MichalKrasowski/events{/privacy}","received_events_url":"https://api.github.com/users/MichalKrasowski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QNapi/qnapi/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"krzemin","id":2477704,"avatar_url":"https://avatars.githubusercontent.com/u/2477704?v=3","gravatar_id":"","url":"https://api.github.com/users/krzemin","html_url":"https://github.com/krzemin","followers_url":"https://api.github.com/users/krzemin/followers","following_url":"https://api.github.com/users/krzemin/following{/other_user}","gists_url":"https://api.github.com/users/krzemin/gists{/gist_id}","starred_url":"https://api.github.com/users/krzemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzemin/subscriptions","organizations_url":"https://api.github.com/users/krzemin/orgs","repos_url":"https://api.github.com/users/krzemin/repos","events_url":"https://api.github.com/users/krzemin/events{/privacy}","received_events_url":"https://api.github.com/users/krzemin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/QNapi/qnapi/milestones/2","html_url":"https://github.com/QNapi/qnapi/milestones/0.1.7","labels_url":"https://api.github.com/repos/QNapi/qnapi/milestones/2/labels","id":1173873,"number":2,"title":"0.1.7","description":null,"creator":{"login":"krzemin","id":2477704,"avatar_url":"https://avatars.githubusercontent.com/u/2477704?v=3","gravatar_id":"","url":"https://api.github.com/users/krzemin","html_url":"https://github.com/krzemin","followers_url":"https://api.github.com/users/krzemin/followers","following_url":"https://api.github.com/users/krzemin/following{/other_user}","gists_url":"https://api.github.com/users/krzemin/gists{/gist_id}","starred_url":"https://api.github.com/users/krzemin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzemin/subscriptions","organizations_url":"https://api.github.com/users/krzemin/orgs","repos_url":"https://api.github.com/users/krzemin/repos","events_url":"https://api.github.com/users/krzemin/events{/privacy}","received_events_url":"https://api.github.com/users/krzemin/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-06-21T09:01:49Z","updated_at":"2015-06-22T20:05:31Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2014-10-21T17:21:34Z","updated_at":"2015-06-22T20:05:31Z","closed_at":"2015-06-22T20:05:31Z","body":"Regards Linux OS.\r\nReturns 0 even if the subtitles were unavailable.\r\nDifferent exit codes could be useful for scripting.\r\n\r\nUser story:\r\n1. Try to download subs for non-existent movie: \r\n```$ qnapi -c movie.avi &> /dev/null && echo ok || echo no```\r\n2. Script returns\r\n``` no ```"}}