summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-03-13 20:35:56 +0100
committerlassulus <lassulus@lassul.us>2018-03-13 20:35:56 +0100
commit01d6d6d059835e73c4413543cca01600d663e0bb (patch)
treeb5c645e6f6474fc11d3109a3096c846c4fbdb444 /Makefile
parent099c65903bff25055e19227a40079b878e0f478b (diff)
remove Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile47
1 files changed, 0 insertions, 47 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 19c8a6d..0000000
--- a/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-jobs = 2
-
-help: ## Show this help.
- @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//'
-
-download: ## download all links to ./music
-download: ## you can specify number of jobs with ex. jobs=4
- cat links | parallel -j${jobs} -k "target=./music bin/yout2ogg"
-
-downloadmp3: ## download all links to ./mp3 (as mp3)
-downloadmp3: ## you can specify number of jobs with ex. jobs=4
- cat links | parallel -j${jobs} -k "target=./mp3 bin/yout2mp3"
-
-add: ##make add url="http://youtube..."
-add: ##to add link to ./links
- bin/youtplaylist ${url} | tee -a links
-
-check: ## check for missing songs
-check: ## make download should be run first
- cat links | musicDir=./music xargs -n1 bin/checkMissing
-
-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
-
-deleteorphans:
- ls music/* | xargs -n1 bin/checkMissingLink | xargs rm
-
-checkmp3: ## check for missing songs
-checkmp3: ## make download should be run first
- cat links | musicDir=./mp3 xargs -n1 bin/checkMissingmp3
-
-play: ## play the playlist without downloading
- mpv --loop=inf --shuffle --playlist links
-
-copy: ## make copy dest="/mnt/tmp/music"
-copy: ## to copy music to dest
- rsync -vrltD --delete --ignore-existing --exclude=.graveyard ./music/ ${dest}
-
-drycopy: ## make drycopy dest="/mnt/tmp/music"
-drycopy: ## to dryrun copy music to dest (for finding deleted files etc.)
- rsync -vnrltD --delete --ignore-existing --exclude=.graveyard ./music/ ${dest}
-
-convert2mp3: ## converts stuff from ./music to ./mp3
- ls music/* | target=./mp3 xargs -n1 bin/ogg2mp3