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

Is there a way to re-order the tracks? #35

Open
alexander-daniel opened this issue Dec 16, 2016 · 5 comments
Open

Is there a way to re-order the tracks? #35

alexander-daniel opened this issue Dec 16, 2016 · 5 comments

Comments

@alexander-daniel
Copy link
Contributor

Say we want to prepend or append to the current trackList. Is there a way to insert a new track with an index so we can specify where it gets loaded?

Thanks!

@naomiaro
Copy link
Owner

Currently not built in, I should create this along with the ability to delete tracks as in another open issue.

@alexander-daniel
Copy link
Contributor Author

Awesome! I've been mucking about in the code and I'll see if I can fork this and maybe make a PR for some of the more trivial things.

Appreciate your commitment to the lib!

@naomiaro naomiaro self-assigned this Apr 25, 2021
@naomiaro
Copy link
Owner

I'm looking sometime to get around to this coming up soon.... Can't believe it's already been so many years lol. I'm not sure if you even use waveform-playlist anymore @alexander-daniel

Were you looking more for an event to add tracks? Or some way in the UI for drag and drop reordering and placement?

@alexander-daniel
Copy link
Contributor Author

Wow! It has been years. We aren't currently using it anymore, but I've always kept his project in mind for our next Audio endeavour. IIRC I was looking for a way to be able to control the order? Or maybe control "where" a track could be loaded (so not by default as the last one)

The only code I can find is where we would keep references to the waveform-playlist internal state, and we'd manually sort and re-assign playlist.tracks.

Not sure if that helps!

@KnifeFed
Copy link

Any news on this?

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

No branches or pull requests

3 participants