{"action":"created","issue":{"url":"https://api.github.com/repos/sverhagen/mp3-browser/issues/55","labels_url":"https://api.github.com/repos/sverhagen/mp3-browser/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/sverhagen/mp3-browser/issues/55/comments","events_url":"https://api.github.com/repos/sverhagen/mp3-browser/issues/55/events","html_url":"https://github.com/sverhagen/mp3-browser/issues/55","id":74870782,"number":55,"title":"Adding Or Finding the list of available tags?","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sverhagen/mp3-browser/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/sverhagen/mp3-browser/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/sverhagen/mp3-browser/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-10T08:47:41Z","updated_at":"2015-09-02T07:09:05Z","closed_at":"2015-09-02T07:09:05Z","body":"```\nI inserted this code into my mp3browser.php file\n\nif ($musicTag->getConfiguration()->isShowLength()) {\n        $column = new HtmlSimpleColumn(\"Date Recorded\" /* column header */, \"getYear\");\n\nI added this in order to get the date the mp3 file was recorded but it give me \ndifferent dates. I simple need to chance getYear to something else. Where is \nthis list of tags I can use?\n\n```\n\nOriginal issue reported on code.google.com by `ptrista...@gmail.com` on 18 Feb 2015 at 7:44"},"comment":{"url":"https://api.github.com/repos/sverhagen/mp3-browser/issues/comments/136957417","html_url":"https://github.com/sverhagen/mp3-browser/issues/55#issuecomment-136957417","issue_url":"https://api.github.com/repos/sverhagen/mp3-browser/issues/55","id":136957417,"user":{"login":"sverhagen","id":2049860,"avatar_url":"https://avatars.githubusercontent.com/u/2049860?v=3","gravatar_id":"","url":"https://api.github.com/users/sverhagen","html_url":"https://github.com/sverhagen","followers_url":"https://api.github.com/users/sverhagen/followers","following_url":"https://api.github.com/users/sverhagen/following{/other_user}","gists_url":"https://api.github.com/users/sverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/sverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sverhagen/subscriptions","organizations_url":"https://api.github.com/users/sverhagen/orgs","repos_url":"https://api.github.com/users/sverhagen/repos","events_url":"https://api.github.com/users/sverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/sverhagen/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T07:09:05Z","updated_at":"2015-09-02T07:09:05Z","body":"This is not how `HtmlSimpleColumn` works. The `userFunction` (\"`getYear`\" in your example) is meant to be a function on the `$data` that's passed to `getCellText`. This `$data` is of type `MusicItem`.\r\n\r\n`getYear` is not an existing method on `MusicItem`. You could add it. The implementation of that method would pull the actual date/year from the ID3 tag information (`$getId3FileInfo` in `MusicItem`, and there's plenty of examples in `MusicItem` of how to access the ID3 tag information).\r\n\r\nLook into the `getid3/getid3/` folder to know which ID3 tag information may be available. You may want to look in `module.tag.id3v....php`."}}