Sound broken on other copies of my messaging service

https://replit.com/@-jpg/freetext#main.py

Sound works just fine on my copy of the repl, but trying to communicate with it using another broswer throws an error.

add to the start of the .replit file

audio=true
1 Like

still no

Traceback (most recent call last):
  File "main.py", line 6, in <module>
    sound()
  File "main.py", line 5, in sound
    audio.play_file('notif.mp3')
  File "/home/runner/BdqRSvINGyE/venv/lib/python3.10/site-packages/replit/audio/__init__.py", line 294, in play_file
    return self.__get_new_source(name, does_loop)
  File "/home/runner/BdqRSvINGyE/venv/lib/python3.10/site-packages/replit/audio/__init__.py", line 230, in __get_new_source
    sources = AudioStatus(self.read_status())["Sources"]
  File "/home/runner/BdqRSvINGyE/venv/lib/python3.10/site-packages/replit/audio/__init__.py", line 382, in read_status
    with open("/tmp/audioStatus.json", "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/audioStatus.json'

Hey @jpg!

The Repl you shared isn’t using Replit Audio. Are you seeing this issue on another Repl?

Oh, I removed it. I should not have changed that to main. I’m good now.