How is the EPG content related to adding a recording?

My over half a year old thread has been automatically closed and it isn’t possible to reply to it, so here is a new one with another try to get an answer.

In my old thread I have started with some assumptions, so I will try to ask direct questions this time.

How plex decides that the particular airing in the TV guide is an episodic content?
Is it purely based on the TV guide content, or there is also some matching algorithm involved?
If it is just the TV guide content, what is the attribute and it’s possible values, which Plex uses to decide what kind of recording it is?

that’s all for this moment, hope somebody can shed a light in to it

LH

PS: I have just found out I have also opened a feature request to be able to overide the type of recording

It’s a flag in the EPG data.

Sorry, I am not that deeply versed in the XML schema to know that. There is probably a documentation of the XMLTV format somewhere, where you can see the flag and its syntax.

Here is an example of XMLTV for a specific episode (taken from my HDHomerun a while back)

<programme start="20200105133500 +0000" stop="20200105140500 +0000" channel="13.hdhomerun.com">
   <title>The Big Bang Theory</title>
   <sub-title>The Infestation Hypothesis</sub-title>
   <desc>A battle of wills between Sheldon and Penny leaves Amy caught in the middle. Leonard tries to spice up his long-distance relationship with Priya, who has moved back to India.</desc>
   <icon src="http://img.hdhomerun.com/titles/C185554EN6JG4.jpg" />
   <episode-num system="SxxExx">S05E02</episode-num>
   <episode-num system="xmltv_ns">4.1.</episode-num>
   <episode-num system="original-air-date">2011-09-22 01:00:00</episode-num>
   <previously-shown start="2011-09-22 01:00:00" />
</programme>

@OttoKerner
thanks
@JCHH
thanks a lot for the quick response with a perfect example

It looks like hdhomerun is doing quite a good job with their EPG service.
Which is unfortunately not as good in case of the satellite provider data I am using to generate my XMLTV file from.

Let’s see if I will be able to adjust my XML manipulation scripts to add the episode-num attribute to it.

thanks again

LH

To be clear, the info is “over the air” (Freeview) - I was just using my hdhomerun to get it.

I had no idea what is the service the hdhomerun is able to view, but I see now :wink:
But assuming from the xml the tittle image must come from hdhomerun and who knows what else. :wink: I can be wrong off course :slight_smile:

BTW in the mean time I have been able to test what happens if I add the episode-num attribute.
The result seems promising, I could already create recordings for two shows.
I have thought one of the format will be enough, but none of the two worked alone, so I will have to do some calculations to transpose the human friendly S01E04 style to the xmltv_ns one.

LH

It can come from any server. This was just an example XML which happened to come from HDHR, so it had links to their website.

this is where my English is not mature enough.

I meant, “must have come” or “came”.
In a meaning that the picture url is evidence that this attribute came from the HDHR and not from the Freeview service.

No, it’s not evidence of that.

OK, I agree.
But how high is the probability, that Freeview is inserting it in the general EPG stream for the HDHR receivers?
IMHO the other way around scenario where HDHR vendor is extending the local EPG file is more realistic, no matter from where the EPG originated.

Sorry I don’t understand what you are arguing about.
The EPG information doesn’t come “through the air” from whichever tv provider you are using. It is downloaded over the internet by the tv software. The software from which this sample came, is the tv software for the HDHR tuners. (They require a subscription fee to even let you access it.)
So the links in their EPG data will point to their servers.
If you acquire the EPG data from somewhere else or even generate it yourself, you insert whichever URL is available to you, which has the posters in a fitting format and size.

24 hours is free. You need the subscription for anything more than that.

:smiley:
I am not arguing, I just wanted to understand, never mind, I guess I understand now
It was just my ignorance, I didn’t look what exactly HDHR is.
My assumption was it’s a simple terrestrial or satellite or cable receiver where you get the EPG from the DVB-T2 or DVB-S2 or DVB-C stream.

anyway thanks for clarification :wink:

HDHR is an initialism for HDHomerun. I have an older version of their Connect Duo tuner.

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