feat: music video clips on artist pages and in Collection

Artist pages list the artist's clips and Collection gets a Clips tab with
the liked ones. A clip opens on the Yandex Music website, since there's
no video player in the app; the heart on each card likes it. Clips are
read from raw JSON because the artist block calls the id `id` where
/clips says `clipId`. Snapshot runs can open `artist:<id>`.
This commit is contained in:
Yuriy Panov committed 2026-10-15 18:50:50 +06:00
1 parent 2ef7aa9da9
commit 51e7a4f465
13 files changed
+396 -18

No files matched your search

+3 -2
View File
@@ -69,8 +69,9 @@ MUSYX_SNAPSHOT=design/shots/home.png MUSYX_SNAPSHOT_ROUTE=home MUSYX_SNAPSHOT_TH
cargo run -p musyx --features snapshot
```
`MUSYX_SNAPSHOT_ROUTE` takes home, wave, search, collection, podcasts, settings or signin. Every
route except signin renders with a sample signed-in account, so no network or keychain is needed.
`MUSYX_SNAPSHOT_ROUTE` takes home, wave, search, collection, podcasts, settings, signin or
`artist:<id>` (live runs only). Every route except signin renders with a sample signed-in
account, so no network or keychain is needed.
`MUSYX_SNAPSHOT_DRAWER` takes queue or lyrics. `MUSYX_SNAPSHOT_THEME` takes light or dark.
`MUSYX_SNAPSHOT_LIVE=1` signs in with the account stored in the keychain instead of using sample
data. Set `MUSYX_SNAPSHOT_DELAY` (ms) to wait longer for slow pages.