Sort_YM/config.toml
Andrew Pimenov 187c30b4ab add digest command for a compact library summary
Aggregates liked tracks into top artists, genres, decades and top albums
with fixed size ceilings instead of a per-track dump, so it can be pasted
into an LLM chat regardless of library size. Fully offline - reads only
the existing cache, no Client/network needed. Adds album_title/year to
the track cache (one-time re-fetch) to support the decade and album views.
2026-08-09 11:59:39 +03:00

28 lines
1.3 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[throttle]
# Пауза между запросами к API, секунды
fetch_batch_delay = 0.4
lyrics_request_delay = 0.25
apply_request_delay = 0.3
# Таймаут одного запроса, секунды (библиотека по умолчанию ставит 5 - мало при медленной сети)
request_timeout = 20
[fetch]
# Сколько id треков в одном батч-запросе client.tracks(...) / client.artists(...)
batch_size = 100
[classify]
# Минимальный размер под-жанровой группы (fine, lang), чтобы получить отдельный плейлист.
# Меньшие группы схлопываются в родительскую крупную корзину (rock/indie-alt/...).
small_group_min = 12
[digest]
# Сколько исполнителей показывать в дайджесте (out/digest.md) поимённо.
# Остальные схлопываются в одну строку "ещё N исполнителей".
top_artists = 40
# Сколько альбомов показывать поимённо; остальные - в одну строку с метрикой "альбомы vs синглы".
top_albums = 15
[paths]
token_file = ".token"
cache_dir = "cache"
out_dir = "out"