DVR not working "expected MediaContainer element, found html"

Server Version: 1.32.6.7371
Player Version: 8.22 (6477)
Tuner Make/Model: xTeVe
Guide/Lineup name: xTeVe
Using XMLTV?: Yes
Channel number/Name: Most of them

Hi!
I’ve been trying to set up the DVR function, and it works for some shows in some channels. I guess the problem is in the EPG data that’s coming from my provider. Though I’d like to be able to record shows and sport events, even if the data that identifies it is missing some properties.

The errors I’ve got using the Apple TV app was:

Add a new Library to your server to be able to schedule this recording

But I already have 5 libraries, one for each category, and even some extra ones for anime, separate from tv shows. In the web player is more straightforward and just says “Unexpected error”.

And for good measure, here’s the server logs related to this. When I was figuring all out, the response in the browser I’ve got was a “400 Bad Request”, and checks out with the logs and the issue is clear: I get an html instead of a MediaContainer in the response.

I’ve been reading the documentation of both xTeVe and Plex to figure out something, but there was no reference to MediaContainer in both.

If the problem’s not Plex, then please answer so I create an issue for xTeVe or even try fixing it myself (and PRing the fix)

Here’s the server log:

Aug 06, 2023 13:44:15.600 [140270894086968] Debug — Request: [192.168.0.161:54422 (Allowed Network (Subnet))] GET /library/sections (16 live) #4d25d TLS GZIP Signed-in Token (kumibrr) (Firefox)
Aug 06, 2023 13:44:15.602 [140271000648504] Debug — Request: [192.168.0.161:54750 (Allowed Network (Subnet))] GET /media/subscriptions/template?guid=tv.plex.xmltv%3A%2F%2Fepisode%2FSocialit%25C3%25A9%2F7%2F66 (16 live) #4d266 TLS GZIP Signed-in Token (kumibrr) (Firefox)
Aug 06, 2023 13:44:15.602 [140271000648504] Debug — [Req#4d266] Downloading document http://127.0.0.1:32400/tv.plex.providers.epg.xmltv:76/metadata/tv%2eplex%2exmltv%3a%2f%2fepisode%2fSocialit%25C3%25A9%2f7%2f66/subscription/modes?includeChapters=1&includeMarkers=1&includeParentKey=1&includePreferences=1
Aug 06, 2023 13:44:15.604 [140271072795448] Debug — Completed: [192.168.0.161:54422] 200 GET /library/sections (16 live) #4d25d TLS GZIP 4ms 1207 bytes (pipelined: 9)
Aug 06, 2023 13:44:15.609 [140271000648504] Warning — [Req#4d266/Req#4d279] Invalid library metadata ID tv.plex.xmltv://episode/Socialit%C3%A9/7/66 passed.
Aug 06, 2023 13:44:15.609 [140271000648504] Error — [Req#4d266] downloadContainer: expected MediaContainer element, found html
Aug 06, 2023 13:44:15.609 [140271000648504] Debug — [Req#4d266] Downloading document http://127.0.0.1:32400/tv.plex.providers.epg.xmltv:76/metadata/tv%2eplex%2exmltv%3a%2f%2fepisode%2fSocialit%25C3%25A9%2f7%2f66/subscription/modes?includeChapters=1&includeMarkers=1&includeParentKey=1&includePreferences=1
Aug 06, 2023 13:44:15.613 [140271000648504] Warning — [Req#4d266/Req#4d284] Invalid library metadata ID tv.plex.xmltv://episode/Socialit%C3%A9/7/66 passed.

EDIT: I want to add that the EPG Data, although could be missing some properties, the identification for the shows are quite good, I’ll drop a screenshot:

I have the same error with the latest version as well using HDHomeRun.

For me, it is NOT working on Android. Using Plex in a web browser and on Samsung TV still works.

See Unable to schedule a recording - #5 by sa2000

The issue is in the beta and is being fixed. It affects xmltv scheduled recordings

A fix for the xmltv scheduling recordings issue has been released in beta 1.32.6.7468

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.