teodorpatras / Jukebox

Player for streaming local and remote audio files. Written in Swift.
MIT License
552 stars 122 forks source link

Playing Song at particular Index "jukeboxDidLoadItem" are call multiple time #80

Open kopsPrmr opened 7 years ago

kopsPrmr commented 7 years ago

Like I have 8 Song. I am Tap on 7 number Song so jukeboxDidLoadItem call 3 Time. We Dont have idea how it call 3 Time.

Song List have Mixed Song like 3 From Server and 4 are in Bundle.

jukebox.play(atIndex: 0)

RajChanchal commented 7 years ago

It's working fine for me, if possible, can you create a sample project and send, maybe I can help?

RajChanchal commented 7 years ago

Else you can try the code that I have edit. My code has also resolved background playing program and problem with interruptions. Write following line in podfile to get my code: pod 'Jukebox' , :git => 'https://github.com/RajChanchal/Jukebox.git', :branch => 'master'