Plex Live TV Channels M3U?

Yes, glad it wasn't just me! I did a complete re-install this morning and the Gracenote m3u still ended up with zero stations. Didn't want to report anything until I could do a system reboot to eliminate all factors. I opened up a ticket on the repo and linked to your comment:

I'm actually fairly indifferent to where the guide data comes from, but the benefit of the Gracenote data is it can properly categorize shows and movies for Channel collections. But some of this data is available in the Plex API that this container uses.

@joagomez, any chance that the EPG generator can map the movie category to the proper format for Channels?

e.g.

<category lang="en">Movie</category>

(see Channels Support - Add Custom Channels with M3U Playlists)

This seems to be available in the Video object, type attribute.
e.g.

<Video art="x" guid="x" ratingKey="x" summary="x" type="movie" thumb="x" duration="x" userState="x" title="x" skipParent="x" contentRating="x" originallyAvailableAt="x" year="x">

The other possible value for that attribute is episode, which is not meaningful for Channels' category filter I don't think (devs please correct me if I'm wrong).

I don't see an easy way to map the other categories, unless you map them from the title from the Grid filter.
e.g.

<GridFilter key="/grid/sports" title="Sports"/>

as

<category lang="en">Sports</category>

or

<GridFilter key="/grid/kids-family" title="Kids & Family"/>

as

<category lang="en">Children</category>
2 Likes

the pluto container was doing it also but seems to have resolved.

@joagomez I am trying to install you Plex Docker into my Synology, but when I search the registry, it does not find it.

Can you point me in the right direction?

Thanks,
John

It's not on Docker Hub.
It's on GitHub GitHub - jgomez177/plex-for-channels
ghcr.io/jgomez177/plex-for-channels

@joagomez
Looks like the scheduler is stuck.
Seeing this error every 12 minutes in the log since this morning.
[ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746

2025-10-25T14:54:08.355036090Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T15:06:17.510677526Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T15:18:28.242027104Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T15:30:37.631648738Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T15:42:47.433205934Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T15:54:56.476578969Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T16:07:06.059740307Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T16:19:34.257949079Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T16:31:43.780569851Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T16:43:54.561995012Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T16:56:04.314993668Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T17:08:28.820434086Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T17:20:46.700432902Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T17:32:56.922921422Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T17:45:06.629446668Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T17:57:16.653053772Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T18:09:30.403438604Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130740, column 746
2025-10-25T18:21:45.504921535Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T18:33:56.978218647Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T18:46:15.459896960Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T18:58:33.507275417Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T19:10:44.040169291Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T19:23:03.319295524Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T19:35:15.365212743Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T19:47:25.851619911Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T19:59:38.287607697Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746
2025-10-25T20:11:52.932232056Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 130744, column 746

I bet Plex made an update

At this point, might as well just go in with Playlist manager and add gracenote stuff manually for channels that are used frequently and bring the rest back when data is restored.
Any one have any other ideas before i get going?

XMLTV Guide has run out on Plex channels. The last time my epg.xml file was updated is 7:41 am this morning, right before the scheduler quit working because of the Exception errors.

That is the problem. The Synology Docker can not connect to GitHub. I am looking for how to install it.

Seeing the same, except a different line number:

[ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 23939, column 746

Don't you still have several days worth from the earlier calls? I've got guide data through the 31st:

image

The good news is that we do already have the list of tmsid's!

1 Like

Install Portainer and OliveTin-for-Channels, and you'll have every Channels-related project a click away using Project One-Click:

1 Like

Yeah...I use SLM for that reason. Some things need manual mapping to gracenote

I'm a huge fan of Stream link manager myself. Thinking of going in and just mapping the channels i care about.
I want to get rid of some of this need for xmltv.

If you're using Synology Container Manager, read the built in help for
Container Manager > Registry (That would be the question mark at the upper right)
You can Add registries in Container Manager > Registry > Settings

I prefer to use Portainer.
Get familiar with the tool you're going to use to manage your docker containers.

That is what I tried to do. It gets an error searching GitHub.

I have those daily files, but Channels DVR pulls from the merged epg.xml, which isn't getting updated in my case.

I just now deleted the container and image and redeployed it. Will see if it works.
Nope. Still errors out.

2025-10-26T16:24:09.336395523Z [INFO - PLEX] PLEX Using Existing Device ID
2025-10-26T16:24:09.382841073Z [INFO - MAIN] ⇨ http server started on [::]:7777
2025-10-26T16:24:09.567867050Z [INFO - PLEX] Starting Scheduler thread for plex
2025-10-26T16:24:09.568447414Z [INFO - PLEX] Running EPG Scheduler for plex
2025-10-26T16:24:09.568958761Z [DEBUG - PLEX] Running EPG Call
2025-10-26T16:24:10.077314196Z [INFO - PLEX:channels] Refreshing Channel Listing
2025-10-26T16:24:10.293753250Z [INFO - PLEX] Access Token located for LOCAL
2025-10-26T16:24:11.006422544Z [INFO - PLEX] Stories by AMC has DRM set. Skipping.
2025-10-26T16:24:24.296040444Z [INFO - PLEX] Updating TMSID for 428 items
2025-10-26T16:24:24.299597323Z [INFO - PLEX] Stations Identified for local: 648/648
2025-10-26T16:24:24.342297337Z [DEBUG - PLEX] Number of channels 648
2025-10-26T16:24:24.369248626Z [DEBUG - PLEX] EPG Pass 0
2025-10-26T16:24:24.369427294Z [INFO - PLEX] Update Today's EPG data
2025-10-26T16:25:34.121688369Z [NOTIFICATION - PLEX] 2025-10-26 Station API Calls completed - Count 648: Elapsed time: 69.78 seconds.
2025-10-26T16:25:36.495520300Z [NOTIFICATION - PLEX] 2025-10-26 MediaContainer XML completed: Elapsed time: 2.37 seconds.
2025-10-26T16:26:10.805720073Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 75365, column 746
2025-10-26T16:26:10.806648300Z [INFO - PLEX] EPG Scheduler Complete

I'll try stopping the container, deleting all the *.xml files and restarting it.

That didn't work. It's still not creating/updating the merged epg.xml
I stopped the container, deleted every file in /app/data and restarted the container.

2025-10-26T16:37:56.231900345Z [INFO - PLEX] PLEX Generating Device ID
2025-10-26T16:37:56.277717017Z [INFO - MAIN] ? http server started on [::]:7777
2025-10-26T16:37:56.306032014Z [INFO - PLEX] Starting Scheduler thread for plex
2025-10-26T16:37:56.306421925Z [INFO - PLEX] Running EPG Scheduler for plex
2025-10-26T16:37:56.306885378Z [DEBUG - PLEX] Running EPG Call
2025-10-26T16:37:56.307103734Z [INFO - PLEX:channels] Building Channel Listing
2025-10-26T16:37:58.022564041Z [INFO - PLEX] Access Token located for LOCAL
2025-10-26T16:37:58.526532362Z [INFO - PLEX] Stories by AMC has DRM set. Skipping.
2025-10-26T16:38:13.746723159Z [INFO - PLEX] Updating TMSID for 428 items
2025-10-26T16:38:13.750291031Z [INFO - PLEX] Stations Identified for local: 648/648
2025-10-26T16:38:13.771468337Z [DEBUG - PLEX] Number of channels 648
2025-10-26T16:38:13.772211667Z [DEBUG - PLEX] EPG Pass 0
2025-10-26T16:38:13.772391591Z [INFO - PLEX] Update Today's EPG data
2025-10-26T16:39:20.984991346Z [NOTIFICATION - PLEX] 2025-10-26 Station API Calls completed - Count 648: Elapsed time: 67.21 seconds.
2025-10-26T16:39:23.386149050Z [NOTIFICATION - PLEX] 2025-10-26 MediaContainer XML completed: Elapsed time: 2.40 seconds.
2025-10-26T16:39:57.682088018Z [ERROR - PLEX] Exception in EPG Scheduler : not well-formed (invalid token): line 75365, column 746
2025-10-26T16:39:57.683149163Z [INFO - PLEX] EPG Scheduler Complete

Screenshot 2025-10-26 094433

Did you add https://ghcr.io

Screenshot 2025-10-26 at 09-35-20 DS1019PLUS - Synology DiskStation

Screenshot 2025-10-26 at 09-34-23 DS1019PLUS - Synology DiskStation