Commit Graph
4 Commits
Author SHA1 Message Date
Mrixs 7ddf43158a Increase pageSize to 500 for artist API calls
CI/CD / test (push) Successful in 40s
CI/CD / build (push) Successful in 44s
CI/CD / docker (push) Failing after 49s
Fetch up to 500 tracks/albums per page instead of 50, reducing
the number of API calls needed when checking artists with large
discographies.
2026-10-18 09:17:29 +03:00
Mrixs c228e7e2b7 Update yandex-music-api-go library
CI/CD / test (push) Successful in 1m35s
CI/CD / build (push) Successful in 52s
CI/CD / docker (push) Canceled after 13s
Upgrade to v0.0.0-20261018055743-0456ca0665a6 which fixes the
page=0 validation bug in GetArtistTracks/GetArtistAlbums.

The library now returns *ArtistTracks/*ArtistAlbums wrappers
instead of raw slices, so the YandexClient wrapper extracts
the inner slices for backward compatibility.

Reverted page numbering back to 0 in monitor since the API
bug is fixed server-side/library-side.
2026-10-18 09:15:19 +03:00
Mrixs ed6c26a3af Fix artist page numbering for Yandex API
CI/CD / test (push) Successful in 11m45s
CI/CD / build (push) Successful in 10m27s
CI/CD / docker (push) Successful in 2m58s
Start page numbering at 1 instead of 0 in checkArtistTracks and
checkArtistAlbums. Yandex Music API rejects page=0 with
400 'Parameters requirements are not met'.

GetArtistInfo works because it doesn't use pagination.
2026-10-18 01:07:04 +03:00
Mrixs fe62910311 Initial commit: ym-dl with yandex-music-api-go library migration
Migrate ym-dl from custom oapi-codegen Yandex Music API client to external
gitea.mrixs.me/Mrixs/yandex-music-api-go library with token-only authentication.

Key changes:
- Replace custom Yandex API client with yandexmusic library wrapper
- Token-based OAuth authentication only (no username/password fallback)
- SQLite storage index with JSON index migration path
- Extended ID3 tag support: genre, comment, lyrics, publisher, ISRC, copyright
- High-resolution album covers (1000x1000)
- Fixed album download check (requires all tracks, not just one)
2026-10-17 17:09:42 +03:00