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)
22 lines
664 B
Plaintext
22 lines
664 B
Plaintext
# Yandex Music Downloader Configuration
|
|
# Copy to config.yaml and fill in your values
|
|
|
|
yandex:
|
|
# Option 1: OAuth token (preferred)
|
|
token: ""
|
|
# Option 2: Username/password for token exchange (not all accounts support this)
|
|
username: ""
|
|
password: ""
|
|
|
|
artists:
|
|
- id: 12345 # Example artist ID - replace with actual Yandex Music artist IDs
|
|
- id: 67890
|
|
|
|
storage:
|
|
path: "/data/music" # Local path for downloads
|
|
organize: true # Organize into Artist/Album/Track structure
|
|
|
|
monitor:
|
|
interval: "24h" # Check interval (duration string: 1h, 24h, 7d, etc.)
|
|
|
|
debug: false # Enable debug logging (HTTP requests/responses) |