{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/8405","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/8405/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/8405/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/8405/events","html_url":"https://github.com/xbmc/xbmc/pull/8405","id":117655063,"number":8405,"title":"Cleanup music ratings","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},"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/GUI%20API%20Change","name":"GUI API Change","color":"e11d21"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Improvement","name":"Improvement","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/JSON-RPC%20API%20Change","name":"JSON-RPC API Change","color":"e11d21"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/K*******","name":"K*******","color":"fbca04"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Music","name":"Music","color":"009800"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Skin","name":"Skin","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-18T18:54:32Z","updated_at":"2015-11-25T09:23:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/8405","html_url":"https://github.com/xbmc/xbmc/pull/8405","diff_url":"https://github.com/xbmc/xbmc/pull/8405.diff","patch_url":"https://github.com/xbmc/xbmc/pull/8405.patch"},"body":"This tries to do the following:\r\n- Separate rating and userrating for music\r\n- Give albums and songs both rating types\r\n- Move everything to 1-10 ratings\r\n\r\nThe tricky part about this, was that albums only had scraped ratings (called \"rating\") and songs only had userratings. Both used the rating field of the music tag. So I tried to unravel this with this PR.\r\n\r\nThis will also have the side effect, that rating now is a float. And that some addons might think rating is a userrating. They need to be updated.\r\n\r\n@DaveTBlake as this is music\r\n@Montellese as it has json rpc changes\r\n@zag2me as you might like this\r\nSpecial thx to @ronie \r\n\r\n![screenshot 2015-11-18 20 17 56](https://cloud.githubusercontent.com/assets/5943908/11251474/bde91fce-8e31-11e5-94e7-c05c452437ab.png)\r\n![screenshot 2015-11-18 20 17 47](https://cloud.githubusercontent.com/assets/5943908/11251472/bde55cfe-8e31-11e5-8b05-b7be21db8dc9.png)\r\n![screenshot 2015-11-18 20 18 37](https://cloud.githubusercontent.com/assets/5943908/11251473/bde83640-8e31-11e5-8d7b-5c645d2fcb3a.png)\r\n![screenshot 2015-11-18 20 18 17](https://cloud.githubusercontent.com/assets/5943908/11251475/bdeac540-8e31-11e5-9286-3782a35970e5.png)\r\n![screenshot 2015-11-18 20 18 10](https://cloud.githubusercontent.com/assets/5943908/11251476/bdec7fd4-8e31-11e5-99cf-c6f83514b2b9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/159545837","html_url":"https://github.com/xbmc/xbmc/pull/8405#issuecomment-159545837","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/8405","id":159545837,"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":"2015-11-25T09:23:04Z","updated_at":"2015-11-25T09:23:04Z","body":"Let's see if this works on all platforms\r\njenkins build this please"}}