For news you can try this <category>News</category>.
For movie you can try this <category>movie</category>
For series you can try this <category>series</category>
For sports you can try this <category>sports</category>
If you only use these few categories you never have the sub categories shown in Plex.
To modify it directly in WebGrabPlus you could use a lot of modifys in your ini for all your categories:
I’ve managed to change the categories in WebGrabPlus.
But I still don’t get the categories in Plex, everything goes to movies.
My xml looks like this:
<programme start="20170712200000 +0200" stop="20170712201500 +0200" channel="ARD ALPHA">
<title lang="de">Tagesschau</title>
<desc lang="de">Die beste Adresse um an tagesaktuelle Nachrichten und Information zu kommen. An 365 Tagen im Jahr rund um die Uhr aktualisiert bietet tagesschau.de die wichtigsten Nachrichten des Tages und zusätzliche Informationen in Text, Bild, Audio und Video, sowie umfassende Berichte und Hintergründe zu aktuellen Themen(n)</desc>
<date>2017</date>
<category lang="de">News</category>
<icon src="http://funke.images.dvbdata.com/1056561/1056561_500x333.jpg" />
</programme>
<programme start="20170712201500 +0200" stop="20170712210000 +0200" channel="ARD ALPHA">
<title lang="de">alpha-Forum: Karsten Schwanke</title>
<desc lang="de">Karsten Schwanke ist Meteorologe, Journalist und Moderator. Er moderierte u. a. "Das Wetter im Ersten", "Das Wetter im ARD-Morgenmagazin", "Wetter vor acht" und verschiedene Wissenssendungen. "Ich glaube, es war ein typisches Phänomen in der DDR, dass sich die Leute sehr, sehr stark für die Geografie interessiert haben, und dabei vor allem für den Teil der Welt, in den man leider nicht konnte. Ich konnte schon alle Hauptstädte der Welt auswendig herbeten, ebenso die längsten Flüsse, die höchsten Berge usw. Ich habe wirklich schon als kleiner Junge Atlanten regelrecht aufgefressen. Geografie war jedenfalls eines meiner Lieblingsfächer in der Schule. In der elften Klasse brachte eines Tages unsere Geografielehrerin Satellitenfotos mit: damals noch auf schwarzweißem Fotopapier! Denn sie kannte irgendwie privat einen Meteorologen vom meteorologischen Dienst der DDR. Das waren sehr große, auf Fotopapier gedruckte Satellitenfotos: Sie waren nicht wie heute beschriftet und es gab keine Ländergrenzen darauf zu sehen. Man sah einfach nur irgendwelche Wolken und irgendwelche Küstenlinien. Es hat mich absolut gepackt, sofort das Raten anzufangen: 'Wo ist das denn?' Über diese Satellitenfotos bin ich eigentlich erst darauf gestoßen, mir zu sagen: 'Oh, da gibt es ja eine Wissenschaft, bei der man sich mit dem Wetter, also mit Meteorologie beschäftigen kann.' Das fand ich spannend. Und ich bin dann ja noch zu DDR-Zeiten zur Meteorologie gekommen: Es hat mich damals total begeistert, dass es in der Meteorologie selbst in den Zeiten des Kalten Krieges in den 80er Jahren keine Grenzen gab." Karsten Schwanke(n)</desc>
<date>2014</date>
<category lang="de">Talkshow</category>
<icon src="http://images.klack.de/templates/klack/images/default_epg/default.jpg" />
</programme>
<programme start="20170712210000 +0200" stop="20170712214500 +0200" channel="ARD ALPHA">
<title lang="de">Sylt</title>
<title lang="xx">Sylt - Ausverkauf einer Luxusinsel</title>
<desc lang="de">Neubauten gibt es fast nur noch durch Investoren, die in der Nähe der letzten halbwegs ruhigen Strandabschnitte Luxusherbergen errichten. Ganz normale Häuser werden zu Preisen verkauft, die den Bestlagen Münchens oder Düsseldorfs entsprechen. Immer mehr Sylter finden keine bezahlbare Wohnung mehr und müssen die Insel verlassen. Das hat dramatische soziale Folgen: Die Sylter werden zu Dienstleistern von reichen Zweitwohnungsbesitzern in den Dörfern, die früher ihre Heimat waren. Die Kirche, die Kneipe und das Vereinsleben gibt es nicht mehr. Sogar Bildung wird zum Luxusgut. Während staatliche Schulen auf der Insel geschlossen werden, und die Kinder der wenigen noch auf der Insel lebenden Sylter weite Schulwege in Kauf nehmen müssen, wird ein neues Luxusinternat gebaut. Diese Art von Bildung werden sich die Sylter kaum leisten können(n)</desc>
<date>2012</date>
<category lang="de">Documentary</category>
<icon src="http://funke.images.dvbdata.com/4785925/4785925_500x333.jpg" />
</programme>
I don’t uderstand why it’s not working… Is there any documentation about the xml import in Plex?
Same problem as @BrianAz and it definitely recognizes the category because it shows up as a genre under Movies on the guide… it’s just ignoring the settings fields.
If anyone has a sample of an xmltv document that works it’d be helpful to see it
Edit: NVM adding any episode original air date (just used the air date since I don’t have that info from my provider) fixed it
While I can’t be 100% sure at the moment due to personal time constraints… I dug through my notes and I believe that the following are examples of a very small test XMLTV EPG I created where each type was properly sorted by category (Sports/News/Movie/Show) and appeared in the GUI mostly correct (except episode #/repeat detection).
<programme channel="someChannel1.labs.zap2it.com" start="20170725200000 -0400" stop="20170725220000 -0400">
<title lang="en">WWE SmackDown</title>
<desc lang="en">Some generic description here</desc>
<category lang="en">Sports</category>
<episode-num system="original-air-date"></episode-num>
</programme>
<programme channel="someChannel2.labs.zap2it.com" start="20170725150000 -0400" stop="20170725153000 -0400">
<title lang="en">ABC News</title>
<desc lang="en">Live across Australia, the latest from ABC News, following today's top stories and live coverage of events as they unfold. Plus comprehensive analysis and original reporting from ABC reporters around Australia and the world.</desc>
<category lang="en">News</category>
<episode-num system="original-air-date"></episode-num>
</programme>
<programme channel="someChannel3.labs.zap2it.com" start="20170726200000 -0400" stop="20170726220000 -0400">
<title lang="en"> A Sister's Secret</title>
<desc lang="en">When Katherine returns to her home town to save the family business, she encounters Jane, the woman whose twin brother Sean, committed suicide after Katherine ended their relationship. Jane still blames Katherine for her brother's death, and she seizes the chance punish Katherine.</desc>
</programme>
<programme channel="someChannel4.labs.zap2it.com" start="20170726231000 -0400" stop="20170726001000 -0400">
<title>Game of Thrones</title>
<desc>Daenerys receives an unexpected visitor.</desc>
<category>Show / Game show</category>
<episode-num system="original-air-date">2017-07-23</episode-num>
</programme>
We still have the issue of figuring out where to get proper values for episode-num. Only “original-air-date” and “xmltv_ns” appear to work. A lot of providers spit out “dd_progid” but as far as I can tell, Plex is not using/able to use that. Much like you, I wrote a script that modified the XML to have empty “original-air-date” as the episode-num system, except for movies to force things to work.
I’m hopeful that as this matures, there will be some additional documentation related to this to help us.
Edit: I believe I added the original air date to the Game of Thrones episode just to confirm that Plex would honor it if it was properly filled in (and it appeared to).
Any updates on this topic? Is that possible to get support from Plex team? I have the same issue. Tried to replace foreign language categories with plexip’s suggestions, but it still does not work. Everything is parsed as ‘Movies’
Ok, I’ve found out that xmltv_ns format of episode-num also fixes problem with Shows detection.
But there is still a problem with other kind of tv shows, like sport and music. They all are tracked as movies.
It would be much better if Plex built its EPG from the categories that it finds in the XMLTV file. That way the EPG will be much more intuitive and flexible.
Plex requires some sort of episode numbering in order to identify TV shows, this could either be the original-air-date (as IceTV has) or it could be some sort of episode / season numbering
Kind of an old thread, but I tried to convert the on-screen episode information with your lines of code with no success. Are still working if yes where exactly do they need to go? Thx
Edit: Got it solved by finding the right spot to insert your line of code
Just if someone is also interested in the solution, there is another “new” way of doing this, described by one of the fine people at the webgrabplus forums: http://www.webgrabplus.com/content/convert-onscreen-episode-numbers-xmltvns
Thank you, this “new way of doing this” saved me hours of coding and trying to understand the language of WebGrab++ (which i’ve been doing for the past 4 days).
I was importing everything into TVHeadEnd, but TVHeadEnd strips most of the information plex requires. Now, I’m still getting everything bundled under movies. Anybody made any progress with that?
I guess this behaviour is not due to tvh but simply how Plex categorises stuff. With xmltv, anything that is not recognised as a recurring TV show is a movie. Period. So I guess there is not much that you or I me can do about this. I wrote somewhere else that Plex seems to ignore the genre codes that you can put into the DVR settings, although I thought this might relate to my non-english xmltv file. Maybe this is a general issue.