{"action":"closed","issue":{"url":"https://api.github.com/repos/cmus/cmus/issues/424","repository_url":"https://api.github.com/repos/cmus/cmus","labels_url":"https://api.github.com/repos/cmus/cmus/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/cmus/cmus/issues/424/comments","events_url":"https://api.github.com/repos/cmus/cmus/issues/424/events","html_url":"https://github.com/cmus/cmus/issues/424","id":145100646,"number":424,"title":"[question] filetype and substrings in format strings","user":{"login":"peczony","id":3784544,"avatar_url":"https://avatars.githubusercontent.com/u/3784544?v=3","gravatar_id":"","url":"https://api.github.com/users/peczony","html_url":"https://github.com/peczony","followers_url":"https://api.github.com/users/peczony/followers","following_url":"https://api.github.com/users/peczony/following{/other_user}","gists_url":"https://api.github.com/users/peczony/gists{/gist_id}","starred_url":"https://api.github.com/users/peczony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peczony/subscriptions","organizations_url":"https://api.github.com/users/peczony/orgs","repos_url":"https://api.github.com/users/peczony/repos","events_url":"https://api.github.com/users/peczony/events{/privacy}","received_events_url":"https://api.github.com/users/peczony/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmus/cmus/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-01T06:44:25Z","updated_at":"2016-04-03T19:31:42Z","closed_at":"2016-04-03T19:31:42Z","body":"I haven’t been able to find this in the man, but it seems to be pretty obvious functionality: is there a way I can display only the filetype (mp3, m4a, flac) via format string?\r\n\r\nIf there isn’t, maybe there is some substring functionality so I can extract the filetype from filename?"}}