Tubi for Channels docker

Well that was a bad Idea Channels DVR does not recognize the movies thinks they are Shows.

1 Like

Does SamsungTV+ have the correct listings for their Horror by ALTER channel?
I know, only 6 hours of guide

Do not know but it is a shame that this channel is incorrect ... Wanted to get all the Phantasm movies. I had them all recorded but they were wrong lol.

Try setting a pass for Title CONTAINS Phantasm and use the SamsungTV+ Horror by ALTER channel

I do not use Samsung you know a good source for EPG ?

Use these from Matt Huisman
https://i.mjh.nz/SamsungTVPlus/us.m3u8
https://i.mjh.nz/SamsungTVPlus/us.xml
Set the guide data to refresh every hour.

Thanks a lot for help as always.

This issue for Alter has been corrected in the latest update

I do not see Alter with gracenote=include ... Also I seemed to have lost 2 Channels trying to figure out what they are. Went from 124 to 122.

2 Dropped Channels

Tubi: 122 channels (-2)
(http://192.168.50.93:7778/tubi/playlist.m3u?gracenote=include)

<--- Lineup changes (starting at 3002) --->
- 3010 : At the Movies
- 3063 : Horror by ALTER

<--- Channel changes --->
- At the Movies (3010)
- Horror by ALTER (3063)

As was originally noted the tmsid data did not match for Alter, thus the stationid was removed.
Similarly the epg data for at the movies was only showing generic "movie" and not the correct movie listing, so stationid data was also removed.
Both of these stations will now be listed under the gracenote=exclude and EPG data can be provided with the tubi epg http://127.0.0.1:[port]/tubi/epg.xml

1 Like

These have invalid Gracenote Id's

#EXTINF:-1 channel-id="tubi-715949" tvg-id="3031" tvg-chno="3031" tvg-logo="https://tmsimg.fancybits.co/assets/s138028_ll_h15_aa.png?w=360&h=270" tvc-guide-stationid="138028" tvg-name="WBTV5" group-title="HD",Crime Scenes

#EXTINF:-1 channel-id="tubi-715939" tvg-id="3093" tvg-chno="3093" tvg-logo="https://tmsimg.fancybits.co/assets/s138036_ll_h15_aa.png?w=360&h=270" tvc-guide-stationid="138036" tvg-name="WBTV10" group-title="HD",Paws & Claws

#EXTINF:-1 channel-id="tubi-715947" tvg-id="3073" tvg-chno="3073" tvg-logo="https://tmsimg.fancybits.co/assets/s138034_ll_h15_aa.png?w=360&h=270" tvc-guide-stationid="138034" tvg-name="WBTV7" group-title="HD",Love & Marriage

#EXTINF:-1 channel-id="tubi-715945" tvg-id="3123" tvg-chno="3123" tvg-logo="https://tmsimg.fancybits.co/assets/s138037_ll_h15_aa.png?w=360&h=270" tvc-guide-stationid="138037" tvg-name="WBTV11" group-title="HD",Welcome Home

#EXTINF:-1 channel-id="tubi-715952" tvg-id="3064" tvg-chno="3064" tvg-logo="https://tmsimg.fancybits.co/assets/s138031_ll_h15_aa.png?w=360&h=270" tvc-guide-stationid="138031" tvg-name="WBTV3" group-title="HD",How To

2024/07/17 07:50:04.097149 [ERR] Failed to fetch station 138028: Invalid station ID: 138028
2024/07/17 07:50:04.099210 [ERR] Failed to fetch station 138031: Invalid station ID: 138031
2024/07/17 07:50:04.099923 [ERR] Failed to fetch station 138034: Invalid station ID: 138034
2024/07/17 07:50:04.101485 [ERR] Failed to fetch station 138036: Invalid station ID: 138036
2024/07/17 07:50:04.102478 [ERR] Failed to fetch station 138037: Invalid station ID: 138037

Yeah seems like they were remove from gracenote recently, because this is what I had in my database

138027,WB TV- Sweet Escapes,WBTV9,Streaming,,,https://tmsimg.fancybits.co/assets/s138027_ll_h15_aa.png?w=360&h=270,Digital,HDTV,TruHD Uncooperative,['en']
138028,WB TV - Crime Scenes,WBTV5,Streaming,,,https://tmsimg.fancybits.co/assets/s138028_ll_h15_aa.png?w=360&h=270,Digital,HDTV,HD 1080p,['en']
138029,WB TV - At the Movies,WBTV1,Streaming,,,https://tmsimg.fancybits.co/assets/s138029_ll_h15_aa.png?w=360&h=270,Digital,HDTV,TruHD Uncooperative,['en']
138030,Warner Bros. TV - Ghosts are Real,WBTV2,Streaming,,,https://tmsimg.fancybits.co/assets/s138030_ll_h15_ab.png?w=360&h=270,Digital,HDTV,TruHD Uncooperative,['en']
138031,WB TV - How To,WBTV3,Streaming,,,https://tmsimg.fancybits.co/assets/s138031_ll_h15_aa.png?w=360&h=270,Digital,HDTV,TruHD Uncooperative,['en']
138032,Warner Bros. TV - Mysterious Worlds,WBTV4,Streaming,,,https://tmsimg.fancybits.co/assets/s138032_ll_h15_ab.png?w=360&h=270,Digital,HDTV,TruHD Uncooperative,['en']
138033,Warner Bros. TV - Unique Lives,WBTV6,Streaming,,,https://tmsimg.fancybits.co/assets/s138033_ll_h15_ac.png?w=360&h=270,Digital,HDTV,HD 1080p,['en']
138034,WB TV - Love and Marriage,WBTV7,Streaming,,,https://tmsimg.fancybits.co/assets/s138034_ll_h15_aa.png?w=360&h=270,Digital,HDTV,HD 1080p,['en']
138035,Warner Bros. TV - Family Rulez!,WBTV8,Streaming,,,https://tmsimg.fancybits.co/assets/s138035_ll_h15_ab.png?w=360&h=270,Digital,HDTV,HD 1080p,['en']
138036,WB TV - Paws and Claws,WBTV10,Streaming,,,https://tmsimg.fancybits.co/assets/s138036_ll_h15_aa.png?w=360&h=270,Digital,HDTV,HD 1080p,['en']
138037,WB TV - Welcome Home,WBTV11,Streaming,,,https://tmsimg.fancybits.co/assets/s138037_ll_h15_aa.png?w=360&h=270,Digital,HDTV,HD 1080p,['en']
1 Like

I have removed the associated tmsid from those stations and they should no longer appear with the gracenote=include filter

1 Like

Running the latest version (as far as I know) of Tubi for Channels (Tubi Playlist v1.02 Last Updated: July 2, 2024)
Screenshot 2024-07-26 at 18-38-25 Tubi Playlist


Have been seeing these errors in the Channels DVR log for the TubiTV source, here are the last 2.

2024/07/25 09:06:08.573774 [ERR] Unexpected m3u response for tubiTVNoEpg: 500 INTERNAL SERVER ERROR
2024/07/26 09:42:09.069304 [ERR] Unexpected m3u response for tubiTVNoEpg: 500 INTERNAL SERVER ERROR

Corresponding TubiTV container log

2024-07-25T16:06:00.233973829Z [INFO] Reading channel id list cache
2024-07-25T16:06:00.235037114Z [INFO] Retriving EPG Data
2024-07-25T16:06:07.914691346Z [INFO] Channels: Available EPG data: 167
2024-07-25T16:06:08.230570069Z [INFO] Reading channel id list cache
2024-07-25T16:06:08.230904233Z [INFO] Retriving EPG Data
2024-07-25T16:06:08.562752675Z [2024-07-25 16:06:08,471] ERROR in app: Exception on /tubi/playlist.m3u [GET]
2024-07-25T16:06:08.563544642Z Traceback (most recent call last):
2024-07-25T16:06:08.563749968Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
2024-07-25T16:06:08.563946590Z     response = self.full_dispatch_request()
2024-07-25T16:06:08.564083523Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-25T16:06:08.564203234Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
2024-07-25T16:06:08.564385883Z     rv = self.handle_user_exception(e)
2024-07-25T16:06:08.564537710Z          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-25T16:06:08.564661620Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
2024-07-25T16:06:08.564811777Z     rv = self.dispatch_request()
2024-07-25T16:06:08.564939876Z          ^^^^^^^^^^^^^^^^^^^^^^^
2024-07-25T16:06:08.565058579Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
2024-07-25T16:06:08.565202008Z     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
2024-07-25T16:06:08.565621023Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-25T16:06:08.565772237Z   File "/app/pywsgi.py", line 84, in playlist
2024-07-25T16:06:08.565921052Z     tmsid_stations = list(filter(lambda d: d.get('tmsid'), stations))
2024-07-25T16:06:08.566075980Z                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-25T16:06:08.566198120Z TypeError: 'NoneType' object is not iterable
2024-07-25T16:06:08.576316066Z [INFO] Retriving EPG Data

2024-07-26T16:42:00.285888276Z [INFO] Reading channel id list cache
2024-07-26T16:42:00.286863105Z [INFO] Retriving EPG Data
2024-07-26T16:42:05.055868446Z [INFO] Channels: Available EPG data: 167
2024-07-26T16:42:05.420499553Z [INFO] Reading channel id list cache
2024-07-26T16:42:05.420750328Z [INFO] Retriving EPG Data
2024-07-26T16:42:09.065537037Z [2024-07-26 16:42:09,062] ERROR in app: Exception on /tubi/playlist.m3u [GET]
2024-07-26T16:42:09.066561277Z Traceback (most recent call last):
2024-07-26T16:42:09.066811258Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
2024-07-26T16:42:09.067073137Z     response = self.full_dispatch_request()
2024-07-26T16:42:09.067270562Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-26T16:42:09.067530581Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
2024-07-26T16:42:09.067778698Z     rv = self.handle_user_exception(e)
2024-07-26T16:42:09.067989672Z          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-26T16:42:09.068157962Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
2024-07-26T16:42:09.068442350Z     rv = self.dispatch_request()
2024-07-26T16:42:09.068658298Z          ^^^^^^^^^^^^^^^^^^^^^^^
2024-07-26T16:42:09.068846331Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
2024-07-26T16:42:09.069069858Z     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
2024-07-26T16:42:09.069317061Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-26T16:42:09.069579989Z   File "/app/pywsgi.py", line 84, in playlist
2024-07-26T16:42:09.069707661Z     tmsid_stations = list(filter(lambda d: d.get('tmsid'), stations))
2024-07-26T16:42:09.069816063Z                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-26T16:42:09.069900172Z TypeError: 'NoneType' object is not iterable
2024-07-26T16:42:10.491802466Z [INFO] Retriving EPG Data

Any idea what's causing these?

Looks like it had an issue reading the EPG data from Tubi. Hopefully this clears itself up as I haven’t noticed anything but will look on my container as well

1 Like

I had the same error last night. Recreated the container and it’s working again :person_shrugging:

I also noticed a couple [CRITICAL] Scheduler crashed errors in the container log. One 3 days ago and one yesterday.

2024-07-25T02:49:07.680912605Z [INFO] Retriving EPG Data
2024-07-25T02:49:18.045519370Z [CRITICAL] Scheduler crashed: Response ended prematurely. Restarting...
2024-07-27T02:51:11.850817076Z [INFO] Retriving EPG Data
2024-07-27T02:51:20.465476537Z [CRITICAL] Scheduler crashed: Response ended prematurely. Restarting...

Doesn't look like I'm missing any guide data though.

Got the 500 error again this morning when Channels DVR was refreshing the lineup m3u

2024/07/28 09:57:07.929422 [ERR] Unexpected m3u response for tubiTV: 500 INTERNAL SERVER ERROR

Container log shows this

2024-07-28T16:57:00.430907497Z [INFO] Reading channel id list cache
2024-07-28T16:57:00.431699855Z [INFO] Retriving EPG Data
2024-07-28T16:57:07.925737020Z [2024-07-28 16:57:07,878] ERROR in app: Exception on /tubi/playlist.m3u [GET]
2024-07-28T16:57:07.926575705Z Traceback (most recent call last):
2024-07-28T16:57:07.926750542Z   File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 820, in generate
2024-07-28T16:57:07.926895876Z     yield from self.raw.stream(chunk_size, decode_content=True)
2024-07-28T16:57:07.927009106Z   File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1057, in stream
2024-07-28T16:57:07.927122009Z     yield from self.read_chunked(amt, decode_content=decode_content)
2024-07-28T16:57:07.927221473Z   File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1206, in read_chunked
2024-07-28T16:57:07.927376536Z     self._update_chunk_length()
2024-07-28T16:57:07.927500608Z   File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1136, in _update_chunk_length
2024-07-28T16:57:07.927616353Z     raise ProtocolError("Response ended prematurely") from None
2024-07-28T16:57:07.927726286Z urllib3.exceptions.ProtocolError: Response ended prematurely
2024-07-28T16:57:07.927825333Z 
2024-07-28T16:57:07.927908958Z During handling of the above exception, another exception occurred:
2024-07-28T16:57:07.928018884Z 
2024-07-28T16:57:07.928102069Z Traceback (most recent call last):
2024-07-28T16:57:07.928194811Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
2024-07-28T16:57:07.928318988Z     response = self.full_dispatch_request()
2024-07-28T16:57:07.928480845Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.928577989Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
2024-07-28T16:57:07.928689347Z     rv = self.handle_user_exception(e)
2024-07-28T16:57:07.929046172Z          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.929268891Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
2024-07-28T16:57:07.929452161Z     rv = self.dispatch_request()
2024-07-28T16:57:07.929559876Z          ^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.929732439Z   File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
2024-07-28T16:57:07.929964591Z     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
2024-07-28T16:57:07.930123192Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.930215840Z   File "/app/pywsgi.py", line 82, in playlist
2024-07-28T16:57:07.930318690Z     stations, err = providers[provider].channels()
2024-07-28T16:57:07.930506918Z                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.930602220Z   File "/app/tubi.py", line 148, in channels
2024-07-28T16:57:07.930706315Z     error = self.read_epg()
2024-07-28T16:57:07.930800219Z             ^^^^^^^^^^^^^^^
2024-07-28T16:57:07.930883449Z   File "/app/tubi.py", line 134, in read_epg
2024-07-28T16:57:07.930985210Z     response = session.get(f'https://tubitv.com/oz/epg/programming', params=params)
2024-07-28T16:57:07.931101116Z                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.931189279Z   File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
2024-07-28T16:57:07.931296491Z     return self.request("GET", url, **kwargs)
2024-07-28T16:57:07.931458659Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.931555243Z   File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
2024-07-28T16:57:07.931663755Z     resp = self.send(prep, **send_kwargs)
2024-07-28T16:57:07.931762809Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.931846100Z   File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 746, in send
2024-07-28T16:57:07.932005457Z     r.content
2024-07-28T16:57:07.932197982Z   File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 902, in content
2024-07-28T16:57:07.932385138Z     self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
2024-07-28T16:57:07.932517116Z                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-28T16:57:07.932606944Z   File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 822, in generate
2024-07-28T16:57:07.932720182Z     raise ChunkedEncodingError(e)
2024-07-28T16:57:07.932813326Z requests.exceptions.ChunkedEncodingError: Response ended prematurely
2024-07-28T16:57:07.932113529Z [INFO] Reading channel id list cache
2024-07-28T16:57:07.933019283Z [INFO] Retriving EPG Data
2024-07-28T16:57:11.520794020Z [INFO] Channels: Available EPG data: 167
2024-07-28T16:57:11.867585859Z [INFO] Retriving EPG Data

I just manually refreshed the lineup with no errors.
2024/07/28 12:43:00.561882 [M3U] Refreshed lineup for tubiTV with 124 channels

added some additional error handling in the latest update

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