Hello,
about 2 weeks ago I wrote here about my intention of building a jukebox on top of lightning. Here I am with the version 1:
I also promised to open source the code. If interested, have a look at the implementation. It's not very polished yet but I had a lot of fun building and using Svelte for the first time.
I've got more plans with the project. Two main features I'd like to add are global chat (so that you can talk to fellow bitcoiners while listening) and rooms (so that you can share playlist with your friends).
Please note that there might be bugs and not everything working as expected. You can report anything not working here or to the repository.
Anyway, let me know what you think and happy listening!
Awesome idea! Need the pubs to adopt this.
@k00b could the Saloon benefit from a Jukebox??
reply
👀
Jukebox with old timey music and card game bots?
reply
I've noticed the song loading is a bit slow under the load. Optimizations coming soon!
reply
awesome job! keep it up already looking forward to version 2 🙌
reply
Interesting. Nice to see others mess about with sats and music.
Doesn't seem to work though? It is not generating an invoioice nor loading the music?
Would be nice if you could take a look at how to integrate this into our current jukebox here: https://github.com/LightningJukeboxBot
reply
Hey, I've checked your jukebox and it looks great. I still wanted to build mine, though, kind of a challenge :)
What device and browser are you using? From what i've heard, it should be working more or less. But I wouldn't be surprised there were no issues, it's only the first version!
reply
Took a few long seconds for the song to start playing on my browser.
reply
Hey, thanks for trying out! I've noticed it as well. Sometimes longer songs are 1.8 MB and short songs are 15 MB. It's quite unpredictable from youtube.
I'll look into optimizations tomorrow.
reply
Same. Like, minutes -- I was trying to figure out if I was missing something, and then it finally worked.
reply
Looks great!.. Lets add some decent tracks!
reply
Just tested. This is rad!
reply
Thanks a ton! I'll iterate from here and improve.
reply
This is so freaking cool. I'm bookmarking LN Jukebox ;)
reply
So great to read this. Thank you very much!
reply
You're very welcome buddy. You're doing a great job.
reply
Player control like volume and play/pause would be nice
reply
Volume is the highest on my TODO list, coming soon.
reply
Worth. Every. Sat!
reply
Thank you!
reply
Dope af.
reply
Appreciated!
reply
I see that more sats give you a higher position on the queue.
What happens when there's a tie?
Say the top song is at 100 sats, if I send another one with also 100 sats, will it be on top or second?
Also, you could just spam it with a massive amount of 1 sat "songs", so maybe add some checks for that
reply
Great point. The secondary ordering rule is date. So when you spend the same amount as an item already in queue, you'll be behind that queue item.
The project aims to be as open as possible, so even 1 sat songs are fine!
reply
I know a blog that has a lot of daily visitors and have a pub-topic where visitors post comments with yt links with music. This would be a great replacement.
reply
Great! Or they could just embed the jukebox on the blog :D
reply
Yeah something like that. I sometimes speak to someone involved, I will bring it up.
But now I'm thinking, they will definitely run into some legal issues.
reply
Very cool concept.
reply
Thank you!
reply
Ive seen various representations of this but its nice to see on lightning. A feature I think would be great is rooms. Allowing different people to log in and play different lists.
also, the ability to reject a song. No one wants aqua barbie girl at an EDM party. If song is rejected, a refund is made.
reply
Thanks for the suggestions. I'll have to think about rejecting a song but rooms are quite high on my TODO list. Coming soon!
reply
reply
Thanks!
reply
Could you maybe add a counter which shows how many people are on the website/listening right now?
reply
Great idea!
reply
This is really a great project. Love it. Would be awesome if you could add a live chatbox as well where we can log-in via lightning or nostr.
reply
Thank you! This is exactly something that is coming soon!
reply
nice! I think it would be nice if you could see your position in the queue after you pay and also estimate your position for a given amount
reply
hello, it shows you that information when you add an item :)
reply
super cool nice work
reply
is there an upper limit on the time of videos that can be added? i just envision someone having a ten hour video playing of something stupid.
reply
there's a 10 minute limit :)
reply
should have known.
cool!
reply