From e98b572a5adf6eac1bd364e441a338957ddbc65f Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 23 Aug 2015 19:57:32 +0200 Subject: Makefile: add play --- Makefile | 3 +++ env.nix | 1 + 2 files changed, 4 insertions(+) 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 {}; { pypyPackages.youtube-dl-light sox vorbisgain + mpv ]; SSL_CERT_FILE="/etc/ssl/certs/ca-bundle.crt"; }; -- cgit v1.2.3