{"action":"created","issue":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1126","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1126/labels{/name}","comments_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1126/comments","events_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1126/events","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1126","id":66725065,"number":1126,"title":"FR: Trakt PIN auth to replace Media Center Auth","user":{"login":"Thraxis","id":1131905,"avatar_url":"https://avatars.githubusercontent.com/u/1131905?v=3","gravatar_id":"","url":"https://api.github.com/users/Thraxis","html_url":"https://github.com/Thraxis","followers_url":"https://api.github.com/users/Thraxis/followers","following_url":"https://api.github.com/users/Thraxis/following{/other_user}","gists_url":"https://api.github.com/users/Thraxis/gists{/gist_id}","starred_url":"https://api.github.com/users/Thraxis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thraxis/subscriptions","organizations_url":"https://api.github.com/users/Thraxis/orgs","repos_url":"https://api.github.com/users/Thraxis/repos","events_url":"https://api.github.com/users/Thraxis/events{/privacy}","received_events_url":"https://api.github.com/users/Thraxis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/1:%20Feature%20request","name":"1: Feature request","color":"84b6eb"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/3:%20Fix","name":"3: Fix","color":"009800"},{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/labels/4:%20Need%20feedback","name":"4: Need feedback","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"Thraxis","id":1131905,"avatar_url":"https://avatars.githubusercontent.com/u/1131905?v=3","gravatar_id":"","url":"https://api.github.com/users/Thraxis","html_url":"https://github.com/Thraxis","followers_url":"https://api.github.com/users/Thraxis/followers","following_url":"https://api.github.com/users/Thraxis/following{/other_user}","gists_url":"https://api.github.com/users/Thraxis/gists{/gist_id}","starred_url":"https://api.github.com/users/Thraxis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thraxis/subscriptions","organizations_url":"https://api.github.com/users/Thraxis/orgs","repos_url":"https://api.github.com/users/Thraxis/repos","events_url":"https://api.github.com/users/Thraxis/events{/privacy}","received_events_url":"https://api.github.com/users/Thraxis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/milestones/13","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/milestones/Dev%204.1.0%20Small%20Features","labels_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/milestones/13/labels","id":909864,"number":13,"title":"Dev 4.1.0 Small Features","description":"Use FooTable.\r\nMediabrowser support.\r\nSwitching indexers (and possibly using one indexer for show info and another for banners & icons?).","creator":{"login":"markheloking","id":3192761,"avatar_url":"https://avatars.githubusercontent.com/u/3192761?v=3","gravatar_id":"","url":"https://api.github.com/users/markheloking","html_url":"https://github.com/markheloking","followers_url":"https://api.github.com/users/markheloking/followers","following_url":"https://api.github.com/users/markheloking/following{/other_user}","gists_url":"https://api.github.com/users/markheloking/gists{/gist_id}","starred_url":"https://api.github.com/users/markheloking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markheloking/subscriptions","organizations_url":"https://api.github.com/users/markheloking/orgs","repos_url":"https://api.github.com/users/markheloking/repos","events_url":"https://api.github.com/users/markheloking/events{/privacy}","received_events_url":"https://api.github.com/users/markheloking/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":17,"state":"open","created_at":"2014-12-19T09:56:10Z","updated_at":"2015-04-16T19:59:23Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-04-06T22:54:27Z","updated_at":"2015-04-18T17:36:16Z","closed_at":null,"body":"Trakt will be replacing the token based media center auth with PIN based auth (based on OAuth)\r\n\r\nhttp://docs.trakt.apiary.io/#reference/authentication-pin\r\n\r\nQuote from the post:\r\n> PIN auth is up on staging and ready to test. This replaces the token based media center auth (which  will be deprecated once this is live). The main advantage is PIN auth is based on OAuth. This also allows users to sign in via their social accounts which was a big limitation of token auth. You can also use refresh tokens like normal OAuth.\r\n\r\n@abeloin @TagForce @fernandog From cursory glance most of the OAuth code I created earlier can be re-purposed for this.  I'll get on the Trakt Staging and see how much I have to change"},"comment":{"url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/comments/94186108","html_url":"https://github.com/SiCKRAGETV/sickrage-issues/issues/1126#issuecomment-94186108","issue_url":"https://api.github.com/repos/SiCKRAGETV/sickrage-issues/issues/1126","id":94186108,"user":{"login":"cyberundertaker","id":11670746,"avatar_url":"https://avatars.githubusercontent.com/u/11670746?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberundertaker","html_url":"https://github.com/cyberundertaker","followers_url":"https://api.github.com/users/cyberundertaker/followers","following_url":"https://api.github.com/users/cyberundertaker/following{/other_user}","gists_url":"https://api.github.com/users/cyberundertaker/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberundertaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberundertaker/subscriptions","organizations_url":"https://api.github.com/users/cyberundertaker/orgs","repos_url":"https://api.github.com/users/cyberundertaker/repos","events_url":"https://api.github.com/users/cyberundertaker/events{/privacy}","received_events_url":"https://api.github.com/users/cyberundertaker/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T17:36:16Z","updated_at":"2015-04-18T17:36:16Z","body":"@fernandog @abeloin \r\nnot sure if related but I have this problem. When trying to add trending show i get this message:\r\nTrakt API did not return any results, please check your config.\r\n\r\nSR doesn't give any error but from log i can see this:\r\n\r\n2015-04-18 19:33:50 WARNING  Thread-43 :: Could not connect to Trakt service: error 401 Client Error: Unauthorized\r\n2015-04-18 19:33:50 WARNING  Thread-43 :: Unauthorized. Please check your Trakt settings\r\n2015-04-18 19:33:49 DEBUG    Thread-43 :: trending blacklist name is empty"}}