added auto-retry
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -21,3 +21,6 @@ routes/utils/__pycache__/credentials.cpython-312.pyc
|
||||
routes/utils/__pycache__/search.cpython-312.pyc
|
||||
routes/utils/__pycache__/credentials.cpython-312.pyc
|
||||
routes/utils/__pycache__/search.cpython-312.pyc
|
||||
routes/utils/__pycache__/__init__.cpython-312.pyc
|
||||
routes/utils/__pycache__/credentials.cpython-312.pyc
|
||||
routes/utils/__pycache__/search.cpython-312.pyc
|
||||
|
||||
@@ -10,4 +10,4 @@ services:
|
||||
image: cooldockerizer93/spotizerr
|
||||
environment:
|
||||
- PUID=1000 # Replace with your desired user ID | Remove both if you want to run as root (not recommended, might result in unreadable files)
|
||||
- PGID=1000 # Replace with your desired group ID |
|
||||
- PGID=1000 # Replace with your desired group ID |
|
||||
|
||||
BIN
routes/utils/__pycache__/__init__.cpython-312.pyc
Executable file → Normal file
BIN
routes/utils/__pycache__/__init__.cpython-312.pyc
Executable file → Normal file
Binary file not shown.
BIN
routes/utils/__pycache__/credentials.cpython-312.pyc
Executable file → Normal file
BIN
routes/utils/__pycache__/credentials.cpython-312.pyc
Executable file → Normal file
Binary file not shown.
BIN
routes/utils/__pycache__/search.cpython-312.pyc
Executable file → Normal file
BIN
routes/utils/__pycache__/search.cpython-312.pyc
Executable file → Normal file
Binary file not shown.
@@ -617,6 +617,8 @@ function getStatusMessage(data) {
|
||||
return `Finished: ${data.song} by ${data.artist}`;
|
||||
case 'initializing':
|
||||
return `Initializing ${data.type} download for ${data.album || data.artist}...`;
|
||||
case 'retrying':
|
||||
return `Track ${data.song} by ${data.artist} failed, retrying (${data.retries}/${data.max_retries}) in ${data.seconds_left}s`;
|
||||
case 'error':
|
||||
return `Error: ${data.message || 'Unknown error'}`;
|
||||
case 'complete':
|
||||
|
||||
Reference in New Issue
Block a user