Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
fix(player): include android target in candidate player resolution
Samir Hossains44c75cd06564
diff --git a/src/player.rs b/src/player.rsindex b108b30..074b5bf 100644--- a/src/player.rs+++ b/src/player.rs@@ -483,7 +483,7 @@ fn mpv_executable() -> Option<String> {candidates.push("/usr/local/bin/mpv".to_string());}- #[cfg(target_os = "linux")]+ #[cfg(any(target_os = "linux", target_os = "android"))]{if let Ok(prefix) = std::env::var("PREFIX") {candidates.push(format!("{prefix}/bin/mpv"));@@ -572,7 +572,7 @@ fn vlc_executable() -> Option<String> {candidates.push("/usr/local/bin/vlc".to_string());}- #[cfg(target_os = "linux")]+ #[cfg(any(target_os = "linux", target_os = "android"))]{if let Ok(prefix) = std::env::var("PREFIX") {candidates.push(format!("{prefix}/bin/vlc"));