Update references to favesync to groovenet
authorCameron Ball <cameron@cameron1729.xyz>
Sun, 10 Mar 2019 07:17:00 +0000 (15:17 +0800)
committerCameron Ball <cameron@cameron1729.xyz>
Sun, 10 Mar 2019 07:17:00 +0000 (15:17 +0800)
.gitignore [new file with mode: 0644]
ScoreSync.sh
config.sh.example [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..cdd7c19
--- /dev/null
@@ -0,0 +1 @@
+config.sh
index 4ce8962..7256176 100755 (executable)
@@ -74,7 +74,7 @@ if [ "$1" = "push" ]; then
 
         echo -e "$write_out"
         echo -e "$write_out" >> "${DIR}/$me.scores.txt"
-        scp "$DIR/$me.scores.txt" favesync@cameron1729.xyz:/mnt/media/FaveSync
+        scp "$DIR/$me.scores.txt" groovenet@cameron1729.xyz:/mnt/media/GrooveNet
     fi
 fi
 
@@ -280,11 +280,11 @@ if [ "$1" = "push" ]; then
             done
         done
     fi
-    scp "$DIR/$me.scores.txt" favesync@cameron1729.xyz:/mnt/media/FaveSync
+    scp "$DIR/$me.scores.txt" groovenet@cameron1729.xyz:/mnt/media/GrooveNet
 fi
 
 if [ "$1" = "pull" ]; then
-    scp favesync@cameron1729.xyz:/mnt/media/FaveSync/* "$DIR"
+    scp groovenet@cameron1729.xyz:/mnt/media/GrooveNet/* "$DIR"
 fi
 
 sed -i '1s/.*/<?xml version="1.0" encoding="UTF-8" ?>/' "${path_to_stats}"
diff --git a/config.sh.example b/config.sh.example
new file mode 100644 (file)
index 0000000..ef94084
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+me=jayce
+me_highscore_name=JCE
+path_to_songs="/home/cameron/OpenITG beta 2/Songs"
+path_to_stats="/home/cameron/Projects/GrooveNet/Stats.jayce.xml"
+faves_folder="- Favourites - Jayce"
+external_favourite_naming_scheme="- Favourites - %person%"