{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2273","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2273/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2273/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2273/events","html_url":"https://github.com/mpv-player/mpv/issues/2273","id":104288830,"number":2273,"title":"Zsh completion does not match enough extensions","user":{"login":"Hello71","id":351006,"avatar_url":"https://avatars.githubusercontent.com/u/351006?v=3","gravatar_id":"","url":"https://api.github.com/users/Hello71","html_url":"https://github.com/Hello71","followers_url":"https://api.github.com/users/Hello71/followers","following_url":"https://api.github.com/users/Hello71/following{/other_user}","gists_url":"https://api.github.com/users/Hello71/gists{/gist_id}","starred_url":"https://api.github.com/users/Hello71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hello71/subscriptions","organizations_url":"https://api.github.com/users/Hello71/orgs","repos_url":"https://api.github.com/users/Hello71/repos","events_url":"https://api.github.com/users/Hello71/events{/privacy}","received_events_url":"https://api.github.com/users/Hello71/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T15:12:50Z","updated_at":"2015-09-01T15:28:48Z","closed_at":null,"body":"right now it only matches `\r\nasf|asx|avi|flac|flv|m1v|m2p|m2v|m4v|mjpg|mka|mkv|mov|mp3|mp4|mpe|mpeg|mpg|ogg|ogm|ogv|qt|rm|ts|vob|wav|webm|wma|wmv`. more common audio extensions: `3gp|act|aiff|aac|amr|au|awb|m4a|mpc|oga|opus|ra|webm`. more video extensions: `rmvb|m4v`.\r\n\r\nnot sure if all are actually supported by mpv, but at least youtube-dl saves files as `m4a` and `webm`."},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/136760967","html_url":"https://github.com/mpv-player/mpv/issues/2273#issuecomment-136760967","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/2273","id":136760967,"user":{"login":"wm4","id":1387750,"avatar_url":"https://avatars.githubusercontent.com/u/1387750?v=3","gravatar_id":"","url":"https://api.github.com/users/wm4","html_url":"https://github.com/wm4","followers_url":"https://api.github.com/users/wm4/followers","following_url":"https://api.github.com/users/wm4/following{/other_user}","gists_url":"https://api.github.com/users/wm4/gists{/gist_id}","starred_url":"https://api.github.com/users/wm4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wm4/subscriptions","organizations_url":"https://api.github.com/users/wm4/orgs","repos_url":"https://api.github.com/users/wm4/repos","events_url":"https://api.github.com/users/wm4/events{/privacy}","received_events_url":"https://api.github.com/users/wm4/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T15:28:48Z","updated_at":"2015-09-01T15:28:48Z","body":"Generally mpv supports many more file extensions than that, but since file format detection usually works by content and not by extension, most extensions are not known.\r\n\r\nWhich probably means the zsh script shouldn't white-list file extensions and just accept everything."}}