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

fix gotoTrack after removeAllTracks, don't use sources[oi].audioPath #10

Merged
merged 1 commit into from
Jan 24, 2016

Conversation

wwoast
Copy link
Contributor

@wwoast wwoast commented Jan 24, 2016

Gapless tries to load an "undefined" track if you do a gotoTrack after resetAllTracks(). This is fixed by grabbing the audioPath not from the sources object, but from the tracks array in the player object.

I'm testing this on my internal gapless jukeboxes and it appears to work without issues, but any brain/eyes behind making sure this change does the right thing is appreciated :)

@regosen
Copy link
Owner

regosen commented Jan 24, 2016

Hi, just tested on Chrome/Firefox/Safari (plus iPhone), and it works great! Merging...

regosen added a commit that referenced this pull request Jan 24, 2016
fix gotoTrack after removeAllTracks, don't use sources[oi].audioPath
@regosen regosen merged commit 4ea21c8 into regosen:master Jan 24, 2016
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

Successfully merging this pull request may close these issues.

2 participants