feat: My Wave and stations with feedback, play reporting and animated hero

- ym-api: stations, station settings (mood/character/language), track
  batches, rotor feedback (started, track started/finished, skip) and
  play-audio reports
- Play reports send millisecond ISO timestamps: yamuse's default drops
  the milliseconds and /play-audio rejects it
- Player: station mode tops up the queue when two tracks remain, waits
  instead of ending when a batch runs dry, ignores shuffle and batches
  from other stations, and reports every track left (finished or
  skipped with time played); feedback names the batch each track came in
- Queue can grow (radio batches) and drop upcoming items (new settings)
- My Wave screen with settings chips and station tiles; Home and My Wave
  hero draws drifting lines on a canvas, animated only while My Wave plays
- Genre pages get a Play radio button
This commit is contained in:
Yuriy Panov committed 2026-10-15 15:17:04 +06:00
1 parent e7726aac3a
commit 03aa180840
12 files changed
+1115 -87

No files matched your search

+4
View File
@@ -9,6 +9,7 @@ mod discover;
mod error;
mod library;
mod models;
mod wave;
pub use client::{Account, YmClient};
pub use library::{
@@ -16,5 +17,8 @@ pub use library::{
PlaylistPage, PlaylistSummary,
};
pub use models::{AlbumRef, ArtistRef, Stream, Track};
pub use wave::{
Character, Language, MY_WAVE, Mood, PlayReport, Station, WaveBatch, WaveEvent, WaveSettings,
};
pub use discover::{BestMatch, ChartEntry, Genre, Home, Personal, SearchKind, SearchResults, Totals};
pub use error::{Error, Result};