{"action":"created","issue":{"url":"https://api.github.com/repos/pymedusa/SickRage/issues/1168","repository_url":"https://api.github.com/repos/pymedusa/SickRage","labels_url":"https://api.github.com/repos/pymedusa/SickRage/issues/1168/labels{/name}","comments_url":"https://api.github.com/repos/pymedusa/SickRage/issues/1168/comments","events_url":"https://api.github.com/repos/pymedusa/SickRage/issues/1168/events","html_url":"https://github.com/pymedusa/SickRage/pull/1168","id":178627001,"number":1168,"title":"Adds manual subtitle search in displayShow and re-download subtitle (clicking in the existing flag)","user":{"login":"fernandog","id":2620870,"avatar_url":"https://avatars.githubusercontent.com/u/2620870?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandog","html_url":"https://github.com/fernandog","followers_url":"https://api.github.com/users/fernandog/followers","following_url":"https://api.github.com/users/fernandog/following{/other_user}","gists_url":"https://api.github.com/users/fernandog/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandog/subscriptions","organizations_url":"https://api.github.com/users/fernandog/orgs","repos_url":"https://api.github.com/users/fernandog/repos","events_url":"https://api.github.com/users/fernandog/events{/privacy}","received_events_url":"https://api.github.com/users/fernandog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pymedusa/SickRage/labels/concluded","name":"concluded","color":"207de5"},{"url":"https://api.github.com/repos/pymedusa/SickRage/labels/Feature%20Request","name":"Feature Request","color":"5319e7"},{"url":"https://api.github.com/repos/pymedusa/SickRage/labels/Needs%20review","name":"Needs review","color":"fef2c0"},{"url":"https://api.github.com/repos/pymedusa/SickRage/labels/Needs%20testing","name":"Needs testing","color":"e99695"}],"state":"open","locked":false,"assignee":{"login":"OmgImAlexis","id":6525926,"avatar_url":"https://avatars.githubusercontent.com/u/6525926?v=3","gravatar_id":"","url":"https://api.github.com/users/OmgImAlexis","html_url":"https://github.com/OmgImAlexis","followers_url":"https://api.github.com/users/OmgImAlexis/followers","following_url":"https://api.github.com/users/OmgImAlexis/following{/other_user}","gists_url":"https://api.github.com/users/OmgImAlexis/gists{/gist_id}","starred_url":"https://api.github.com/users/OmgImAlexis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmgImAlexis/subscriptions","organizations_url":"https://api.github.com/users/OmgImAlexis/orgs","repos_url":"https://api.github.com/users/OmgImAlexis/repos","events_url":"https://api.github.com/users/OmgImAlexis/events{/privacy}","received_events_url":"https://api.github.com/users/OmgImAlexis/received_events","type":"User","site_admin":false},"assignees":[{"login":"OmgImAlexis","id":6525926,"avatar_url":"https://avatars.githubusercontent.com/u/6525926?v=3","gravatar_id":"","url":"https://api.github.com/users/OmgImAlexis","html_url":"https://github.com/OmgImAlexis","followers_url":"https://api.github.com/users/OmgImAlexis/followers","following_url":"https://api.github.com/users/OmgImAlexis/following{/other_user}","gists_url":"https://api.github.com/users/OmgImAlexis/gists{/gist_id}","starred_url":"https://api.github.com/users/OmgImAlexis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmgImAlexis/subscriptions","organizations_url":"https://api.github.com/users/OmgImAlexis/orgs","repos_url":"https://api.github.com/users/OmgImAlexis/repos","events_url":"https://api.github.com/users/OmgImAlexis/events{/privacy}","received_events_url":"https://api.github.com/users/OmgImAlexis/received_events","type":"User","site_admin":false},{"login":"ratoaq2","id":9292886,"avatar_url":"https://avatars.githubusercontent.com/u/9292886?v=3","gravatar_id":"","url":"https://api.github.com/users/ratoaq2","html_url":"https://github.com/ratoaq2","followers_url":"https://api.github.com/users/ratoaq2/followers","following_url":"https://api.github.com/users/ratoaq2/following{/other_user}","gists_url":"https://api.github.com/users/ratoaq2/gists{/gist_id}","starred_url":"https://api.github.com/users/ratoaq2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ratoaq2/subscriptions","organizations_url":"https://api.github.com/users/ratoaq2/orgs","repos_url":"https://api.github.com/users/ratoaq2/repos","events_url":"https://api.github.com/users/ratoaq2/events{/privacy}","received_events_url":"https://api.github.com/users/ratoaq2/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-09-22T14:33:19Z","updated_at":"2016-10-01T21:20:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pymedusa/SickRage/pulls/1168","html_url":"https://github.com/pymedusa/SickRage/pull/1168","diff_url":"https://github.com/pymedusa/SickRage/pull/1168.diff","patch_url":"https://github.com/pymedusa/SickRage/pull/1168.patch"},"body":"### How it works:\r\n\r\nIf show has no subtitles, user clicks the `CC` image, and we ask if he wants to `auto` search subs or `manual` download subs\r\n\r\n### TODO:\r\n\r\n- [ ] Fix subtitle test error (test was removed for now)\r\n\r\n### Done:\r\n- [x] Add JS code that calls function `manual_search_subtitles` in handler\r\n- [x] Add subliminal code that search for subtitles\r\n- [x] Add JS that read results from `manual_search_subtitles` and populate the empty modal `manualSubtitleSearchModal` in displayShow.mako\r\n- [x] Add some kind of button in the modal so user can pick subtitles\r\n- [x] Some how would be nice to manual search subtitles in PP folder too (when postpone enabled)\r\n- [x] Clear modal rows when searching for different episode\r\n- [x] Add spinning wheel to download button\r\n- [x] Download button should call `pick_manual_search_subtitle` with the current subtitle unique ID\r\n- [x] The most important thing: download the picked subtitle using ID\r\n\r\n### POC\r\n\r\n![manual_subs_poc4](https://cloud.githubusercontent.com/assets/2620870/18749519/9b6ceef2-80ad-11e6-939a-6596cd3e01f3.png)\r\n\r\n### THIS PR:\r\n\r\n![ask](https://cloud.githubusercontent.com/assets/2620870/18761751/960d87e4-80dc-11e6-8059-c9067d88ccbf.png)\r\n\r\n![ag](https://cloud.githubusercontent.com/assets/2620870/18914940/8170ce30-8565-11e6-8604-23e0b1a68a32.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pymedusa/SickRage/issues/comments/250938335","html_url":"https://github.com/pymedusa/SickRage/pull/1168#issuecomment-250938335","issue_url":"https://api.github.com/repos/pymedusa/SickRage/issues/1168","id":250938335,"user":{"login":"fernandog","id":2620870,"avatar_url":"https://avatars.githubusercontent.com/u/2620870?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandog","html_url":"https://github.com/fernandog","followers_url":"https://api.github.com/users/fernandog/followers","following_url":"https://api.github.com/users/fernandog/following{/other_user}","gists_url":"https://api.github.com/users/fernandog/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandog/subscriptions","organizations_url":"https://api.github.com/users/fernandog/orgs","repos_url":"https://api.github.com/users/fernandog/repos","events_url":"https://api.github.com/users/fernandog/events{/privacy}","received_events_url":"https://api.github.com/users/fernandog/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T21:20:58Z","updated_at":"2016-10-01T21:20:58Z","body":"@NicoLeOca did you notice this screen? If you still use postpone\r\n\r\n\r\nafter you manually download a subtitle, the release gets removed from the table and you can click the manual PP that does its magic\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2620870/19017051/b44fecbe-8803-11e6-9842-cc0d3f4890b2.png)\r\n"}}
{"actor":{"display_login":"fernandog"}}