use std::time::Duration;
pub struct NowPlayingMeta {
pub title: String,
pub artist: String,
pub album: String,
pub duration: Duration,
pub artwork: Option<String>,
}
#[cfg(not(target_arch = "wasm32"))]
mod native;
#[cfg(target_arch = "wasm32")]
mod web;
#[cfg(not(target_arch = "wasm32"))]
pub use native::{Player, PlayerInitError};
#[cfg(target_arch = "wasm32")]
pub use web::Player;