]> git.sesse.net Git - ultimatescore/blobdiff - ultimate.sh
Some adjustments to the launcher script.
[ultimatescore] / ultimate.sh
index dbcc017f5a1e38b069f424caefc9f0f7a16b5e7d..bd16c616d831b265b0af63b6e221baca7ac59c6d 100755 (executable)
@@ -17,6 +17,9 @@ for DEV in $( ip link | grep UP | cut -d" " -f2 | cut -d: -f1 | grep -v lo ); do
 done
 echo bbr | sudo tee /proc/sys/net/ipv4/tcp_congestion_control
 
+# Make sure CSS is up-to-date
+sass score.scss score.css
+
 # Start the client
 if ! pidof ultimatescore > /dev/null; then
        urxvt -e /home/sesse/dev/ultimatescore/client/ultimatescore &
@@ -26,7 +29,6 @@ fi
 ( cd /home/sesse/dev/nageru &&
  ./nageru \
        -c 6 \
-       -r /srv/ultimate/opptak \
        -t ultimate.lua \
        -M ultimate.mapping \
        --midi-mapping=akai_midimix.midimapping \
@@ -39,7 +41,10 @@ fi
        --http-audio-bitrate 128 \
        --quick-cut-keys \
        -m 0,2 -m 1,3 -m 2,4 -m 3,5 -m 4,0 -m 5,1
+       --mjpeg-export-cards=1-5
 )
 
+       #-r /srv/ultimate/opptak \
+
        #--output-card 4 \
        #--output-buffer-frames 8.0