{"action":"created","issue":{"url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/326","labels_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/326/comments","events_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/326/events","html_url":"https://github.com/tatsuhiro-t/aria2/issues/326","id":54392675,"number":326,"title":"metalink v4 url priorities seem to be ignored","user":{"login":"dfandrich","id":228259,"avatar_url":"https://avatars.githubusercontent.com/u/228259?v=3","gravatar_id":"","url":"https://api.github.com/users/dfandrich","html_url":"https://github.com/dfandrich","followers_url":"https://api.github.com/users/dfandrich/followers","following_url":"https://api.github.com/users/dfandrich/following{/other_user}","gists_url":"https://api.github.com/users/dfandrich/gists{/gist_id}","starred_url":"https://api.github.com/users/dfandrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfandrich/subscriptions","organizations_url":"https://api.github.com/users/dfandrich/orgs","repos_url":"https://api.github.com/users/dfandrich/repos","events_url":"https://api.github.com/users/dfandrich/events{/privacy}","received_events_url":"https://api.github.com/users/dfandrich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-14T23:31:21Z","updated_at":"2015-01-15T12:12:23Z","closed_at":null,"body":"When downloading the file from the metalink at http://curl.haxx.se/metalink.cgi?curl=tar.lzma aria2c seems to ignore the url priorities when choosing hosts. With the default parameters (which causes it download the file from a single host), it seems to choose the last URL, no matter its priority. When performing a split download, it also seems to choose hosts regardless of the priority. I've determined that the priorities in the xml file are being parsed correctly.\r\n"},"comment":{"url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/comments/70077186","html_url":"https://github.com/tatsuhiro-t/aria2/issues/326#issuecomment-70077186","issue_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/326","id":70077186,"user":{"login":"tatsuhiro-t","id":404610,"avatar_url":"https://avatars.githubusercontent.com/u/404610?v=3","gravatar_id":"","url":"https://api.github.com/users/tatsuhiro-t","html_url":"https://github.com/tatsuhiro-t","followers_url":"https://api.github.com/users/tatsuhiro-t/followers","following_url":"https://api.github.com/users/tatsuhiro-t/following{/other_user}","gists_url":"https://api.github.com/users/tatsuhiro-t/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsuhiro-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsuhiro-t/subscriptions","organizations_url":"https://api.github.com/users/tatsuhiro-t/orgs","repos_url":"https://api.github.com/users/tatsuhiro-t/repos","events_url":"https://api.github.com/users/tatsuhiro-t/events{/privacy}","received_events_url":"https://api.github.com/users/tatsuhiro-t/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T12:12:23Z","updated_at":"2015-01-15T12:12:23Z","body":"Thank you for reporting this issue.  I'm now looking into this."}}