home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
Make use of multiple categories when importing xmltv
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Peter Kjellerstedt" data-source="post: 1186587" data-attributes="member: 135885"><p>The XML data from <a href="http://xmltv.xmltv.se/" target="_blank">http://xmltv.xmltv.se/</a> typically contains multiple <category> tags per program. Here are two examples:</p><p></p><p>[code]</p><p> <category lang="en">Adventure/Fantasy/Animation/Comedy/Action/Family</category></p><p> <category lang="en">movie</category></p><p>[/code]</p><p></p><p>and:</p><p></p><p>[code]</p><p> <category lang="en">Comedy/Fantasy</category></p><p> <category lang="en">series</category></p><p>[/code]</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="Peter Kjellerstedt, post: 1186587, member: 135885"] The XML data from [URL]http://xmltv.xmltv.se/[/URL] typically contains multiple <category> tags per program. Here are two examples: [code] <category lang="en">Adventure/Fantasy/Animation/Comedy/Action/Family</category> <category lang="en">movie</category> [/code] and: [code] <category lang="en">Comedy/Fantasy</category> <category lang="en">series</category> [/code] 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. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
Make use of multiple categories when importing xmltv
Contact us
RSS
Top
Bottom