summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-08-23 19:57:32 +0200
committerlassulus <lass@aidsballs.de>2015-08-23 19:57:32 +0200
commite98b572a5adf6eac1bd364e441a338957ddbc65f (patch)
treec95acea5c60a684c8c44dcfd957b831878748125
parent26dcf5879e7e39280ca5cf4dabad687bac14ab7d (diff)
Makefile: add play
-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";
};