Musyx Mobile: Android TV player for Yandex Music

Kotlin, Compose for TV and Media3 port of the desktop Musyx, with
device-code sign-in, Home, My Wave, search, collection, detail pages,
Now Playing with queue and lyrics, and settings for streaming quality,
appearance, font size (small, medium, large) and language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yuriy.pandClaude Opus 5.5 committed 2026-10-16 22:14:54 +06:00
commit 46610d95fa
217 files changed
+26144

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
mod app;
mod covers;
mod i18n;
mod media;
mod menubar;
mod player;
mod route;
mod screens;
mod session;
mod store;
#[cfg(feature = "snapshot")]
mod snapshot;
mod ui;
mod widgets;
use iced::{Size, window};
use app::App;
use ui::theme;
/// The Linux application id: the window's Wayland app id / X11 class and the `.desktop` name.
#[cfg(target_os = "linux")]
const APP_ID: &str = "it.panov.musyx.desktop";
fn main() -> iced::Result {
let app = iced::application(App::new, App::update, App::view)
.title(App::title)
.theme(App::theme)
.subscription(App::subscription)
.default_font(theme::BODY)
.window(window::Settings {
size: Size::new(1280.0, 800.0),
min_size: Some(Size::new(960.0, 620.0)),
icon: window::icon::from_file_data(include_bytes!("../assets/icon/musyx.png"), None).ok(),
// Matches the installed `it.panov.musyx.desktop.desktop`, so the shell shows its name and icon.
#[cfg(target_os = "linux")]
platform_specific: window::settings::PlatformSpecific {
application_id: APP_ID.to_owned(),
..Default::default()
},
..window::Settings::default()
})
.centered();
theme::FONTS.into_iter().fold(app, |app, font| app.font(font)).run()
}