Created
August 4, 2013 00:33
-
-
Save louisrli/6148545 to your computer and use it in GitHub Desktop.
Quickly add a directory of mp3 files to the Echoprint server using echoprint-codegen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
DIR="$1" | |
find "$DIR" -name "*.mp3" > music_files | |
echoprint-codegen -s < music_files > music_files.json | |
python fastingest.py music_files.json | |
# Cleanup | |
rm music_files | |
rm music_files.json | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment