{"action":"created","issue":{"url":"https://api.github.com/repos/dhowden/tag/issues/13","labels_url":"https://api.github.com/repos/dhowden/tag/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/dhowden/tag/issues/13/comments","events_url":"https://api.github.com/repos/dhowden/tag/issues/13/events","html_url":"https://github.com/dhowden/tag/pull/13","id":86752783,"number":13,"title":"Support for numeric genres in id3v2","user":{"login":"xhenner","id":713356,"avatar_url":"https://avatars.githubusercontent.com/u/713356?v=3","gravatar_id":"","url":"https://api.github.com/users/xhenner","html_url":"https://github.com/xhenner","followers_url":"https://api.github.com/users/xhenner/followers","following_url":"https://api.github.com/users/xhenner/following{/other_user}","gists_url":"https://api.github.com/users/xhenner/gists{/gist_id}","starred_url":"https://api.github.com/users/xhenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhenner/subscriptions","organizations_url":"https://api.github.com/users/xhenner/orgs","repos_url":"https://api.github.com/users/xhenner/repos","events_url":"https://api.github.com/users/xhenner/events{/privacy}","received_events_url":"https://api.github.com/users/xhenner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T22:16:11Z","updated_at":"2015-06-09T22:32:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dhowden/tag/pulls/13","html_url":"https://github.com/dhowden/tag/pull/13","diff_url":"https://github.com/dhowden/tag/pull/13.diff","patch_url":"https://github.com/dhowden/tag/pull/13.patch"},"body":"TCON\r\n\r\nThe 'Content type', which previously was stored as a one byte numeric value\r\nonly, is now a numeric string. You may use one or several of the types as\r\nID3v1.1 did or, since the category list would be impossible to maintain with\r\naccurate and up to date categories, define your own.\r\n\r\nReferences to the ID3v1 genres can be made by, as first byte, enter \"(\"\r\nfollowed by a number from the genres list (appendix A) and ended with a \")\"\r\ncharacter. This is optionally followed by a refinement, e.g. \"(21)\" or\r\n\"(4)Eurodisco\". Several references can be made in the same frame, e.g.\r\n\"(51)(39)\". If the refinement should begin with a \"(\" character it should be\r\nreplaced with \"((\", e.g. \"((I can figure out any genre)\" or \"(55)((I\r\nthink...)\". The following new content types is defined in ID3v2 and is\r\nimplemented in the same way as the numerig content types, e.g. \"(RX)\".\r\n\r\nI made a partial implentation as, in practice, I've only seen TCON with\r\none numeric value.\r\n\r\nTo test it, use the id3v2 tool\r\n\r\n% id3v2 -g 79 test.mp3\r\n% id3v2 -l test.mp3| grep TCON\r\nTCON (Content type): Hard Rock (79)\r\n% ./tag test.mp3| grep Genre\r\n Genre: (79)\r\n\r\nWith the patch :\r\n% go build && ./tag test.mp3| grep Genre\r\n Genre: Hard Rock"},"comment":{"url":"https://api.github.com/repos/dhowden/tag/issues/comments/110523374","html_url":"https://github.com/dhowden/tag/pull/13#issuecomment-110523374","issue_url":"https://api.github.com/repos/dhowden/tag/issues/13","id":110523374,"user":{"login":"dhowden","id":2822,"avatar_url":"https://avatars.githubusercontent.com/u/2822?v=3","gravatar_id":"","url":"https://api.github.com/users/dhowden","html_url":"https://github.com/dhowden","followers_url":"https://api.github.com/users/dhowden/followers","following_url":"https://api.github.com/users/dhowden/following{/other_user}","gists_url":"https://api.github.com/users/dhowden/gists{/gist_id}","starred_url":"https://api.github.com/users/dhowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhowden/subscriptions","organizations_url":"https://api.github.com/users/dhowden/orgs","repos_url":"https://api.github.com/users/dhowden/repos","events_url":"https://api.github.com/users/dhowden/events{/privacy}","received_events_url":"https://api.github.com/users/dhowden/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T22:32:01Z","updated_at":"2015-06-09T22:32:01Z","body":"Please merge the two commits, and add some unit tests (to check that the various genre formats are covered)."}}