{"action":"created","issue":{"url":"https://api.github.com/repos/meh/rust-ffmpeg/issues/5","labels_url":"https://api.github.com/repos/meh/rust-ffmpeg/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/meh/rust-ffmpeg/issues/5/comments","events_url":"https://api.github.com/repos/meh/rust-ffmpeg/issues/5/events","html_url":"https://github.com/meh/rust-ffmpeg/pull/5","id":102840360,"number":5,"title":"Format find best stream","user":{"login":"lummax","id":6685542,"avatar_url":"https://avatars.githubusercontent.com/u/6685542?v=3","gravatar_id":"","url":"https://api.github.com/users/lummax","html_url":"https://github.com/lummax","followers_url":"https://api.github.com/users/lummax/followers","following_url":"https://api.github.com/users/lummax/following{/other_user}","gists_url":"https://api.github.com/users/lummax/gists{/gist_id}","starred_url":"https://api.github.com/users/lummax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lummax/subscriptions","organizations_url":"https://api.github.com/users/lummax/orgs","repos_url":"https://api.github.com/users/lummax/repos","events_url":"https://api.github.com/users/lummax/events{/privacy}","received_events_url":"https://api.github.com/users/lummax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-24T16:42:03Z","updated_at":"2015-08-28T01:19:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/meh/rust-ffmpeg/pulls/5","html_url":"https://github.com/meh/rust-ffmpeg/pull/5","diff_url":"https://github.com/meh/rust-ffmpeg/pull/5.diff","patch_url":"https://github.com/meh/rust-ffmpeg/pull/5.patch"},"body":"As soon as https://github.com/meh/rust-ffmpeg-sys/pull/4 is merged and published this can be merged."},"comment":{"url":"https://api.github.com/repos/meh/rust-ffmpeg/issues/comments/135597051","html_url":"https://github.com/meh/rust-ffmpeg/pull/5#issuecomment-135597051","issue_url":"https://api.github.com/repos/meh/rust-ffmpeg/issues/5","id":135597051,"user":{"login":"meh","id":40204,"avatar_url":"https://avatars.githubusercontent.com/u/40204?v=3","gravatar_id":"","url":"https://api.github.com/users/meh","html_url":"https://github.com/meh","followers_url":"https://api.github.com/users/meh/followers","following_url":"https://api.github.com/users/meh/following{/other_user}","gists_url":"https://api.github.com/users/meh/gists{/gist_id}","starred_url":"https://api.github.com/users/meh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meh/subscriptions","organizations_url":"https://api.github.com/users/meh/orgs","repos_url":"https://api.github.com/users/meh/repos","events_url":"https://api.github.com/users/meh/events{/privacy}","received_events_url":"https://api.github.com/users/meh/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T01:19:03Z","updated_at":"2015-08-28T01:19:03Z","body":"Ok I think I found an API I like.\r\n\r\n```rust\r\nformat.streams().best(type::Audio)\r\nformat.streams().wanted(stream).best(type::Audio)\r\nformat.streams().related(stream).best(type::Audio)\r\nformat.streams().wanted(stream).related(stream2).best(type::Audio)\r\n```\r\n\r\nWhere `wanted` and `related` take a `&Stream`, thoughts?"}}