{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6221","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6221/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6221/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6221/events","html_url":"https://github.com/xbmc/xbmc/pull/6221","id":54735424,"number":6221,"title":"[dvdplayer] Prioritize number of channels over codec over default flag.","user":{"login":"ace20022","id":2150851,"avatar_url":"https://avatars.githubusercontent.com/u/2150851?v=3","gravatar_id":"","url":"https://api.github.com/users/ace20022","html_url":"https://github.com/ace20022","followers_url":"https://api.github.com/users/ace20022/followers","following_url":"https://api.github.com/users/ace20022/following{/other_user}","gists_url":"https://api.github.com/users/ace20022/gists{/gist_id}","starred_url":"https://api.github.com/users/ace20022/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ace20022/subscriptions","organizations_url":"https://api.github.com/users/ace20022/orgs","repos_url":"https://api.github.com/users/ace20022/repos","events_url":"https://api.github.com/users/ace20022/events{/privacy}","received_events_url":"https://api.github.com/users/ace20022/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xbmc/xbmc/milestones/56","labels_url":"https://api.github.com/repos/xbmc/xbmc/milestones/56/labels","id":903185,"number":56,"title":"I******* 15.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":1,"closed_issues":204,"state":"open","created_at":"2014-12-14T13:42:20Z","updated_at":"2015-01-26T09:35:11Z","due_on":"2015-01-30T23:00:00Z","closed_at":null},"comments":23,"created_at":"2015-01-19T07:56:46Z","updated_at":"2015-01-26T10:22:27Z","closed_at":"2015-01-25T10:15:39Z","pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6221","html_url":"https://github.com/xbmc/xbmc/pull/6221","diff_url":"https://github.com/xbmc/xbmc/pull/6221.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6221.patch"},"body":"@MartijnKaijser especially for you ;) Trac: http://trac.kodi.tv/ticket/14697\r\n@FernetMenta (http://forum.kodi.tv/showthread.php?tid=192280)"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/71439971","html_url":"https://github.com/xbmc/xbmc/pull/6221#issuecomment-71439971","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6221","id":71439971,"user":{"login":"Voyager1","id":549958,"avatar_url":"https://avatars.githubusercontent.com/u/549958?v=3","gravatar_id":"","url":"https://api.github.com/users/Voyager1","html_url":"https://github.com/Voyager1","followers_url":"https://api.github.com/users/Voyager1/followers","following_url":"https://api.github.com/users/Voyager1/following{/other_user}","gists_url":"https://api.github.com/users/Voyager1/gists{/gist_id}","starred_url":"https://api.github.com/users/Voyager1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Voyager1/subscriptions","organizations_url":"https://api.github.com/users/Voyager1/orgs","repos_url":"https://api.github.com/users/Voyager1/repos","events_url":"https://api.github.com/users/Voyager1/events{/privacy}","received_events_url":"https://api.github.com/users/Voyager1/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T10:22:27Z","updated_at":"2015-01-26T10:22:27Z","body":"the whole codec prioritization thing is a bit arbitrary based on 'assumed' audio quality. It would be nice that instead of the arbitrary order (as in ```StreamUtils::GetCodecPriority``` https://github.com/xbmc/xbmc/blob/master/xbmc/utils/StreamUtils.cpp ) one could simply define it in the settings (the easiest would be AdvancedSettings: you could assign the values returned in that function to whatever you prefer - ranking DTS over FLAC over TrueHD for instance) "}}