{"action":"created","issue":{"url":"https://api.github.com/repos/muhku/FreeStreamer/issues/191","labels_url":"https://api.github.com/repos/muhku/FreeStreamer/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/muhku/FreeStreamer/issues/191/comments","events_url":"https://api.github.com/repos/muhku/FreeStreamer/issues/191/events","html_url":"https://github.com/muhku/FreeStreamer/issues/191","id":88433123,"number":191,"title":"The infamous All I/O Error next song gets paused","user":{"login":"humayunharoon","id":4600498,"avatar_url":"https://avatars.githubusercontent.com/u/4600498?v=3","gravatar_id":"","url":"https://api.github.com/users/humayunharoon","html_url":"https://github.com/humayunharoon","followers_url":"https://api.github.com/users/humayunharoon/followers","following_url":"https://api.github.com/users/humayunharoon/following{/other_user}","gists_url":"https://api.github.com/users/humayunharoon/gists{/gist_id}","starred_url":"https://api.github.com/users/humayunharoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humayunharoon/subscriptions","organizations_url":"https://api.github.com/users/humayunharoon/orgs","repos_url":"https://api.github.com/users/humayunharoon/repos","events_url":"https://api.github.com/users/humayunharoon/events{/privacy}","received_events_url":"https://api.github.com/users/humayunharoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-15T13:48:48Z","updated_at":"2015-06-26T02:06:17Z","closed_at":null,"body":"I am using FSAudioController and add items to its playlist, which have tracks as mp3's which are streamed off the internet. As expected some of the tracks are also cached. Whenever i press next/previous track and the track which is about to be played is cached, it plays for a second and then pauses with the AVAudioSession.mm:646: -[AVAudioSession setActive:withOptions:error:]: Deactivating an audio session that has running I/O. All I/O should be stopped or paused prior to deactivating the audio session. error in the console. \r\n\r\nI can't solve the issue with the workaround suggested here #153 since i am not using an audio stream directly, instead using the AudioController. Any fixes?\r\n\r\nEDIT: From what my understanding is, a race condition is occurring where if the next track is cached, it starts playing immediately but then its audio session is attempted to be killed off. Any idea where i should be looking @muhku ?"},"comment":{"url":"https://api.github.com/repos/muhku/FreeStreamer/issues/comments/115462910","html_url":"https://github.com/muhku/FreeStreamer/issues/191#issuecomment-115462910","issue_url":"https://api.github.com/repos/muhku/FreeStreamer/issues/191","id":115462910,"user":{"login":"WillHu","id":2568105,"avatar_url":"https://avatars.githubusercontent.com/u/2568105?v=3","gravatar_id":"","url":"https://api.github.com/users/WillHu","html_url":"https://github.com/WillHu","followers_url":"https://api.github.com/users/WillHu/followers","following_url":"https://api.github.com/users/WillHu/following{/other_user}","gists_url":"https://api.github.com/users/WillHu/gists{/gist_id}","starred_url":"https://api.github.com/users/WillHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillHu/subscriptions","organizations_url":"https://api.github.com/users/WillHu/orgs","repos_url":"https://api.github.com/users/WillHu/repos","events_url":"https://api.github.com/users/WillHu/events{/privacy}","received_events_url":"https://api.github.com/users/WillHu/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T02:06:17Z","updated_at":"2015-06-26T02:06:17Z","body":"It also happens in iOS 8.3 and 5s."}}