Files
musyx/crates/ym-api/src/lib.rs
T
Yuriy Panov 03aa180840 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
2026-10-15 15:17:04 +06:00

25 lines
781 B
Rust

//! Client for the unofficial Yandex Music API.
//!
//! Wraps [`yamuse`] so the app only ever sees this crate's own types: if the
//! upstream wrapper changes or is swapped out, the UI doesn't move.
pub mod auth;
mod client;
mod discover;
mod error;
mod library;
mod models;
mod wave;
pub use client::{Account, YmClient};
pub use library::{
AlbumKind, AlbumPage, AlbumSummary, ArtistPage, ArtistSummary, LibraryPlaylists, PlaylistId,
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};