summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--env.nix5
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cd72b58..faeec9a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ help: ## Show this help.
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
download: ## download all links to ./music
- cat links | target=./music xargs -n 1 bin/yout2ogg
+ cat links | parallel -j5 -k "target=./music bin/yout2ogg"
add: ##make add url="http://youtube..."
add: ##to add link to ./links
diff --git a/env.nix b/env.nix
index 0309daa..dd18e61 100644
--- a/env.nix
+++ b/env.nix
@@ -2,9 +2,10 @@ with import <nixpkgs> {}; {
env = stdenv.mkDerivation {
name = "playlist-tools";
buildInputs = [
- sox
- pypyPackages.youtube-dl-light
ffmpeg
+ parallel
+ pypyPackages.youtube-dl-light
+ sox
vorbisgain
];
SSL_CERT_FILE="/etc/ssl/certs/ca-bundle.crt";