nyplayer 90 Posted February 1, 2021 Posted February 1, 2021 (edited) 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'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 February 1, 2021 by nyplayer
tmm1 5 Posted February 1, 2021 Posted February 1, 2021 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.
Luke 40077 Posted February 1, 2021 Posted February 1, 2021 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.
tmm1 5 Posted February 1, 2021 Posted February 1, 2021 Okay. That's the format used by Channels and HDHomeRun, so anyone using those XMLTV files will not get season/episode information inside Emby.
nyplayer 90 Posted February 1, 2021 Author Posted February 1, 2021 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.
tmm1 5 Posted February 2, 2021 Posted February 2, 2021 iceTV XML uses the following: <episode-num system="SxxExx">S05E13</episode-num> Do you support that?
Luke 40077 Posted February 8, 2021 Posted February 8, 2021 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. 1
briancampo 0 Posted February 15, 2021 Posted February 15, 2021 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.
jasonmcroy 315 Posted February 18, 2021 Posted February 18, 2021 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)
jasonmcroy 315 Posted February 18, 2021 Posted February 18, 2021 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.
Luke 40077 Posted February 18, 2021 Posted February 18, 2021 Ok yes I think there's something I missed. Please try the next build. Thanks.
jasonmcroy 315 Posted February 18, 2021 Posted February 18, 2021 Ok, thanks! At least I am not just going crazy! lol (well, maybe, but...)
Carlo 4552 Posted February 19, 2021 Posted February 19, 2021 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?
nyplayer 90 Posted March 1, 2021 Author Posted March 1, 2021 (edited) I tested the .29 build and it is still not parsing ... <episode-num system="onscreen">S24E110</episode-num> Edited March 1, 2021 by nyplayer
Luke 40077 Posted March 1, 2021 Posted March 1, 2021 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?
nyplayer 90 Posted March 1, 2021 Author Posted March 1, 2021 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>
jasonmcroy 315 Posted March 1, 2021 Posted March 1, 2021 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.
Luke 40077 Posted March 1, 2021 Posted March 1, 2021 They're not shown in the epg. Try clicking on the program.
jasonmcroy 315 Posted March 1, 2021 Posted March 1, 2021 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:
Luke 40077 Posted March 2, 2021 Posted March 2, 2021 As mentioned above, this is what was added support for: <episode-num system="SxxExx">S05E13</episode-num>
Carlo 4552 Posted March 2, 2021 Posted March 2, 2021 That would likely be the wrong format as it needs to parse this: <episode-num system="onscreen">S5E1</episode-num>
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now