{"action":"created","issue":{"url":"https://api.github.com/repos/rFlex/SCWaveformView/issues/6","labels_url":"https://api.github.com/repos/rFlex/SCWaveformView/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/rFlex/SCWaveformView/issues/6/comments","events_url":"https://api.github.com/repos/rFlex/SCWaveformView/issues/6/events","html_url":"https://github.com/rFlex/SCWaveformView/issues/6","id":58549893,"number":6,"title":"Cannot load recorded file","user":{"login":"Supertecnoboff","id":876897,"avatar_url":"https://avatars.githubusercontent.com/u/876897?v=3","gravatar_id":"","url":"https://api.github.com/users/Supertecnoboff","html_url":"https://github.com/Supertecnoboff","followers_url":"https://api.github.com/users/Supertecnoboff/followers","following_url":"https://api.github.com/users/Supertecnoboff/following{/other_user}","gists_url":"https://api.github.com/users/Supertecnoboff/gists{/gist_id}","starred_url":"https://api.github.com/users/Supertecnoboff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Supertecnoboff/subscriptions","organizations_url":"https://api.github.com/users/Supertecnoboff/orgs","repos_url":"https://api.github.com/users/Supertecnoboff/repos","events_url":"https://api.github.com/users/Supertecnoboff/events{/privacy}","received_events_url":"https://api.github.com/users/Supertecnoboff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-23T07:05:03Z","updated_at":"2015-04-14T22:40:15Z","closed_at":null,"body":"Hi,\r\n\r\nThis is superb library thank you very much. How can I get it to load a file that I recorded instead of a file stored in the NS Main Bundle? I have tried the following but they don't work:\r\n\r\n```\r\n\r\n// \"myURL\" being a string like so:\r\n// file:///var/mobile/Containers/Data/Application/35B72EE7-7320-4185-9B2E-55C540F738FD/Documents/23Feb2015_065229am.aif\r\n\r\nNSURL *assetURL = [NSURL URLWithString:myURL];\r\nAVURLAsset *asset  = [AVURLAsset URLAssetWithURL:assetURL options:nil];\r\n```\r\n\r\nI have tried so many different things and they dont work :("},"comment":{"url":"https://api.github.com/repos/rFlex/SCWaveformView/issues/comments/93099008","html_url":"https://github.com/rFlex/SCWaveformView/issues/6#issuecomment-93099008","issue_url":"https://api.github.com/repos/rFlex/SCWaveformView/issues/6","id":93099008,"user":{"login":"etayluz","id":1825834,"avatar_url":"https://avatars.githubusercontent.com/u/1825834?v=3","gravatar_id":"","url":"https://api.github.com/users/etayluz","html_url":"https://github.com/etayluz","followers_url":"https://api.github.com/users/etayluz/followers","following_url":"https://api.github.com/users/etayluz/following{/other_user}","gists_url":"https://api.github.com/users/etayluz/gists{/gist_id}","starred_url":"https://api.github.com/users/etayluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etayluz/subscriptions","organizations_url":"https://api.github.com/users/etayluz/orgs","repos_url":"https://api.github.com/users/etayluz/repos","events_url":"https://api.github.com/users/etayluz/events{/privacy}","received_events_url":"https://api.github.com/users/etayluz/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T22:40:15Z","updated_at":"2015-04-14T22:40:15Z","body":"This is how you do it assuming you're selecting a music file from your library:\r\n\r\n-(void) mediaPicker:(MPMediaPickerController *) mediaPicker2 didPickMediaItems:(MPMediaItemCollection *) mediaItemCollection {  \r\n  self.waveformView = [SCWaveformView new];\r\n\r\n  // Setting the asset\r\n  AVAsset *asset = [AVURLAsset URLAssetWithURL:[mediaItem valueForProperty:MPMediaItemPropertyAssetURL] options:nil];\r\n  self.waveformView.asset = asset;\r\n}\r\n"}}