[Pending] Make use of multiple categories when importing xmltv (1 Viewer)

Peter Kjellerstedt

Portal Member
January 12, 2013
Lund, Sweden
Sweden Sweden
The XML data from http://xmltv.xmltv.se/ typically contains multiple <category> tags per program. Here are two examples:

  <category lang="en">Adventure/Fantasy/Animation/Comedy/Action/Family</category>
  <category lang="en">movie</category>

  <category lang="en">Comedy/Fantasy</category>
  <category lang="en">series</category>
The first tag makes it possible to categorize the program based on its contents, but as can be seen from the above examples, to be able to determine whether the program is a movie or a series, the second tag is needed as well. Currently, MediaPortal only cares about the first <category> tag it finds for a program. The attached patch makes it concatenate all <category> tags using slashes, thereby making it possible to do categorization based on all available information.


Users who are viewing this thread

Similar threads
OP Title Forum Replies Date
R 1.27.0 Issue with multiple channels with the same name. MediaPortal 1 Talk 2
horned_reaper [solved] HID commands are not processed when multiple applications with HID support are open General Support 16
J Multiple IPTV channels TV-Server 2
johns11 Multiple programs responding to IR commands since upgrade from 1.12 Remotes 3
D [solved] Multiple issues with new MP2.2.1 install 2.2 Archive 7
cbr954rr EPG Genre map categories do not match tv server categories General 4
cbr954rr Rename epg-genre category General 5
K MP2 - V2.3.2 media import General 9
raffe [solved] [Solved] How to import TV series Videos Not in any online source? General 8
S How to import the show "20/20"? My TVSeries 3
B Importing recordings and schedules from TVmosaic General 4
D some songs on y albums don't import General 1
M Importer splitting Season XXX into two parts. General 0
J movie Importer isn't as good at MP1 Moving Pictures General 4
R Deadlock in TV Server if recording while importing EPG TV-Server 10
W MP2 - V2.3 MP2 2.3 Import von Audioquellen / Datenbankprobleme Allgemeines Support- und Diskussionsforum 26
D [solved] Movie library import stuck on 23% General 2
cbr954rr Clickfinder epg import wrong channels? General 0
L TV-Series unvollständiger Import Plugins & Erweiterungen 5
toricred Using TMM, How to Stop Importer From Going to The Movie Database for Data General 1
Lichloathe MP2 importing keyart instead of poster General 0
P Recordings not showing up unless re-imported and not possible to delete General 0
C Importer works super slow My TVSeries 6
C Imported media doesn't show up immediately? General 1
X Recording import hängt Allgemeines Support- und Diskussionsforum 0

Similar threads

Top Bottom