Zachary Kotlarek 14 anni fa
parent
commit
58c55a3d7b
2 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. 2 2
      pms/killPMS.sh
  2. 1 2
      pms/scan.sh

+ 2 - 2
pms/killPMS.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
 #!/bin/bash
 
 
-killall 'Plex Media Server' >/dev/null 2>&1
-killall 'Plex Media Scanner' >/dev/null 2>&1
+killall 'Plex Media Server'
+killall 'Plex Media Scanner'
 sleep 1
 sleep 1

+ 1 - 2
pms/scan.sh

@@ -11,10 +11,9 @@ if ~/bin/video/pms/isScanning.sh; then
 fi
 fi
 
 
 # Scan, appending any parameters passed to us
 # Scan, appending any parameters passed to us
-/Applications/Zach/Media/Plex\ Media\ Server.app/Contents/MacOS/Plex\ Media\ Scanner --scan ${@}
+'/Applications/Zach/Media/Plex Media Server.app/Contents/MacOS/Plex Media Scanner' --scan ${@}
 
 
 # Check the return; kill the PMS if things did not go well
 # Check the return; kill the PMS if things did not go well
 if [ $? -ne 0 ]; then
 if [ $? -ne 0 ]; then
 	~/bin/video/pms/killPMS.sh
 	~/bin/video/pms/killPMS.sh
 fi
 fi
-