lnbits-legend/lnbits/extensions/jukebox
calle b622028f7d
Merge pull request #1271 from lnbits/fix/mypy/ignores
removing type: ignore from Query, Depends, Body and import them correctly
2023-01-04 09:19:06 +01:00
..
static Tile size standard should be 128px 2023-01-03 20:05:44 +00:00
templates/jukebox Merge pull request #1253 from iWarpBTC/qr_inv_pref 2022-12-30 01:04:47 +00:00
__init__.py Fixed path for extension templates 2022-07-23 20:08:59 +01:00
config.json Updated extension card layout 2023-01-01 18:14:20 +00:00
crud.py more mypy extension fixes (#1096) 2022-11-19 14:42:10 -06:00
migrations.py initial 2021-10-10 16:23:39 +01:00
models.py more mypy extension fixes (#1096) 2022-11-19 14:42:10 -06:00
README.md Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
tasks.py more mypy extension fixes (#1096) 2022-11-19 14:42:10 -06:00
views_api.py removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01:00
views.py removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01:00

Jukebox

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