Explorar el Código

trackchange.sh tries only once when server not answering

Thomas Buck hace 10 años
padre
commit
bc7b17285a
Se han modificado 7 ficheros con 3 adiciones y 2 borrados
  1. BIN
      PlayPauseiTunesInstacastVLC.scpt
  2. BIN
      SongArtist.scpt
  3. BIN
      SongLength.scpt
  4. BIN
      SongLengthRemaining.scpt
  5. BIN
      SongLyrics.scpt
  6. BIN
      SongName.scpt
  7. 3
    2
      trackchange.sh

BIN
PlayPauseiTunesInstacastVLC.scpt Ver fichero


BIN
SongArtist.scpt Ver fichero


BIN
SongLength.scpt Ver fichero


BIN
SongLengthRemaining.scpt Ver fichero


BIN
SongLyrics.scpt Ver fichero


BIN
SongName.scpt Ver fichero


+ 3
- 2
trackchange.sh Ver fichero

@@ -21,9 +21,10 @@ if [ "$1" != "$lasttrack" ]; then
21 21
         cat /Users/thomas/.trackhistory >> /Users/thomas/.tmpfile
22 22
         echo "</pre><p><a href="http://xythobuz.de">Return...</a></p></body></html>" >> /Users/thomas/.tmpfile
23 23
 
24
-        scp /Users/thomas/.tmpfile zaphod:/var/www/lastmusic
25 24
         echo $1 > /Users/thomas/.lasttrack
26 25
         echo "<b>$1</b> by <b>$2</b> on <b>$3</b> at <i>${datum}</i>" >> /Users/thomas/.trackhistory
27 26
         tail -n 3 /Users/thomas/.trackhistory | tee /Users/thomas/.trackhistory
27
+        
28
+        scp /Users/thomas/.tmpfile zaphod:/var/www/lastmusic
28 29
     fi
29
-fi
30
+fi

Loading…
Cancelar
Guardar