diff --git a/media_change.sh b/media_change.sh index 65ba407..8dc6022 100644 --- a/media_change.sh +++ b/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