Files
musyx/crates/ym-api/src/lib.rs
T
yuriy.pandClaude Opus 5.5 899ab223b9 feat: fall back to LRCLIB when Yandex has no lyrics
Look the track up on lrclib.net by exact signature, then by search
filtered on length, preferring synced lyrics. The drawer credits
LRCLIB, and the empty-state message no longer names Yandex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 14:39:21 +06:00

30 lines
911 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 clips;
mod discover;
mod edit;
mod error;
mod library;
mod lrclib;
mod models;
mod wave;
pub use client::{Account, ContentLanguage, YmClient};
pub use clips::Clip;
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 edit::{LikedIds, LyricLine, Lyrics, LyricsSource};
pub use error::{Error, Result};