summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hogenson <rhogenson@posteo.net>2018-08-22 16:46:09 -0400
committerRaymond Hogenson <rhogenson@posteo.net>2018-08-22 16:46:09 -0400
commit6879976d47a218c0f48a2fd33d11d154f1fbbb8f (patch)
treee72eef4ccf0d439ef056b4cf2f92d3dcf8e0ef6d
parentf70c9094f2d635fccdf6c730bc224e2614107c59 (diff)
downloadstallman-shooter-6879976d47a218c0f48a2fd33d11d154f1fbbb8f.tar.zst
Play a better song
If we write our own music, we could just embed it
-rw-r--r--src/music.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music.rs b/src/music.rs
index 90cd276..0009479 100644
--- a/src/music.rs
+++ b/src/music.rs
@@ -6,7 +6,7 @@ pub struct Player {
impl Player {
pub fn play(&mut self) -> Result<(), &'static str> {
- match std::process::Command::new("mpv").arg("https://www.youtube.com/watch?v=TdWd7Znz00Q").arg("--no-video").stdin(std::process::Stdio::null()).spawn() {
+ match std::process::Command::new("mpv").arg("https://www.youtube.com/watch?v=3bNITQR4Uso").arg("--no-video").stdin(std::process::Stdio::null()).spawn() {
Ok(child) => {
self.player = Some(child);
Ok(())