Live data from Hacker News

Camptown – HTML-based audio player

github.com

1–10 of 10 posts

Re: Camptown – HTML-based audio player

#5
Since there is no demo and the repo looks super barebones (a loop which templates a list of mp3s in a directory?), do the upvotes mean that there is demand for an HTML based audio player?

What features would everybody want from such a player?

Re: Camptown – HTML-based audio player

#6
post #5

Since there is no demo and the repo looks super barebones (a loop which templates a list of mp3s in a directory?), do the upvotes mean that there is demand for an HTML based audio player? What features would everybody want from such a player?

Also my question.

Maybe it’s because it focuses on semantic HTML?

Re: Camptown – HTML-based audio player

#8
post #5

Since there is no demo and the repo looks super barebones (a loop which templates a list of mp3s in a directory?), do the upvotes mean that there is demand for an HTML based audio player? What features would everybody want from such a player?

i am currently using a very rudimentary player that is extremely lightweight, vanilla js, supports basic multi-room (multi-device, i.e. pick a track on your phone and listen to it from the tv) and defaults to repeat 1 mode. I want it to run without issues on old phones so i can just hook one up to the stereo. Considering adding drag and drop so i can listen to local tracks as well

(you clearly need some sort of server to do this, i am using mqtt because that's what i had laying around, but maybe this could be feasible with modern browser features skipping an external server?)

Re: Camptown – HTML-based audio player

#9
post #5

Since there is no demo and the repo looks super barebones (a loop which templates a list of mp3s in a directory?), do the upvotes mean that there is demand for an HTML based audio player? What features would everybody want from such a player?

one of the first pages i ever put on the internet was a flash-based mp3 player with an iframe populated by a php script that scraped my local hard drive at home

loved showing off my music library on school computers, and a couple friends asked for the code to build/remix their own

Re: Camptown – HTML-based audio player

#10
post #5

Since there is no demo and the repo looks super barebones (a loop which templates a list of mp3s in a directory?), do the upvotes mean that there is demand for an HTML based audio player? What features would everybody want from such a player?

i am currently using a very rudimentary player that is extremely lightweight, vanilla js, supports basic multi-room (multi-device, i.e. pick a track on your phone and listen to it from the tv) and defaults to repeat 1 mode. I want it to run without issues on old phones so i can just hook one up to the stereo. Considering adding drag and drop so i can listen to local tracks as well (you clearly need some sort of serve…

You could use websockets, but MQTT is a great and robust option