Skip to content

🎧 Your Personal Streaming Service

Add make target to download some music for development purposes. Closes #1703

Deluan87feac041b74
diff --git a/Makefile b/Makefile
index 9b59c45e1..0fb2f8a4f 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,19 @@ single: warning-noui-build ##@Cross_Compilation Build binaries for a single supp
warning-noui-build:
@echo "WARNING: This command does not build the frontend, it uses the latest built with 'make buildjs'"
.PHONY: warning-noui-build
+
+get-music: ##@Development Download some free music from Navidrome's demo instance
+ mkdir -p music
+ ( cd music; \
+ curl "https://demo.navidrome.org/rest/download?u=demo&p=demo&f=json&v=1.8.0&c=dev_download&id=ec2093ec4801402f1e17cc462195cdbb" > brock.zip; \
+ curl "https://demo.navidrome.org/rest/download?u=demo&p=demo&f=json&v=1.8.0&c=NavidromeUI&id=b376eeb4652d2498aa2b25ba0696725e" > back_on_earth.zip; \
+ curl "https://demo.navidrome.org/rest/download?u=demo&p=demo&f=json&v=1.8.0&c=NavidromeUI&id=e49c609b542fc51899ee8b53aa858cb4" > ugress.zip; \
+ curl "https://demo.navidrome.org/rest/download?u=demo&p=demo&f=json&v=1.8.0&c=NavidromeUI&id=350bcab3a4c1d93869e39ce496464f03" > voodoocuts.zip; \
+ for file in *.zip; do unzip -n $${file}; done )
+ @echo "Done. Remember to set your MusicFolder to ./music"
+.PHONY: get-music
+
+
##########################################
#### Miscellaneous