1e40570d57d59d479bca5ac225a09b278acfba5b
Refactored code for TRUE multithreaded performance startup time decreased from 2 secs to 0.2 secs updates song time decreased from 3 secs to 0.1 secs introduced proper and full error handler, can fully recover from errors (including performing a full restart) implemented web server to push updates and restart application (flask) getting lyrics is truely mulithreaded now, all in memory.
Spotify Canvas Downloader
Tool to get Canvas cover videos from Spotify tracks.
✨ Try it out
Building
- Clone the repository
git clone https://github.com/Delitefully/spotify-canvas-downloader - Configure the env variables
mv env.example .env - Build the image using Docker Compose
docker-compose up
Development
Recompile protocol buffer proto (useful when upgrading protobuff):
protoc ./protos/canvas.proto --python_out=./src/
Requires the Protocol Buffers package.
API
GET /api/canvas/:trackId
Returns
{
"success": boolean
"canvas_url": string, if success is 'true'
"message": string, error message if success is 'false'
}
Description
Languages
Python
98.4%
Shell
1.3%
Dockerfile
0.3%