mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 18:51:05 +01:00
b622028f7d
removing type: ignore from Query, Depends, Body and import them correctly |
||
---|---|---|
.. | ||
static | ||
templates/jukebox | ||
__init__.py | ||
config.json | ||
crud.py | ||
migrations.py | ||
models.py | ||
README.md | ||
tasks.py | ||
views_api.py | ||
views.py |
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
-
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
- follow the steps to get your Spotify App and get the client ID and secret key
- paste the codes in the form
- copy the Redirect URL presented on the form
- on Spotify click the "EDIT SETTINGS" button and paste the copied link in the Redirect URI's prompt
- 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)
-
After Jukebox is created, click the icon to open the dialog with the shareable QR, open the Jukebox page, etc...
-
The users will see the Jukebox page and choose a song from the selected playlist
-
After selecting a song they'd like to hear next a dialog will show presenting the music
-
After payment, the song will automatically start playing on the device selected or enter the queue if some other music is already playing