{"action":"created","issue":{"url":"https://api.github.com/repos/delannoyk/AudioPlayer/issues/80","repository_url":"https://api.github.com/repos/delannoyk/AudioPlayer","labels_url":"https://api.github.com/repos/delannoyk/AudioPlayer/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/delannoyk/AudioPlayer/issues/80/comments","events_url":"https://api.github.com/repos/delannoyk/AudioPlayer/issues/80/events","html_url":"https://github.com/delannoyk/AudioPlayer/issues/80","id":190965926,"number":80,"title":"AudioPlayerDelegate doesn't get called with time updates playing a live stream","user":{"login":"danielmartinprieto","id":2881251,"avatar_url":"https://avatars.githubusercontent.com/u/2881251?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmartinprieto","html_url":"https://github.com/danielmartinprieto","followers_url":"https://api.github.com/users/danielmartinprieto/followers","following_url":"https://api.github.com/users/danielmartinprieto/following{/other_user}","gists_url":"https://api.github.com/users/danielmartinprieto/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmartinprieto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmartinprieto/subscriptions","organizations_url":"https://api.github.com/users/danielmartinprieto/orgs","repos_url":"https://api.github.com/users/danielmartinprieto/repos","events_url":"https://api.github.com/users/danielmartinprieto/events{/privacy}","received_events_url":"https://api.github.com/users/danielmartinprieto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T10:49:15Z","updated_at":"2016-11-24T00:26:55Z","closed_at":null,"body":"Hi.\r\n\r\nI've observed that `audioPlayer(_ audioPlayer: AudioPlayer, didUpdateProgressionTo time: TimeInterval, percentageRead: Float)` doesn't get called while playing a live stream. I've checked the code and it's because the player cannot know the total duration, therefore it skips calling the delegate.\r\n\r\nIn my opinion, this callback is still useful even if you don't know the total duration of the stream. For instance, for a given live stream we know which song is being played at a certain moment, if we can know when the stream started and the progression so far. But maybe there is another, easier way to accomplish this?\r\n\r\nWhat do you think? Thanks."},"comment":{"url":"https://api.github.com/repos/delannoyk/AudioPlayer/issues/comments/262662182","html_url":"https://github.com/delannoyk/AudioPlayer/issues/80#issuecomment-262662182","issue_url":"https://api.github.com/repos/delannoyk/AudioPlayer/issues/80","id":262662182,"user":{"login":"delannoyk","id":1777691,"avatar_url":"https://avatars.githubusercontent.com/u/1777691?v=3","gravatar_id":"","url":"https://api.github.com/users/delannoyk","html_url":"https://github.com/delannoyk","followers_url":"https://api.github.com/users/delannoyk/followers","following_url":"https://api.github.com/users/delannoyk/following{/other_user}","gists_url":"https://api.github.com/users/delannoyk/gists{/gist_id}","starred_url":"https://api.github.com/users/delannoyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delannoyk/subscriptions","organizations_url":"https://api.github.com/users/delannoyk/orgs","repos_url":"https://api.github.com/users/delannoyk/repos","events_url":"https://api.github.com/users/delannoyk/events{/privacy}","received_events_url":"https://api.github.com/users/delannoyk/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T00:26:55Z","updated_at":"2016-11-24T00:26:55Z","body":"Hi Daniel,\r\nCorrect me if I'm wrong but I think the `time` is only relative to when the user started playing the livestream isn't that right? I mean at the time he presses \"Play\" the time is 0, after 10 secs it's 10 etc etc. How would you know what is being played based on this relative time?"}}
{"actor":{"display_login":"delannoyk"}}