summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7edebe3..640bf9a 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,9 @@ check: ## make download should be run first
reversecheck: ## check for orphan files in directory
ls music/* | xargs -n1 bin/checkMissingLink
+addorphans: ## add orphan files to links
+ ls music/* | xargs -n1 bin/checkMissingLink | sed 's,.*\(.\{11\}\)\.ogg,http://www.youtube.com/watch?v=\1,' | xargs -n1 youtplaylist >> links
+
checkmp3: ## check for missing songs
checkmp3: ## make download should be run first
cat links | musicDir=./mp3 xargs -n1 bin/checkMissingmp3