Combining all my work #1
2 changed files with 4 additions and 2 deletions
|
|
@ -4,7 +4,9 @@ async function alertText(text="Song Added!") {
|
|||
alertbox = document.getElementById("alert");
|
||||
alertbox.innerHTML = text;
|
||||
await new Promise(r => setTimeout(r, alertTime*1000));
|
||||
if (alertbox.innerHTML == text) {
|
||||
alertbox.innerHTML = ""
|
||||
}
|
||||
}
|
||||
// a lot of this is kinda waffly because i was trying to get
|
||||
// it to return the right stuff and javascript is asyrcronouse (boo)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
## Purpose
|
||||
The **Party Jukebox** is a program that allows many people to add music, skip songs, play, and pause from any web device to the same device and playlist. \
|
||||
This was created for a personal use case for parties, and is a simple, (mostly) functional solution to have a collective playlist for local mp3 files. \
|
||||
Main advantage compared to doing something similar using Spotify is that you can limit the songs that can be played to your selection. Songs can be chosen, but only from a list
|
||||
The main advantage compared to doing something similar using Spotify is that you can limit the songs that can be played to your selection. Songs can be chosen, but only from a list.
|
||||
## Basic Setup
|
||||
### Client Setup:
|
||||
The client is a web application that can be hosted on any server, it need not be the same device running the music player.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue