diff --git a/.gitignore b/.gitignore index 4df2460..d50dc38 100755 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/docker-compose.yaml b/docker-compose.yaml index f02dd2a..5ba0057 100755 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 | \ No newline at end of file + - PGID=1000 # Replace with your desired group ID | diff --git a/routes/utils/__pycache__/__init__.cpython-312.pyc b/routes/utils/__pycache__/__init__.cpython-312.pyc old mode 100755 new mode 100644 index ac1ba28..9e8d611 Binary files a/routes/utils/__pycache__/__init__.cpython-312.pyc and b/routes/utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/routes/utils/__pycache__/credentials.cpython-312.pyc b/routes/utils/__pycache__/credentials.cpython-312.pyc old mode 100755 new mode 100644 index e074b6b..83bcb6a Binary files a/routes/utils/__pycache__/credentials.cpython-312.pyc and b/routes/utils/__pycache__/credentials.cpython-312.pyc differ diff --git a/routes/utils/__pycache__/search.cpython-312.pyc b/routes/utils/__pycache__/search.cpython-312.pyc old mode 100755 new mode 100644 index 9872c54..62075c4 Binary files a/routes/utils/__pycache__/search.cpython-312.pyc and b/routes/utils/__pycache__/search.cpython-312.pyc differ diff --git a/static/js/app.js b/static/js/app.js index d63e3b0..7f7728c 100755 --- a/static/js/app.js +++ b/static/js/app.js @@ -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':