Okay, we got farther than we did before.
When I ran the script in SSH it produced a list that I then put into an m3u file and put it into the network and it worked perfectly and instantly.
But when the python script was executed in the network even though it got past the imports there was another error.
I am hoping that if you have more experience with python that you can point me in the right direction. And if I can get this working I am going to work again on the EPG data. I had a script that I used in the past to download it and it is probably still good.
Here is the log entry.
2024-12-11 20:13:30.207 spawn: Executing "/usr/bin/python"
2024-12-11 20:13:31.646 spawn: Traceback (most recent call last):
2024-12-11 20:13:31.646 spawn: File "/storage/downloads/plutotv.py", line 95, in
2024-12-11 20:13:31.646 spawn: s.connect(SOCKET)
2024-12-11 20:13:31.646 spawn: FileNotFoundError: [Errno 2] No such file or directory
2024-12-11 20:13:31.646 spawn: During handling of the above exception, another exception occurred:
2024-12-11 20:13:31.646 spawn: Traceback (most recent call last):
2024-12-11 20:13:31.646 spawn: File "/storage/downloads/plutotv.py", line 100, in
2024-12-11 20:13:31.646 spawn: with open("pluto.xmltv", "wb") as file:
2024-12-11 20:13:31.646 spawn: ^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-11 20:13:31.646 spawn: OSError: [Errno 30] Read-only file system: 'pluto.xmltv'
2024-12-11 20:13:31.952 iptv: unknown playlist format for network 'Pluto TV'
Thanks.