{"action":"created","issue":{"url":"https://api.github.com/repos/cmus/cmus/issues/47","repository_url":"https://api.github.com/repos/cmus/cmus","labels_url":"https://api.github.com/repos/cmus/cmus/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/cmus/cmus/issues/47/comments","events_url":"https://api.github.com/repos/cmus/cmus/issues/47/events","html_url":"https://github.com/cmus/cmus/issues/47","id":15268856,"number":47,"title":"[feature request] sort_library sorting by arbitrary tag","user":{"login":"bzaborow","id":148951,"avatar_url":"https://avatars.githubusercontent.com/u/148951?v=3","gravatar_id":"","url":"https://api.github.com/users/bzaborow","html_url":"https://github.com/bzaborow","followers_url":"https://api.github.com/users/bzaborow/followers","following_url":"https://api.github.com/users/bzaborow/following{/other_user}","gists_url":"https://api.github.com/users/bzaborow/gists{/gist_id}","starred_url":"https://api.github.com/users/bzaborow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzaborow/subscriptions","organizations_url":"https://api.github.com/users/bzaborow/orgs","repos_url":"https://api.github.com/users/bzaborow/repos","events_url":"https://api.github.com/users/bzaborow/events{/privacy}","received_events_url":"https://api.github.com/users/bzaborow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmus/cmus/labels/feature%20request","name":"feature request","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-06-07T11:59:10Z","updated_at":"2016-04-18T17:59:17Z","closed_at":null,"body":"I found that there is no possibility to sort library by any tag present in my music files, in particular by TBPM (standard tag for beats per minute from ID3v2). As far as i know the sort keys are hardcoded - maybe it would be possible to allow some flexibility and use directly tag names from ID3 or flac tags? The current predefined sort keys (like title, filename and so) can become macros which will expand to specific tag names present in different file formats (or some other meta information or fallback tags).\r\nThe same could possibly go for filtering keys.\r\n\r\nIf you don't like the above idea may I ask for a bpm sorting key?"},"comment":{"url":"https://api.github.com/repos/cmus/cmus/issues/comments/211503938","html_url":"https://github.com/cmus/cmus/issues/47#issuecomment-211503938","issue_url":"https://api.github.com/repos/cmus/cmus/issues/47","id":211503938,"user":{"login":"jayay","id":2384578,"avatar_url":"https://avatars.githubusercontent.com/u/2384578?v=3","gravatar_id":"","url":"https://api.github.com/users/jayay","html_url":"https://github.com/jayay","followers_url":"https://api.github.com/users/jayay/followers","following_url":"https://api.github.com/users/jayay/following{/other_user}","gists_url":"https://api.github.com/users/jayay/gists{/gist_id}","starred_url":"https://api.github.com/users/jayay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayay/subscriptions","organizations_url":"https://api.github.com/users/jayay/orgs","repos_url":"https://api.github.com/users/jayay/repos","events_url":"https://api.github.com/users/jayay/events{/privacy}","received_events_url":"https://api.github.com/users/jayay/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T17:59:16Z","updated_at":"2016-04-18T17:59:16Z","body":"If this is still current - TBPM applies to ID3 tags, but not every input plugin in cmus uses ID3, for example FLAC and ffmpeg (but ffmpeg doesn't seem to support BPM it at all).\r\nBut if you're on master, the BPM tag should be read from FLAC and MP3 files if it is set.\r\n\r\n@flyingmutant I think you can close this issue."}}