소스 검색

PLAY controlled by script

Karl Hudgell 6 달 전
부모
커밋
41b50d3bf9
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      media_change.sh

+ 0 - 1
media_change.sh

@@ -18,7 +18,6 @@ if sudo fdisk -l | grep -q "$DEVICE_NAME"; then
     echo "$(date) Running Python script with argument: '$var'"  >> $LOGFILE
     # Run the Python script and capture both stdout and stderr to the log
     /usr/bin/python3 /home/dietpi/floppy-ytube-player/main.py "$var" >> $LOGFILE 2>&1
-    /usr/bin/python3 /home/dietpi/floppy-ytube-player/main.py PLAY >> $LOGFILE 2>&1
 else
     echo "$(date): No floppy disk is present in device $DEVICE_NAME" >> $LOGFILE
     /usr/bin/systemd-mount --umount /mnt/floppy