summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryvesf <yvesf-git@xapek.org>2011-07-16 11:49:01 +0200
committeryvesf <yvesf-git@xapek.org>2011-07-16 11:49:01 +0200
commit6ba7fa0dba08d1b91cf42a8a797b7f5ad44ec217 (patch)
tree806679f70f30b2a2e4fd3ffd8a1215af05f8b9f1
parentfade859723fa5b4607fd060c0b1778854d680144 (diff)
downloadscripts-6ba7fa0dba08d1b91cf42a8a797b7f5ad44ec217.tar.gz
scripts-6ba7fa0dba08d1b91cf42a8a797b7f5ad44ec217.zip
reorganize files; add micromusic download
-rwxr-xr-xmicromusic/dl.sh16
-rw-r--r--myspace/COPYING (renamed from COPYING)0
-rw-r--r--myspace/README (renamed from README)0
-rwxr-xr-xmyspace/m_dl.sh (renamed from m_dl.sh)0
-rw-r--r--myspace/tracklist.xsl (renamed from tracklist.xsl)0
5 files changed, 16 insertions, 0 deletions
diff --git a/micromusic/dl.sh b/micromusic/dl.sh
new file mode 100755
index 0000000..15081b6
--- /dev/null
+++ b/micromusic/dl.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+get_random_name() {
+ # holt dateiname ohne .swf
+ wget -q -O - "http://micromusic.net/" | sed -ne 's/.*name="strFilename" value="\(.*\).swf".*/\1/p'
+}
+
+while true; do
+ name="`get_random_name`"
+ if [ -f "$name.mp3" ]; then
+ echo "already there $name"
+ sleep 500
+ continue
+ fi
+ wget -c "http://micromusic.net/micromusic_db_data/files/MP3/$name.mp3"
+done
diff --git a/COPYING b/myspace/COPYING
index d60c31a..d60c31a 100644
--- a/COPYING
+++ b/myspace/COPYING
diff --git a/README b/myspace/README
index 9d81029..9d81029 100644
--- a/README
+++ b/myspace/README
diff --git a/m_dl.sh b/myspace/m_dl.sh
index 283d273..283d273 100755
--- a/m_dl.sh
+++ b/myspace/m_dl.sh
diff --git a/tracklist.xsl b/myspace/tracklist.xsl
index 6a415a9..6a415a9 100644
--- a/tracklist.xsl
+++ b/myspace/tracklist.xsl