Mercurial > hg > svcore
changeset 525:7419a063878b
* minor changes for current system
author | Chris Cannam |
---|---|
date | Mon, 05 Jan 2009 21:51:27 +0000 |
parents | 12608139f6bc |
children | 8878efd21dbc |
files | data/osc/demoscript.sh |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/data/osc/demoscript.sh Fri Dec 12 16:13:19 2008 +0000 +++ b/data/osc/demoscript.sh Mon Jan 05 21:51:27 2009 +0000 @@ -1,6 +1,6 @@ #!/bin/bash -audio=/data/music +audio=/share/music preferred=$audio/free list=audiofiles.txt used=audiofiles-used.txt @@ -42,7 +42,7 @@ fi while [ -z "$file" ]; do index=$((RANDOM % $count)) - file=`tail +"$index" "$list" | head -1` + file=`head -"$index" "$list" | tail -1` [ -f "$file" ] || continue done fgrep -v "$file" "$list" > "$list"_ && mv "$list"_ "$list" @@ -57,8 +57,8 @@ if [ -z "$pid" ]; then ( setsid sonic-visualiser -geometry 1000x500+10+100 & ) sleep 2 - sudo renice +19 `pidof sonic-visualiser` - sudo renice +18 `pidof Xorg` + #sudo renice +19 `pidof sonic-visualiser` + #sudo renice +18 `pidof Xorg` sv-command resize 1000 500 load_a_file else