Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetchInfoForCurrentPlaying is not implemented #25

Open
BillHu opened this issue Nov 27, 2014 · 8 comments
Open

fetchInfoForCurrentPlaying is not implemented #25

BillHu opened this issue Nov 27, 2014 · 8 comments

Comments

@BillHu
Copy link

BillHu commented Nov 27, 2014

hi, the fetchInfoForCurrentPlaying method is not implemented

@pballada
Copy link

pballada commented Jan 9, 2015

same problem here

@swaroopbutala
Copy link

Encountered same error,

Tried commenting the line here and it seems to have worked.. I hope there is no random side effects.
https://github.com/AlvaroFranco/AFSoundManager/blob/master/Classes/AFSoundManager.m#L68

@JaviLorbada
Copy link

Hi Alvaro,

Regarding this error, would it be possible to merge the pull request #22 ?

Either that, or just remove the method being called at:

[self fetchInfoForCurrentPlaying];

Otherwise the library is crashing when calling

[[AFSoundManager sharedManager] startPlayingLocalFileWithName:@"Example.mp3" atPath:nil withCompletionBlock:^(int percentage, CGFloat elapsedTime, CGFloat timeRemaining, NSError *error, BOOL finished) {
    if (!error) {
      //This block will be fired when the audio progress increases in 1%
    } else {
      //Handle the error
    }
  }];

With the following error:

-[AFSoundManager fetchInfoForCurrentPlaying]: unrecognized selector sent to instance...
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AFSoundManager fetchInfoForCurrentPlaying]: unrecognized selector sent to instance ...'

Thanks in advance, Cheers!

@AlvaroFranco
Copy link
Owner

Sorry about the issue guys. I've merged the PR and I'm going to push a new update to CocoaPods

@AlvaroFranco
Copy link
Owner

OK, I've pushed the 1.2.5 version to CocoaPods, so the issue should be totally fixed now

@jayjayesh
Copy link

Hi Alvaro,

[AFSoundManager fetchInfoForCurrentPlaying] this method only returns for local audio files , how can i fetchInfoForCurrentPlaying for Streaming Audio ?

@AlvaroFranco
Copy link
Owner

AFSoundManager v2 is coming really soon with great features and all this stuff fixed and improved. Stay tuned! I guess the migration will be easy.

@cloudjanak
Copy link

how to handle intrruption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants