{"action":"opened","issue":{"url":"https://api.github.com/repos/ogarcia/ultrasonic/issues/7","repository_url":"https://api.github.com/repos/ogarcia/ultrasonic","labels_url":"https://api.github.com/repos/ogarcia/ultrasonic/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ogarcia/ultrasonic/issues/7/comments","events_url":"https://api.github.com/repos/ogarcia/ultrasonic/issues/7/events","html_url":"https://github.com/ogarcia/ultrasonic/issues/7","id":148971411,"number":7,"title":"Buffer size option","user":{"login":"HenkBezuidenhout","id":12508986,"avatar_url":"https://avatars.githubusercontent.com/u/12508986?v=3","gravatar_id":"","url":"https://api.github.com/users/HenkBezuidenhout","html_url":"https://github.com/HenkBezuidenhout","followers_url":"https://api.github.com/users/HenkBezuidenhout/followers","following_url":"https://api.github.com/users/HenkBezuidenhout/following{/other_user}","gists_url":"https://api.github.com/users/HenkBezuidenhout/gists{/gist_id}","starred_url":"https://api.github.com/users/HenkBezuidenhout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HenkBezuidenhout/subscriptions","organizations_url":"https://api.github.com/users/HenkBezuidenhout/orgs","repos_url":"https://api.github.com/users/HenkBezuidenhout/repos","events_url":"https://api.github.com/users/HenkBezuidenhout/events{/privacy}","received_events_url":"https://api.github.com/users/HenkBezuidenhout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-17T17:04:46Z","updated_at":"2016-04-17T17:04:46Z","closed_at":null,"body":"When using an OGG vorbis transcoder, Ultrasonic seems to be unable to detect the length of buffered data. It waits for the entire file to be downloaded before playing. This is no an issue when the connection is fast, but when it slows down, it can take minutes for a track to start playing, even though in my case 100kB of data is around 30 seconds of audio.\r\n\r\nAn easy fix would be to add an option to wait for a certain amount of data to be buffered, instead of waiting for a specific length of audio."}}