Tubi for Channels docker

Thanks @joagomez
I pulled the latest release and will let you know if any more issues.

Failed refreshing the lineup for tubiTV (/tubi/playlist.m3u?gracenote=include) this morning.

Channels DVR log

2024/08/02 09:55:10.350105 [ERR] Unexpected m3u response for tubiTV: 500 INTERNAL SERVER ERROR

TubiTV container log

2024-08-02T16:55:00.254000680Z [INFO] Reading channel id list cache
2024-08-02T16:55:00.254732877Z [INFO] Retriving EPG Data
2024-08-02T16:55:10.347780626Z [2024-08-02 16:55:10,268] ERROR in app: Exception on /tubi/playlist.m3u [GET]
2024-08-02T16:55:10.348635722Z Traceback (most recent call last):
2024-08-02T16:55:10.348808229Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
2024-08-02T16:55:10.348939421Z     response = self.full_dispatch_request()
2024-08-02T16:55:10.349036576Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-02T16:55:10.349121671Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 883, in full_dispatch_request
2024-08-02T16:55:10.349227273Z     return self.finalize_request(rv)
2024-08-02T16:55:10.349323278Z            ^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-02T16:55:10.349558294Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 902, in finalize_request
2024-08-02T16:55:10.349784972Z     response = self.make_response(rv)
2024-08-02T16:55:10.350009609Z                ^^^^^^^^^^^^^^^^^^^^^^
2024-08-02T16:55:10.350217855Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1211, in make_response
2024-08-02T16:55:10.350644314Z     raise TypeError(
2024-08-02T16:55:10.350888146Z TypeError: The view function did not return a valid response. The return type must be a string, dict, list, tuple with headers or status, Response instance, or WSGI callable, but it was a tuple.
2024-08-02T16:55:10.354109593Z [INFO] Reading channel id list cache
2024-08-02T16:55:10.354433513Z [INFO] Retriving EPG Data

added more error handling

2 Likes

Thanks, I pulled v1.03a and will let you know if I see any more errors.

Another error today while refreshing the playlist
DVR log

2024/08/09 09:55:02.876819 [ERR] Unexpected m3u response for tubiTVNoEpg: 500 INTERNAL SERVER ERROR

Tubi container log

2024-08-09T16:55:00.036585530Z [INFO] Reading channel id list cache
2024-08-09T16:55:00.037655809Z [INFO] Retriving EPG Data
2024-08-09T16:55:02.861939480Z [2024-08-09 16:55:02,842] ERROR in app: Exception on /tubi/playlist.m3u [GET]
2024-08-09T16:55:02.862775533Z Traceback (most recent call last):
2024-08-09T16:55:02.863055739Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
2024-08-09T16:55:02.863206874Z     response = self.full_dispatch_request()
2024-08-09T16:55:02.863310221Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-09T16:55:02.863492476Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 883, in full_dispatch_request
2024-08-09T16:55:02.863609999Z     return self.finalize_request(rv)
2024-08-09T16:55:02.863705601Z            ^^^^^^^^^^^^^^^^^^^^^^^^^
2024-08-09T16:55:02.863792080Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 902, in finalize_request
2024-08-09T16:55:02.863894931Z     response = self.make_response(rv)
2024-08-09T16:55:02.863987594Z                ^^^^^^^^^^^^^^^^^^^^^^
2024-08-09T16:55:02.864070674Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1211, in make_response
2024-08-09T16:55:02.864200550Z     raise TypeError(
2024-08-09T16:55:02.864293683Z TypeError: The view function did not return a valid response. The return type must be a string, dict, list, tuple with headers or status, Response instance, or WSGI callable, but it was a tuple.
2024-08-09T16:55:07.195136310Z [INFO] Reading channel id list cache
2024-08-09T16:55:07.195769839Z [INFO] Retriving EPG Data
2024-08-09T16:55:11.377434955Z [INFO] Channels: Available EPG data: 167
2024-08-09T16:55:11.788043865Z [INFO] Retriving EPG Data

13 posts were split to a new topic: Need help installing Tubi for Channels docker

For some reason I've got one Tubi channel missing from my playlist. "At the Movies" from WB does't appear. Is this only on the Gracenote or EPG only playlist instead of the regular Tubi playlist?

I'm seeing "At the Movies" on tubi/playlist.m3u and tubi/playlist.m3u?gracenote=exclude

Hmm. Weird. Not showing up for me. Oh well, not a deal breaker, just strange.

Yes I set up each version of Tubi seperately and that particular channel only shows up on this one with 49 channels:
http://10.0.1.21:7755/tubi/playlist.m3u?gracenote=exclude
That playlist's channels have crappy guide data though. But I figure it's better than zero guide data. After all, it's free.

This other playlist has great guide data for 129 channels via Gracenote:
http://10.0.1.21:7755/tubi/playlist.m3u?gracenote=include

SCR-20240912-mdgb

I also created an "automatic" Channel Collection to combine both of these sources into one, just called Tubi. Followed this great tip: Automatic Channel Collections - INCLUDE sources - #9 by fashioncents

1 Like

Thanks much I will give that a shot.

I'm having an issue with the Tubi docker. None of the channels or guide data are showing up at all. Here's what I have in the Docker log.

2024-10-27 20:10:06 [INFO] Initialize XML File
2024-10-27 20:10:06 [INFO] Retriving EPG Data
2024-10-27 20:10:06 [INFO] Initialize channel_list
2024-10-27 20:10:08 Error: No Data located
2024-10-27 20:10:08 ⇨ http server started on [::]:7777
2024-10-27 20:11:33 [INFO] Retriving EPG Data
2024-10-27 20:11:33 [INFO] Initialize channel_list

And here are some screenshots of the error messages I received.



I hope any of this is useful to someone here. From just looking around this community, I'm clearly not the tech-savviest person here, so I turn to my betters in my time of need. If there's any more information I can provide that'd help, please let me know!

Yes noticed that as well. I assume they changed the API and will look into it when I return from vacation

1 Like

Swell! Thanks in advance, and enjoy the rest of your vacation!

Tubi went to 0 Channels available.

I still have 120 channels w/gracenote epg and 43 w/tubi epg
Are you using the latest container image
Tubi Playlist v1.03a
Last Updated: August 3, 2024

I'm using the two source method

2024/10/31 09:28:02.991819 [M3U] Refreshed lineup for tubiTV with 120 channels
2024/10/31 09:28:06.455807 [M3U] Refreshed lineup for tubiTVNoEpg with 43 channels
2024/10/31 09:28:14.582948 [DVR] Fetched guide data for XMLTV-tubiTVNoEpg in 7s
2024/10/31 09:28:17.307997 [DVR] Indexed 1605 airings into XMLTV-tubiTVNoEpg (43 channels over 36h34m26s) + 0 skipped [2s index]
1 Like
2024-10-31 09:07:00 [INFO] Reading channel id list cache
2024-10-31 09:07:00 [INFO] Retriving EPG Data
2024-10-31 09:07:00 [INFO] Initialize channel_list
2024-10-31 09:10:05 [INFO] Retriving EPG Data
2024-10-31 09:10:05 [INFO] Initialize channel_list
2024-10-31 09:10:05 Error: No Data located
2024-10-31 09:24:30 [INFO] Reading channel id list cache
2024-10-31 09:24:30 [INFO] Retriving EPG Data
2024-10-31 09:24:30 [INFO] Initialize channel_list
2024-10-31 12:12:55 [INFO] Reading channel id list cache
2024-10-31 12:12:55 [INFO] Retriving EPG Data
2024-10-31 12:12:55 [INFO] Initialize channel_list
2024-10-31 12:13:40 [INFO] Initialize XML File
2024-10-31 12:13:40 [INFO] Retriving EPG Data
2024-10-31 12:13:40 [INFO] Initialize channel_list
2024-10-31 12:13:40 Error: No Data located

Hmmm, not seeing that here

2024-10-31T10:47:30.134863502Z [INFO] Retriving EPG Data
2024-10-31T14:47:41.472899171Z [INFO] Retriving EPG Data
2024-10-31T16:28:00.007530401Z [INFO] Reading channel id list cache
2024-10-31T16:28:00.008207239Z [INFO] Retriving EPG Data
2024-10-31T16:28:02.829004312Z [INFO] Channels: Available EPG data: 163
2024-10-31T16:28:03.100158005Z [INFO] Reading channel id list cache
2024-10-31T16:28:03.100462211Z [INFO] Retriving EPG Data
2024-10-31T16:28:06.077669360Z [INFO] Channels: Available EPG data: 163
2024-10-31T16:28:07.226923852Z [INFO] Retriving EPG Data
2024-10-31T18:47:48.606796372Z [INFO] Retriving EPG Data

Unfortunately tubi has completely modified their approach and causing me some issues to resolve quickly. They are now utilizing tokens more and I can see the cookie has a token but not specifically where the token is set. So may take time and possibly a rework not in python

2 Likes

I am so amazed by the channels community! Thank you for all your efforts.

1 Like