Skip to content

lnbits/jukebox

Repository files navigation

Jukebox - LNbits extension

For more about LNBits extension check this tutorial

An actual Jukebox where users pay sats to play their favourite music from your playlists

Note: To use this extension you need a Premium Spotify subscription.

Usage

  1. Click on "ADD SPOTIFY JUKEBOX"
    add jukebox

  2. Follow the steps required on the form\

    • give your jukebox a name
    • select a wallet to receive payment
    • define the price a user must pay to select a song
      pick wallet price
    • follow the steps to get your Spotify App and get the client ID and secret key
      spotify keys
    • paste the codes in the form
      api keys
    • copy the Redirect URL presented on the form
      redirect url
    • on Spotify click the "EDIT SETTINGS" button and paste the copied link in the Redirect URI's prompt spotify app setting
    • back on LNbits, click "AUTORIZE ACCESS" and "Agree" on the page that will open
    • choose on which device the LNbits Jukebox extensions will stream to, you may have to be logged in in order to select the device (browser, smartphone app, etc...)
    • and select what playlist will be available for users to choose songs (you need to have already playlist on Spotify)
      select playlists
  3. After Jukebox is created, click the icon to open the dialog with the shareable QR, open the Jukebox page, etc...
    shareable jukebox

  4. The users will see the Jukebox page and choose a song from the selected playlist
    select song

  5. After selecting a song they'd like to hear next a dialog will show presenting the music
    play for sats

  6. After payment, the song will automatically start playing on the device selected or enter the queue if some other music is already playing