Is it possible to get MLB games to show as the title instead of subtitle when using TVPassport ini?
Example:
<programme start="20170416131000 -0400" stop="20170416161000 -0400" channel="MLB Extra Innings 1">
<title lang="en">Baseball</title>
<sub-title lang="en">Detroit Tigers vs. Cleveland Indians</sub-title>
<desc lang="en">Baseball</desc>
<category lang="en">Sports</category>
<category lang="en">Baseball</category>
<rating system="US">
<value>TVG</value>
</rating>
</programme>
If this isn't something that can be done easily to work with non MLB channels too could you advise of a way to swap this around post process or possibly a duplicate ini I could use for just MLB channels?
Much appreciated, I completely misunderstood the purpose of that tool when I read up on it, makes sense now, many thanks.
Got stuck at the first hurdle...
My REX:
<settings>
<filename>C:\REXresult.xml</filename>
<title>'subtitle'</title>
<sub-title>'description'</sub-title>
</settings>
This is to change:
<programme start="20170427131000 -0400" stop="20170427161000 -0400" channel="MLB Extra Innings 1">
<title lang="en">Baseball</title>
<sub-title lang="en">Seattle Mariners vs. Detroit Tigers</sub-title>
<desc lang="en">Baseball</desc>
<category lang="en">Sports</category>
</programme>
To:
<programme start="20170427131000 -0400" stop="20170427161000 -0400" channel="MLB Extra Innings 1">
<title lang="en">Seattle Mariners vs. Detroit Tigers</title>
<sub-title lang="en">Baseball</sub-title>
<desc lang="en">Baseball</desc>
<category lang="en">Sports</category>
</programme>
Unfortunately this rule applies to the whole of my guide xml & not just the MLB channels.
I see you can link REX to certain elements like "'subtitle(, )'", is it possible to use a keyword here instead like Baseball or is there a better method to only run REX on certain channels?
What i did for MLB was make change in site ini and set the title to subtitle and subtitle to title so it would show the teams as the title and show baseball as subtitle
index_title.modify {substring(type=regex)|'index_temp_4' "<st>([^<]*)"}
index_subtitle.modify {substring(type=regex)|'index_temp_4' "<t>([^<]*)"}
Worked fine for my MLB EPG
You Sir, are the real MVP! Thanks!
Finally got round to trying this, I'm not getting it! Could you share the block of text this appears in so I can understand it clearly? (sorry)