{"action":"created","issue":{"url":"https://api.github.com/repos/aadsm/JavaScript-ID3-Reader/issues/57","labels_url":"https://api.github.com/repos/aadsm/JavaScript-ID3-Reader/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/aadsm/JavaScript-ID3-Reader/issues/57/comments","events_url":"https://api.github.com/repos/aadsm/JavaScript-ID3-Reader/issues/57/events","html_url":"https://github.com/aadsm/JavaScript-ID3-Reader/issues/57","id":121018922,"number":57,"title":"Sporadically large load time for tags","user":{"login":"lopeax","id":7521531,"avatar_url":"https://avatars.githubusercontent.com/u/7521531?v=3","gravatar_id":"","url":"https://api.github.com/users/lopeax","html_url":"https://github.com/lopeax","followers_url":"https://api.github.com/users/lopeax/followers","following_url":"https://api.github.com/users/lopeax/following{/other_user}","gists_url":"https://api.github.com/users/lopeax/gists{/gist_id}","starred_url":"https://api.github.com/users/lopeax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopeax/subscriptions","organizations_url":"https://api.github.com/users/lopeax/orgs","repos_url":"https://api.github.com/users/lopeax/repos","events_url":"https://api.github.com/users/lopeax/events{/privacy}","received_events_url":"https://api.github.com/users/lopeax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-08T14:32:50Z","updated_at":"2015-12-10T12:15:24Z","closed_at":"2015-12-10T05:46:38Z","body":"Hey there,\r\n\r\nI've been researching into methods of getting the id3 tag for a track as I'm going to be making a web based music player. I've been toying with the idea of doing it in javascript and found your library, which, albeit with a huge load time, does work.\r\n\r\nHere's an example that I've got functioning (at the moment it only logs the tags and how long it took to get them): http://codepen.io/zephyr/pen/e4c432ef9a35ff4df839ca7b2bd01618?editors=001 (this pen is loading the minified js file for the id3 reader from another private pen that I made to have a place to host the code temporarily)\r\n\r\nSometimes (on the first load) I've gotten stupidly high load times :( it's ranged from two minutes to 8 minutes which is completely not in the right ballpark for this.\r\n\r\nAs an alternative I did find that there are some functions in php that can do it, and could simply send a json response for all the tracks I had, but wanted to try with javascript (with a faster solution than what it is currently).\r\n\r\nWould you have any ideas as to why this is so slow compared to your examples?\r\n\r\nKind Regards,\r\nTony"},"comment":{"url":"https://api.github.com/repos/aadsm/JavaScript-ID3-Reader/issues/comments/163593511","html_url":"https://github.com/aadsm/JavaScript-ID3-Reader/issues/57#issuecomment-163593511","issue_url":"https://api.github.com/repos/aadsm/JavaScript-ID3-Reader/issues/57","id":163593511,"user":{"login":"lopeax","id":7521531,"avatar_url":"https://avatars.githubusercontent.com/u/7521531?v=3","gravatar_id":"","url":"https://api.github.com/users/lopeax","html_url":"https://github.com/lopeax","followers_url":"https://api.github.com/users/lopeax/followers","following_url":"https://api.github.com/users/lopeax/following{/other_user}","gists_url":"https://api.github.com/users/lopeax/gists{/gist_id}","starred_url":"https://api.github.com/users/lopeax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lopeax/subscriptions","organizations_url":"https://api.github.com/users/lopeax/orgs","repos_url":"https://api.github.com/users/lopeax/repos","events_url":"https://api.github.com/users/lopeax/events{/privacy}","received_events_url":"https://api.github.com/users/lopeax/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T12:15:24Z","updated_at":"2015-12-10T12:15:24Z","body":"Hm, thanks for the breakdown on that, I'll need to have a look (zekken.rocks is my own server so should be able to do stuff on it, codepen is just for prototyping stuff :p) In all honesty though, I have no familiarity with the OPTIONS response so I'll come back once I've figured it out (unless you have any pointers)"}}