Tubi for Channels docker

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

I use a Synology NAS with Docker. When I attempt to load this container (latest from GitHUB). this is Invalid. Does anyone know what I doing wrong? I have the Pluto and Frndly TV Containers running good.

What does that mean? Works for me

Compose

version: '3.9'
services:
  # GitHub home for this project with setup instructions: https://github.com/jgomez177/tubi-for-channels
  # Docker container home for this project: https://ghcr.io/jgomez177/tubi-for-channels
  tubi-for-channels:
    image: ghcr.io/jgomez177/tubi-for-channels:${TAG}
    container_name: tubi-for-channels
    volumes:
      - "/volume1/docker/tubi:/app/tubi_data"
    ports:
      - ${HOST_PORT}:${TUBI_PORT}
    environment:
      - TUBI_PORT=${TUBI_PORT}
    restart: unless-stopped

Environment variables

TAG=latest
HOST_PORT=7779
TUBI_PORT=7777

Clarify- When I download ghcr.io/jgomez177/tubi-for-channels:${TAG}. I get "Invalid Docker Repository"

What are you using to pull the image ?
It should be pulled as ghcr.io/jgomez177/tubi-for-channels:latest

I'm using the create new container, then entering add from URL since this is not in the docker registry.

In what?
I would recommend using portainer

Thanks. I will look into this.

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 alwo 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.