Hello,
I have been using your great script for a while but had to recently update my version of Python running inside a virtual environment with venv on my Mac. This now leads to the following warning:
2024-09-12 14:25:38 Starting PT...
2024-09-12 14:25:38 PT started successfully.
/usr/local/ptproxy/ptproxy.py:249: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()