anyaudio / anyaudio-server

:musical_note: Simple server to search youtube and give direct audio download and stream links
91 stars 19 forks source link

Unseekable audio player #155

Closed anshumanv closed 6 years ago

anshumanv commented 6 years ago

When we click at any time on the buffered bar, the track doesn't seek to that point.

We can update the playtime using cursor keys though, but it would be nice if we can go to the time (as shown by the time popup) we click on.

anshumanv commented 6 years ago

I don't know much, but I'll try to fix this.

singhpratyush commented 6 years ago

@anshumanv: Thanks for showing interest in this project.

Just to brief you on the seek bar thing, it is not removed as seeking was not possible in earlier version of the server.

It was due to lack of partial content support. This issue was fixed in 171362e75e0522423cf4ca6c6cca8523c88b8b6f and further optimizations were made in the stream_handler endpoint.

Since seeking wasn't possible earlier, we had disabled the feature. But now, it can be enabled and you can proceed with the issue. I am certain that you would just need to play around with the HTML/JS part only.

Also, we are planning to completely remove this player and move to our react based web app in recent future.

Cheers!

singhpratyush commented 6 years ago

From what I remember, you should be able to fix it from here and here.

anshumanv commented 6 years ago

Thanks for the links @singhpratyush, I'll try to find a workaround. Stream API Perks :wink: