Fixed
- File size missing for existing downloads. Records created before v1.7.0
had file_size = NULL because the column was only populated on new downloads.
A background migration thread now runs at startup and fills file_size for
all done rows whose MP3 is still on disk (os.path.getsize). Files that
have been deleted from disk are left as NULL silently.
to_dict() did not include file_size. When the frontend polled
/status/<job_id> after the job had expired from the in-memory store (e.g.
after a container restart), the response came from record.to_dict() which
was missing the file_size field, so the download label never showed the
size even for freshly converted tracks. Field added.
Docker
docker pull ghcr.io/davic80/yt2mp3:2.0.1
|
|
| Image |
ghcr.io/davic80/yt2mp3:2.0.1 |
| Tags |
2.0.1, latest |
| Platforms |
linux/amd64, linux/arm64 |
| Digest |
sha256:8792bf2ce44412614e2c850f464bb93a7d440a20f5ee3a91be030e953677d2d0 |
Deploy on Raspberry Pi
docker compose pull && docker compose up -d
# Or pin this specific version
IMAGE_TAG=2.0.1 docker compose up -d