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
Products
TV-Server
xmltv - Mapping of XML tags to MP2 fields?
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="pclemins" data-source="post: 1156605" data-attributes="member: 155634"><p>Let me see if I can lay out the problem with some more technical details. Here's a code snipet from the tvguide.xml that I imported using xmltv:</p><p></p><p><programme start="20151017210000 -0400" stop="20151017220000 -0400" channel="I3.1.44991.schedulesdirect.org"></p><p> <title lang="en">Code Black</title></p><p> <sub-title lang="en">Pre-Existing Conditions</sub-title></p><p> <desc lang="en">During a 36-hour shift, the doctors are faced with a distraught woman whose sons were in a devastating car accident; Mario makes Angus perform an unnecessary operation.</desc></p><p></p><p>Note the <sub-title> tag and that this xml was generated using mc2xml and schedules direct json.</p><p></p><p>Here's a snippet of what I modified (bolded here for emphasis) in my skin's ProgramInfoSlim.inc in C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SlimTv.Client\Skin\Titanium\screens</p><p></p><p> <Label Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" x:Name="Description" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"</p><p> Wrap="True" Scroll="Auto"</p><p> Content="{Binding Path=<strong>CurrentProgram.episodeName</strong>}"</p><p> Color="{ThemeResource TextColor}"/></p><p></p><p>And here's how it looks (below). Clearly, the skin modification is being read in as the description is gone, but CurrentProgram.EpisodeName returns no information, even though it's there in the schedule's direct XML in the sub-title tag. I tried it with capital and lower case .episodeName.</p><p></p><p>[ATTACH=full]170445[/ATTACH] </p><p></p><p>Does that better describe what I'm trying to do?</p><p></p><p>Thanks!</p><p>Pat</p></blockquote><p></p>
[QUOTE="pclemins, post: 1156605, member: 155634"] Let me see if I can lay out the problem with some more technical details. Here's a code snipet from the tvguide.xml that I imported using xmltv: <programme start="20151017210000 -0400" stop="20151017220000 -0400" channel="I3.1.44991.schedulesdirect.org"> <title lang="en">Code Black</title> <sub-title lang="en">Pre-Existing Conditions</sub-title> <desc lang="en">During a 36-hour shift, the doctors are faced with a distraught woman whose sons were in a devastating car accident; Mario makes Angus perform an unnecessary operation.</desc> Note the <sub-title> tag and that this xml was generated using mc2xml and schedules direct json. Here's a snippet of what I modified (bolded here for emphasis) in my skin's ProgramInfoSlim.inc in C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SlimTv.Client\Skin\Titanium\screens <Label Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" x:Name="Description" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Wrap="True" Scroll="Auto" Content="{Binding Path=[B]CurrentProgram.episodeName[/B]}" Color="{ThemeResource TextColor}"/> And here's how it looks (below). Clearly, the skin modification is being read in as the description is gone, but CurrentProgram.EpisodeName returns no information, even though it's there in the schedule's direct XML in the sub-title tag. I tried it with capital and lower case .episodeName. [ATTACH=full]170445[/ATTACH] Does that better describe what I'm trying to do? Thanks! Pat [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
xmltv - Mapping of XML tags to MP2 fields?
Contact us
RSS
Top
Bottom