Jump to content

Parse XML from Channels DVR ....


nyplayer
 Share

Go to solution Solved by redlozenge,

Recommended Posts

nyplayer

Is It possible to be able to Parse Season episode from the Channels DVR XML ??

 

 

Sample below ...

<programme start="20210206060000 +0000" stop="20210206070000 +0000" channel="6.1">
    <title>Blue Bloods</title>
    <sub-title>The New Normal</sub-title>
    <desc>Frank deals with a police captain who&#39;s losing his grip over his precinct.</desc>
    <category>Episode</category>
    <category>Series</category>
    <category>Crime drama</category>
    <icon src="https://tmsimg.fancybits.co/assets/p19076298_b_h6_ac.jpg"></icon>
    <series-id system="tms">8130493</series-id>
    <date>20210205</date>
    <episode-num system="tms">EP012801050224</episode-num>
    <episode-num system="onscreen">S11E6</episode-num>
    <new></new>
    <credits>
      <director>David Barrett</director>
      <actor>Tom Selleck</actor>
      <actor>Donnie Wahlberg</actor>
      <actor>Bridget Moynahan</actor>
    </credits>
  </programme>
<programme start="20210201150000 +0000" stop="20210201170000 +0000" channel="2.1">
    <title>Good Morning America</title>
    <desc>Actress Zendaya; actress Alyson Hannigan.</desc>
    <category>Episode</category>
    <category>Series</category>
    <category>Talk</category>
    <category>News</category>
    <icon src="http://tmsimg.fancybits.co/assets/p184220_b_h6_ad.jpg"></icon>
    <series-id system="tms">184220</series-id>
    <date>20210201</date>
    <episode-num system="tms">EP000018939297</episode-num>
    <episode-num system="onscreen">S2021E38</episode-num>
    <new></new>
    <credits>
      <actor>George Stephanopoulos</actor>
      <actor>Robin Roberts</actor>
      <actor>Michael Strahan</actor>
    </credits>
  </programme>

 

Movie XML Below

 <programme start="20210201180000 +0000" stop="20210201200000 +0000" channel="2.3">
    <title>Exterminators of the Year 3000 (1984)</title>
    <desc>Men (Robert Jannucci, Alan Collins), woman (Alicia Moro) and bionic boy fight bikers for water.</desc>
    <category>Movie</category>
    <category>Feature Film</category>
    <category>Science fiction</category>
    <icon src="https://tmsimg.fancybits.co/assets/p45193_v_v7_aa.jpg"></icon>
    <date>19840101</date>
    <episode-num system="tms">MV000169620000</episode-num>
    <credits>
      <director>Jules Harrison</director>
      <actor>Robert Jannucci</actor>
      <actor>Alicia Moro</actor>
      <actor>Alan Collins</actor>
    </credits>
  </programme>

 

Edited by nyplayer
Link to comment
Share on other sites

1 hour ago, nyplayer said:

<episode-num system="onscreen">S11E6</episode-num>

This specifically is not being parsed correctly. The HDHomeRun XMLTV service also uses the same format.

Link to comment
Share on other sites

We don't parse that at all. system=onscreen means it is free-form text with no standardization and is not intended to be parsed.

Link to comment
Share on other sites

Okay. That's the format used by Channels and HDHomeRun, so anyone using those XMLTV files will not get season/episode information inside Emby.

Link to comment
Share on other sites

nyplayer
22 minutes ago, Luke said:

We don't parse that at all. system=onscreen means it is free-form text with no standardization and is not intended to be parsed.

I gave the same XML to SUB from NEXTPVR and he had no problem parsing it so that Season and Episode appear correctly on the recording when using that XML.

Link to comment
Share on other sites

On 2/2/2021 at 11:55 AM, tmm1 said:

iceTV XML uses the following:

    <episode-num system="SxxExx">S05E13</episode-num>

Do you support that?

