Commit graph

4 commits

Author SHA1 Message Date
Андрей Пименов
f77fafd240 Fix adversarial code review defects 2026-08-19 03:53:25 +03:00
Andrew Pimenov
5d4cab5d68 report: --order/--extra flags, added_at and artist stats in track cache
CSV can now keep source playlist order instead of forced playlist grouping,
and optionally include added_at/duration_ms/release_date/artist rating from
the API that were previously fetched but discarded.
2026-08-11 01:25:51 +03:00
Andrew Pimenov
188fcc8b20 accept lk.-prefixed playlist uuids in --source links
Personal playlist links (e.g. "liked tracks" shared via the web player)
use a "lk.<uuid>" playlist_uuid, not a bare uuid - confirmed live via
client.playlist(): the prefix is part of the id itself, not something
to strip. Found by testing --source against a real link.
2026-08-09 11:59:39 +03:00
Andrew Pimenov
ff452b0162 add --source flag to read/sort an arbitrary playlist by link
report/apply/digest can now point at any Yandex Music playlist via a
share link instead of only the account's likes. Fetches the playlist's
tracks and artist genres straight into memory (no disk cache, nothing
persisted) and feeds them through the existing build_rows/render_digest/
apply_classification pipeline. apply supports --label to keep a foreign
playlist's tracks in separate genre playlists instead of merging them
into your own. Closes a gap where UnauthorizedError went uncaught anywhere.
2026-08-09 11:59:39 +03:00