summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--env.nix1
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c665ee6..f7f7553 100644
--- a/Makefile
+++ b/Makefile
@@ -11,3 +11,6 @@ add: ##to add link to ./links
check: ## check for missing songs
check: ## make download should be run first
cat links | musicDir=./music xargs -n1 bin/checkMissing
+
+play: ## play the playlist without downloading
+ mpv --loop=inf --shuffle --playlist links
diff --git a/env.nix b/env.nix
index dd18e61..290ff43 100644
--- a/env.nix
+++ b/env.nix
@@ -7,6 +7,7 @@ with import <nixpkgs> {}; {
pypyPackages.youtube-dl-light
sox
vorbisgain
+ mpv
];
SSL_CERT_FILE="/etc/ssl/certs/ca-bundle.crt";
};