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??
👀
Jukebox with old timey music and card game bots?
https://media4.giphy.com/media/KDVswimTNahWzcd7sV/giphy.gif?cid=6c09b952uelwf8qkkkqcquhfr9dsy3kcjigqy9nn8dyi1l1k&ep=v1_internal_gif_by_id&rid=giphy.gif&ct=g
I've noticed the song loading is a bit slow under the load. Optimizations coming soon!
awesome job! keep it up already looking forward to version 2 🙌
Took a few long seconds for the song to start playing on my browser.
Same. Like, minutes -- I was trying to figure out if I was missing something, and then it finally worked.
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.
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
You may test ours via https://t.me/noderunnersradio Or the web-interface: https://jukebox.lighting/jukebox/web/-1001672416970
Listen via https://radio.noderunners.org
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!
@NoderunnersFM builds something similar! https://jukebox.lighting
Just tested. This is rad!
Thanks a ton! I'll iterate from here and improve.
Looks great!.. Lets add some decent tracks!
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.
Great! Or they could just embed the jukebox on the blog :D
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.
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.
Thank you! This is exactly something that is coming soon!
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.
there's a 10 minute limit :)
should have known.
cool!
This is so freaking cool. I'm bookmarking LN Jukebox ;)
So great to read this. Thank you very much!
You're very welcome buddy. You're doing a great job.
Worth. Every. Sat!
Thank you!
Very cool concept.
Thank you!
Could you maybe add a counter which shows how many people are on the website/listening right now?
Great idea!
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
hello, it shows you that information when you add an item :)
super cool nice work
Player control like volume and play/pause would be nice
Volume is the highest on my TODO list, coming soon.
Dope af.
Appreciated!
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
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!
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.
Thanks for the suggestions. I'll have to think about rejecting a song but rooms are quite high on my TODO list. Coming soon!
Go work
Thanks!