Hi, no, we're currently skipping this one, but I'll add support for this in Emby Server 4.6. Thanks.

  • Thanks 1
Link to comment
Share on other sites

briancampo

Any chance this (the ChannelsDVR xml format) has made it into the 4.6 beta that is currently available?  Am contemplating jumping onto it and if this is included it would make it an easy choice.   

Recording live TV has made my series folders pretty messy since Emby does not know the season or episode numbers, it just puts them in the root of the show folder. 

Link to comment
Share on other sites

jasonmcroy

Hi @Luke - I know you mentioned that this would be in the next Beta and I see it listed in the change notes as being included, however, I am still not seeing any season or episode information in the Channels DVR XML file yet. Was this included in the last Beta? (Version 4.6.0.26)

Link to comment
Share on other sites

jasonmcroy

Thanks. That is the first thing I did. Since then I have deleted the lineup and re-added it, restarted the server, refreshed the browser and it still doesn't show for me.

I also tried viewing the guide from my Android device but it doesn't show there either.

Link to comment
Share on other sites

15 hours ago, Luke said:

Ok yes I think there's something I missed. Please try the next build. Thanks.

Will that be .27 or later build?

Link to comment
Share on other sites

  • 2 weeks later...
nyplayer

I tested the .29 build and it is still not parsing ...

<episode-num system="onscreen">S24E110</episode-num>

 

Edited by nyplayer
Link to comment
Share on other sites

6 minutes ago, nyplayer said:

I tested the .29 build and it is still not parsing ...

<episode-num system="onscreen">S24E110</episode-num>

 

Hi, what does "not parsing" mean?

Link to comment
Share on other sites

nyplayer

I though that was being added to parse guide data from channels DVR ... The Season and Episode are not correct in recordings. Emby is creating files like this see below. See the XML from Channels DVR also below.

Matlock 2021_03_01_10_00_00 - The Mother.ts

 

<programme start="20210301180000 +0000" stop="20210301190000 +0000" channel="2.2">
    <title>Matlock</title>
    <sub-title>The Mother</sub-title>
    <desc>A secretary is accused of killing her boss.</desc>
    <category>Episode</category>
    <category>Series</category>
    <category>Drama</category>
    <category>Mystery</category>
    <icon src="http://tmsimg.fancybits.co/assets/p184228_b_h6_ac.jpg"></icon>
    <series-id system="tms">184228</series-id>
    <date>19900918</date>
    <episode-num system="tms">EP000028290088</episode-num>
    <episode-num system="onscreen">S5E1</episode-num>
    <credits>
      <director>Robert Scheerer</director>
      <actor>Andy Griffith</actor>
      <actor>Nancy Stafford</actor>
      <actor>Julie Sommars</actor>
    </credits>
  </programme>

 

Link to comment
Share on other sites

jasonmcroy

Supposedly this was to be included in this last Beta but wasn't and is supposed to be in the next Beta but I haven't seen a new Beta since .29. 

What he means by "not parsing" is the guide doesn't show Season 01, episode 02 using XML for the guide vs. using Emby's.

Link to comment
Share on other sites

jasonmcroy

Ok, sorry, I meant when you select the program in the guide. I know it doesn't show in the guide itself.

Anyway, it doesn't give you that information when you select a program in the guide using XML for guide data. The capability is there but Emby doesn't parse it. Earlier in this thread you said it would be in the next Beta (.29) however, it wasn't included and you said it would then be in the next Beta which hasn't come out yet. I was just answering your question to the poster about what does "not parsing" mean? 

 

Here is a screen shot:

 

Screenshot 2021-03-01 153155.png

Link to comment
Share on other sites

As mentioned above, this is what was added support for:

<episode-num system="SxxExx">S05E13</episode-num>

 

Link to comment
Share on other sites

That would likely be the wrong format as it needs to parse this:

<episode-num system="onscreen">S5E1</episode-num>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...