{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/8080","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/8080/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/8080/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/8080/events","html_url":"https://github.com/xbmc/xbmc/pull/8080","id":107287914,"number":8080,"title":"Add support for multiple ratings","user":{"login":"phate89","id":1254959,"avatar_url":"https://avatars.githubusercontent.com/u/1254959?v=3","gravatar_id":"","url":"https://api.github.com/users/phate89","html_url":"https://github.com/phate89","followers_url":"https://api.github.com/users/phate89/followers","following_url":"https://api.github.com/users/phate89/following{/other_user}","gists_url":"https://api.github.com/users/phate89/gists{/gist_id}","starred_url":"https://api.github.com/users/phate89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phate89/subscriptions","organizations_url":"https://api.github.com/users/phate89/orgs","repos_url":"https://api.github.com/users/phate89/repos","events_url":"https://api.github.com/users/phate89/events{/privacy}","received_events_url":"https://api.github.com/users/phate89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Database","name":"Database","color":"009800"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Feature","name":"Feature","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Krypton","name":"Krypton","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/74","html_url":"https://github.com/xbmc/xbmc/milestones/Krypton%2017.0-alpha1","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/74/labels","id":1444499,"number":74,"title":"Krypton 17.0-alpha1","description":"","creator":{"login":"MartijnKaijser","id":907436,"avatar_url":"https://avatars.githubusercontent.com/u/907436?v=3","gravatar_id":"","url":"https://api.github.com/users/MartijnKaijser","html_url":"https://github.com/MartijnKaijser","followers_url":"https://api.github.com/users/MartijnKaijser/followers","following_url":"https://api.github.com/users/MartijnKaijser/following{/other_user}","gists_url":"https://api.github.com/users/MartijnKaijser/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnKaijser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnKaijser/subscriptions","organizations_url":"https://api.github.com/users/MartijnKaijser/orgs","repos_url":"https://api.github.com/users/MartijnKaijser/repos","events_url":"https://api.github.com/users/MartijnKaijser/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnKaijser/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":206,"state":"open","created_at":"2015-12-04T16:31:06Z","updated_at":"2016-01-07T23:48:19Z","due_on":"2016-02-28T00:00:00Z","closed_at":null},"comments":53,"created_at":"2015-09-18T22:19:13Z","updated_at":"2016-01-08T06:45:36Z","closed_at":"2016-01-05T22:29:36Z","pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/8080","html_url":"https://github.com/xbmc/xbmc/pull/8080","diff_url":"https://github.com/xbmc/xbmc/pull/8080.diff","patch_url":"https://github.com/xbmc/xbmc/pull/8080.patch"},"body":"Since https://github.com/xbmc/xbmc/pull/8062 is strictly related to this change I kept working on this so I can have an opinion about my solution.\r\nI moved rating and votes to a separate table (so we can have more than one for every movie) and I added the rating_id of the default vote to the movie table (using the old rating column). In CVideoInfoTag class all the ratings are stored in a map and they're handled by functions..\r\n"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/169911064","html_url":"https://github.com/xbmc/xbmc/pull/8080#issuecomment-169911064","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/8080","id":169911064,"user":{"login":"Razzeee","id":5943908,"avatar_url":"https://avatars.githubusercontent.com/u/5943908?v=3","gravatar_id":"","url":"https://api.github.com/users/Razzeee","html_url":"https://github.com/Razzeee","followers_url":"https://api.github.com/users/Razzeee/followers","following_url":"https://api.github.com/users/Razzeee/following{/other_user}","gists_url":"https://api.github.com/users/Razzeee/gists{/gist_id}","starred_url":"https://api.github.com/users/Razzeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razzeee/subscriptions","organizations_url":"https://api.github.com/users/Razzeee/orgs","repos_url":"https://api.github.com/users/Razzeee/repos","events_url":"https://api.github.com/users/Razzeee/events{/privacy}","received_events_url":"https://api.github.com/users/Razzeee/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T06:45:36Z","updated_at":"2016-01-08T06:45:36Z","body":"Test don't run when you compile normally. \r\nIn visual Studio you just need to change the config from debug or release to debug testsuite then run the solution. \r\nIt's a drop down in the top menu bar. "}}