TypeError: send_command() takes 1 positional argument but 3 were given.
Code:
send_command("Export2: Filename=/home/pi/raspberrypi/", current_time, ".mp3")Code:
send_command("Export2: Filename=/home/pi/raspberrypi/{}.mp3".format(current_time))Code:
send_command(f"Export2: Filename=/home/pi/raspberrypi/{current_time}.mp3")Statistics: Posted by hippy — Thu Mar 14, 2024 12:27 pm