I just gave this a try and I get
XML file not found
when i try to navigate to the epg url in my browser
Not sure if the container logs are useful but I will include below just in case
http server started on [::]:8888
[INFO] Reading channel id list cache
[INFO] Retriving EPG Data
[INFO] Initialize channel_list
[INFO] Number of streams available: 258
[2024-02-22 04:56:16,893] ERROR in app: Exception on /tubi/playlist.m3u [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 816, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1040, in stream
yield from self.read_chunked(amt, decode_content=decode_content)
File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1184, in read_chunked
self._update_chunk_length()
File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1119, in _update_chunk_length
raise ProtocolError("Response ended prematurely") from None
urllib3.exceptions.ProtocolError: Response ended prematurely
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 872, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 870, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 855, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/pywsgi.py", line 82, in playlist
stations, err = providers[provider].channels()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/tubi.py", line 150, in channels
error = self.read_epg()
^^^^^^^^^^^^^^^
File "/app/tubi.py", line 136, in read_epg
response = session.get(f'https://tubitv.com/oz/epg/programming', params=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 747, in send
r.content
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 899, in content
self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 818, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: Response ended prematurely
[INFO] Updating channel id list
[INFO] Number of streams available: 258
[INFO] Retriving EPG Data
[INFO] Channels: Available EPG data: 258
[INFO] Channels: Number of streams available: 258
[INFO] Updating channel id list
[INFO] Number of streams available: 258
[INFO] Returning cached EPG Data
[INFO] Channels: Available EPG data: 258
[INFO] Channels: Number of streams available: 258
[INFO] Updating channel id list
[INFO] Number of streams available: 258
[INFO] Returning cached EPG Data
[INFO] Channels: Available EPG data: 258
[INFO] Channels: Number of streams available: 258
[INFO] Updating channel id list
[INFO] Number of streams available: 258
[INFO] Returning cached EPG Data
[INFO] Channels: Available EPG data: 258
[INFO] Channels: Number of streams available: 258
[INFO] Updating channel id list
[INFO] Number of streams available: 258
[INFO] Returning cached EPG Data
[INFO] Channels: Available EPG data: 258
[INFO] Channels: Number of streams available: 258
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Updating channel id list
[INFO] Number of streams available: 258
[INFO] Returning cached EPG Data
[INFO] Channels: Available EPG data: 258
[INFO] Channels: Number of streams available: 258
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File
[INFO] Returning cached EPG File